12345678910111213141516 |
- #ifndef __PROCD_H
- #define __PROCD_H
- #include <libubox/uloop.h>
- #include <stdio.h>
- #define DPRINTF(fmt, ...) do { \
- if (debug) \
- fprintf(stderr, "DEBUG %s(%d): " fmt, __func__, __LINE__, ## __VA_ARGS__); \
- } while (0)
- extern int debug;
- extern char *ubus_socket;
- void procd_connect_ubus(void);
- #endif
|