X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=netifd.h;h=916b79e5b6ae2973395a4b3049a8b05cf5877061;hp=771bcea69c21336e3b6598930c0439b447c944de;hb=275a09d6c5ca1c1b03cfc74a5f856c7304adc80c;hpb=1f8dc227cdd425f1313f564fd074c614bb1954a3 diff --git a/netifd.h b/netifd.h index 771bcea..916b79e 100644 --- a/netifd.h +++ b/netifd.h @@ -7,25 +7,15 @@ #include #include -#include #include #include -#include -#ifdef DEBUG -#define DPRINTF(format, ...) fprintf(stderr, "%s(%d): " format, __func__, __LINE__, ## __VA_ARGS__) -#else -#define DPRINTF(...) do {} while(0) -#endif +#include "utils.h" 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); +void netifd_restart(void); #endif