summaryrefslogtreecommitdiffhomepage
path: root/ubus.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-10-21 20:15:31 +0200
committerFelix Fietkau <nbd@openwrt.org>2013-11-29 14:52:01 +0100
commitfbb4a83633fd935748dd3c26d4fc28821db71cdd (patch)
tree16e1630b408dac7214bf8ec871720a68f06d977c /ubus.h
parent2eaffc0ed137595784d19edf17e517c320cbf264 (diff)
add initial support for handling wireless devices via scripts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'ubus.h')
-rw-r--r--ubus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ubus.h b/ubus.h
index 553faef..5419622 100644
--- a/ubus.h
+++ b/ubus.h
@@ -14,6 +14,8 @@
#ifndef __NETIFD_UBUS_H
#define __NETIFD_UBUS_H
+extern struct ubus_context *ubus_ctx;
+
int netifd_ubus_init(const char *path);
void netifd_ubus_done(void);
void netifd_ubus_add_interface(struct interface *iface);