daemon/conf.h
2022-01-13 19:18:43 +08:00

23 lines
409 B
C

#ifndef CONF_H
#define CONF_H
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
typedef struct conf {
char *PROCESS;
char *PROCESS_name, *PROCESS_command;
int PROCESS_len, PROCESS_name_len, PROCESS_command_len;
struct conf *next;
} conf;
extern conf *conf_head;
extern void read_conf_link(char *path);
extern void free_conf(conf *p);
extern void print_conf(conf *p);
#endif