summaryrefslogtreecommitdiff
path: root/procd.h
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-12-21 21:51:01 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-02-07 23:34:14 +0000
commit08938fe1cbc06eeaafa39448057368391d165272 (patch)
treea5ab5dfd420af5f0a3195a8250f79ab4c6bbc089 /procd.h
parentfd183797bc527a160958a5dee6b5af35646ccc6b (diff)
downloadprocd-08938fe1cbc06eeaafa39448057368391d165272.tar.gz
procd: add hotplug-call dispatcher
Add hotplug-call dispatcher ubus objects for each subsystem. This will allow more services to run non-root and without excessive permissions while still being able to trigger (asynchronous) hotplug events. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'procd.h')
-rw-r--r--procd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/procd.h b/procd.h
index 5aa3aea..caaf3e4 100644
--- a/procd.h
+++ b/procd.h
@@ -30,6 +30,7 @@ extern char *ubus_socket;
void procd_connect_ubus(void);
void procd_reconnect_ubus(int reconnect);
+void ubus_init_hotplug(struct ubus_context *ctx);
void ubus_init_service(struct ubus_context *ctx);
void ubus_init_system(struct ubus_context *ctx);