summaryrefslogtreecommitdiffstats
path: root/src/afb-xreq.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/afb-xreq.h')
-rw-r--r--src/afb-xreq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afb-xreq.h b/src/afb-xreq.h
index 270de1bb..da966a44 100644
--- a/src/afb-xreq.h
+++ b/src/afb-xreq.h
@@ -55,8 +55,10 @@ struct afb_xreq
const struct afb_xreq_query_itf *queryitf; /**< interface of xreq implementation functions */
int refcount; /**< current ref count */
int replied; /**< is replied? */
+#if WITH_AFB_HOOK
int hookflags; /**< flags for hooking */
int hookindex; /**< hook index of the request if hooked */
+#endif
struct afb_evt_listener *listener; /**< event listener for the request */
struct afb_cred *cred; /**< client credential if revelant */
struct afb_xreq *caller; /**< caller request if any */