diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-15 17:00:24 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-15 17:14:45 +0200 |
commit | 745016bc4a0c143296861d6a322042f217467e28 (patch) | |
tree | d9f393c69c9b8f29cd7d02a239e59159ab240124 /netifd.h | |
parent | 3216a341221f9b0b2901f6489c77888c1a9e192c (diff) |
keep track of all running child processes in one place
Diffstat (limited to 'netifd.h')
-rw-r--r-- | netifd.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -48,6 +48,15 @@ static inline void no_debug(int level, const char *fmt, ...) { } +struct netifd_process { + struct list_head list; + struct uloop_process uloop; + void (*cb)(struct netifd_process *, int ret); +}; + +int netifd_start_process(const char **argv, char **env, int dir_fd, struct netifd_process *proc); +void netifd_kill_process(struct netifd_process *proc); + struct device; struct interface; |