4 #include <libubox/uloop.h>
5 #include <libubox/utils.h>
9 #define __init __attribute__((constructor))
11 #define DPRINTF(fmt, ...) do { \
13 fprintf(stderr, "DEBUG %s(%d): " fmt, __func__, __LINE__, ## __VA_ARGS__); \
16 #define DEBUG(level, fmt, ...) do { \
18 fprintf(stderr, "DEBUG %s(%d): " fmt, __func__, __LINE__, ## __VA_ARGS__); \
22 extern char *ubus_socket;
23 void procd_connect_ubus(void);
24 void procd_init_service(struct ubus_context *ctx);