+struct netifd_process {
+ struct list_head list;
+ struct uloop_process uloop;
+ void (*cb)(struct netifd_process *, int ret);
+ int dir_fd;
+
+ struct ustream_fd log;
+ const char *log_prefix;
+ bool log_overflow;
+};
+
+void netifd_udebug_printf(const char *format, ...);
+void netifd_udebug_config(struct udebug_ubus *ctx, struct blob_attr *data,
+ bool enabled);
+void netifd_log_message(int priority, const char *format, ...);
+
+int netifd_start_process(const char **argv, char **env, struct netifd_process *proc);
+void netifd_kill_process(struct netifd_process *proc);
+