1 #ifndef __UBUS_COMMON_H
2 #define __UBUS_COMMON_H
4 #define UBUS_UNIX_SOCKET "/var/run/ubus.sock"
6 #define UBUS_SIGNATURE_METHOD (BLOBMSG_TYPE_LAST + 1)
7 #define UBUS_SIGNATURE_END (BLOBMSG_TYPE_LAST + 2)
10 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
13 #define __init __attribute__((constructor))