summaryrefslogtreecommitdiffstats
path: root/src/utils-jbus.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-03-15 10:23:04 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2016-03-15 10:23:04 +0100
commit36fad0e97eb67febcf91b55d0cc432897d477965 (patch)
tree405ec8c119c8f22c486268e01dc0bb797d3f88c3 /src/utils-jbus.h
parent9c6132dd0bfaca8edae84906ad70a6205b5ba42f (diff)
utils-jbus: improved tokenizing and creation
Change-Id: Ia0eb45a0cfb8810e41239b52f7f0b7b7d56655a5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/utils-jbus.h')
-rw-r--r--src/utils-jbus.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/utils-jbus.h b/src/utils-jbus.h
index 3b6ec75..973c158 100644
--- a/src/utils-jbus.h
+++ b/src/utils-jbus.h
@@ -20,7 +20,10 @@
struct jreq;
struct jbus;
-extern struct jbus *create_jbus(int session, const char *path);
+extern struct jbus *create_jbus(const char *path, int session);
+extern struct jbus *create_jbus_session(const char *path);
+extern struct jbus *create_jbus_system(const char *path);
+
extern void jbus_addref(struct jbus *jbus);
extern void jbus_unref(struct jbus *jbus);