aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-ws-json1.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-06-30 17:16:39 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-06-30 18:01:58 +0200
commitd3cb597b2161a4a7c5494cb570e47b082a80c316 (patch)
treefb2628eb71034bc93cd91eb59c46ba18bf57681b /src/afb-ws-json1.h
parent5caedfc3ca929d8033a4762ecbed92308111b910 (diff)
afb-ws-json1: expose addref/unref functions
Change-Id: Ie264540d20e3a7afbbf2cd16cd54508d07f35034
Diffstat (limited to 'src/afb-ws-json1.h')
-rw-r--r--src/afb-ws-json1.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afb-ws-json1.h b/src/afb-ws-json1.h
index 335ca608..96db1bc6 100644
--- a/src/afb-ws-json1.h
+++ b/src/afb-ws-json1.h
@@ -22,4 +22,6 @@ struct afb_context;
struct afb_apiset;
extern struct afb_ws_json1 *afb_ws_json1_create(int fd, struct afb_apiset *apiset, struct afb_context *context, void (*cleanup)(void*), void *closure);
+extern struct afb_ws_json1 *afb_ws_json1_addref(struct afb_ws_json1 *ws);
+extern void afb_ws_json1_unref(struct afb_ws_json1 *ws);