summaryrefslogtreecommitdiffstats
path: root/include/afb/afb-daemon-common.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-06-02 16:32:44 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-06-02 17:05:37 +0200
commitc6380108964e71f533d8c672bb9c217020a95e8d (patch)
tree2b3678d53bee7e55ef8befe113fd7e8744067875 /include/afb/afb-daemon-common.h
parentd3c80685ed6067f4899635c0328bbd8b70a2ed90 (diff)
Provide efficient store/unstore for afb_req
Change-Id: I231e2506f58227fb8d192df042539b1551a765c5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb/afb-daemon-common.h')
-rw-r--r--include/afb/afb-daemon-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/afb/afb-daemon-common.h b/include/afb/afb-daemon-common.h
index e1308d6d..d3d1b3d3 100644
--- a/include/afb/afb-daemon-common.h
+++ b/include/afb/afb-daemon-common.h
@@ -22,6 +22,8 @@
/* declaration of features of libsystemd */
struct sd_event;
struct sd_bus;
+struct afb_stored_req;
+struct afb_req;
/*
* Definition of the facilities provided by the daemon.
@@ -38,6 +40,7 @@ struct afb_daemon_itf
int (*rootdir_open_locale)(void *closure, const char *filename, int flags, const char *locale);
int (*queue_job)(void *closure, void (*callback)(int signum, void *arg), void *argument, void *group, int timeout);
void (*vverbose_v2)(void*closure, int level, const char *file, int line, const char * func, const char *fmt, va_list args);
+ struct afb_req (*unstore_req)(void*closure, struct afb_stored_req *sreq);
};
/*