X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=netifd.h;h=5eeb5e25b291be5317151c496c78b2b62d96ede9;hp=d034e7aef1e6018c6d5dd66d8a3491e44b145d59;hb=745016bc4a0c143296861d6a322042f217467e28;hpb=3216a341221f9b0b2901f6489c77888c1a9e192c diff --git a/netifd.h b/netifd.h index d034e7a..5eeb5e2 100644 --- a/netifd.h +++ b/netifd.h @@ -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;