+#define LOG_BUF_SIZE 256
+
+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 dir_fd;
+
+ struct ustream_fd log;
+ const char *log_prefix;
+ bool log_overflow;
+};
+
+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);