容器化的无污染DNS服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
493 B

#ifndef SYSTEM_H_
#define SYSTEM_H_
#include <stdint.h>
char* read_file(const char *file);
void remove_file(const char *file);
int run_command(const char *command);
void create_folder(const char *folder);
uint8_t is_file_exist(const char *file);
void save_file(const char *file, const char *content);
void download_file(const char *file, const char *url);
void save_string_list(const char *file, char **string_list);
void file_append(const char *base_file, const char *append_file);
#endif