daemon/conf.h

23 lines
409 B
C
Raw Normal View History

2021-12-11 13:20:06 +08:00
#ifndef CONF_H
#define CONF_H
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
typedef struct conf {
char *PROCESS;
2022-01-13 19:18:43 +08:00
char *PROCESS_name, *PROCESS_command;
int PROCESS_len, PROCESS_name_len, PROCESS_command_len;
2021-12-11 13:20:06 +08:00
struct conf *next;
} conf;
extern conf *conf_head;
extern void read_conf_link(char *path);
2022-01-13 19:18:43 +08:00
extern void free_conf(conf *p);
extern void print_conf(conf *p);
2021-12-11 13:20:06 +08:00
#endif