mirror of https://github.com/dnomd343/ClearDNS
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.
17 lines
341 B
17 lines
341 B
#ifndef _PROCESS_H_
|
|
#define _PROCESS_H_
|
|
|
|
//void server_daemon();
|
|
//void init_server(char *init_script, char *custom_script);
|
|
|
|
typedef struct {
|
|
char *name;
|
|
char **cmd;
|
|
char **env;
|
|
char *cwd;
|
|
} process;
|
|
|
|
void process_add_arg(process *proc, const char *arg);
|
|
process* process_init(const char *caption, const char *bin);
|
|
|
|
#endif
|
|
|