Home
last modified time | relevance | path

Searched refs:command_t (Results 1 – 5 of 5) sorted by relevance

/dflybsd-src/sbin/svc/
H A Dsvc.h107 } command_t; typedef
121 int process_cmd(command_t *cmd, FILE *fp, int ac, char **av);
122 int execute_cmd(command_t *cmd);
123 void free_cmd(command_t *cmd);
130 int setup_pid_and_socket(command_t *cmd, int *lfdp, int *pfdp);
131 void remove_pid_and_socket(command_t *cmd, const char *label);
133 void remote_execute(command_t *cmd, const char *label);
134 void remote_listener(command_t *cmd, int lfd);
137 int execute_init(command_t *cmd);
138 int execute_start(command_t *cmd);
[all …]
H A Dexecute.c45 command_t *InitCmd;
49 static void setstate_stopped(command_t *cmd, struct timespec *ts);
50 static int setup_gid(command_t *cmd);
51 static int setup_uid(command_t *cmd);
52 static int setup_jail(command_t *cmd);
53 static int setup_chroot(command_t *cmd);
54 static int setup_devfs(command_t *cmd, const char *dir, int domount);
58 execute_init(command_t *cmd) in execute_init()
425 execute_start(command_t *cmd) in execute_start()
487 execute_restart(command_t *cmd) in execute_restart()
[all …]
H A Dsvc.c44 static int execute_remote(command_t *cmd, int (*func)(command_t *cmd));
45 static int process_jailspec(command_t *cmd, const char *spec);
50 command_t cmd; in main()
66 process_cmd(command_t *cmd, FILE *fp, int ac, char **av) in process_cmd()
276 execute_cmd(command_t *cmd) in execute_cmd()
357 execute_remote(command_t *cmd, int (*func)(command_t *cmd)) in execute_remote()
432 free_cmd(command_t *cmd) in free_cmd()
465 process_jailspec(command_t *cmd, const char *spec) in process_jailspec()
H A Dremote.c42 command_t *cmd;
55 static void remote_issue(connect_t *conn, command_t *cmd);
70 remote_execute(command_t *cmd, const char *label) in remote_execute()
92 command_t *cmd; in remote_connect_thread()
210 remote_listener(command_t *cmd, int lfd) in remote_listener()
258 command_t cmd; in remote_accepted_thread()
303 remote_issue(connect_t *conn, command_t *cmd) in remote_issue()
H A Dsubs.c102 setup_pid_and_socket(command_t *cmd, int *lfdp, int *pfdp) in setup_pid_and_socket()
168 remove_pid_and_socket(command_t *cmd, const char *label) in remove_pid_and_socket()