daemon/main.h

21 lines
366 B
C
Raw Normal View History

2021-12-11 13:20:06 +08:00
#ifndef MAIN_H
#define MAIN_H
2020-09-11 16:40:25 +08:00
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <dirent.h>
#include <time.h>
2021-12-11 13:20:06 +08:00
#define PATH_SIZE 2700
#define CACHE_SIZE 2700
2020-09-11 16:40:25 +08:00
FILE *_popen(const char *cmdstring, const char *type);
int _pclose(FILE * fp);
2021-12-11 13:20:06 +08:00
int8_t copy_new_mem(char *src, int src_len, char **dest);
#endif