X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=netifd.h;h=b70b73c435b799abecb10df4de6189b701f3237a;hb=fd4efb1bbfe5a502a802f43871cfae9944c8d75f;hp=17b839b722fb133abd3963ca20856a6e98012d88;hpb=aa76c9ee78146f97512f96524d3abb94210040a5;p=project%2Fnetifd.git diff --git a/netifd.h b/netifd.h index 17b839b..b70b73c 100644 --- a/netifd.h +++ b/netifd.h @@ -19,11 +19,15 @@ #define DPRINTF(...) do {} while(0) #endif +#define __init __attribute__((constructor)) + struct device; struct interface; extern struct uci_context *uci_ctx; +extern bool config_init; +int avl_strcmp(const void *k1, const void *k2, void *ptr); void config_init_interfaces(const char *name); #endif