X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=netifd.h;h=be29b3cc8c213e5cb984b4c63197f81c9910b89a;hb=9f43c03dd8632f14c190fcb5afcd465740f555d9;hp=771bcea69c21336e3b6598930c0439b447c944de;hpb=1f8dc227cdd425f1313f564fd074c614bb1954a3;p=project%2Fnetifd.git diff --git a/netifd.h b/netifd.h index 771bcea..be29b3c 100644 --- a/netifd.h +++ b/netifd.h @@ -7,25 +7,16 @@ #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); +extern const char *main_path; +void netifd_restart(void); #endif