summaryrefslogtreecommitdiffstats
path: root/src/afb-hreq.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-05-24 17:19:46 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-05-24 17:19:46 +0200
commitece754d98ecf9f5b81f5a6e002ee7ea2289a75bb (patch)
tree14b72ec129d884eea283722eb50aab53f718e91e /src/afb-hreq.h
parent01576506d6d6fbfdbea9f4a0b17f0655b721c108 (diff)
improves comments
Change-Id: I6ddde79307b40c33ffd0208fe72ef84626c47cac Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-hreq.h')
-rw-r--r--src/afb-hreq.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/afb-hreq.h b/src/afb-hreq.h
index d4041d76..8e12b62d 100644
--- a/src/afb-hreq.h
+++ b/src/afb-hreq.h
@@ -23,6 +23,10 @@ struct hreq_data;
struct afb_hsrv;
struct afb_hreq {
+ /*
+ * CAUTION: 'context' field should be the first because there
+ * is an implicit convertion to struct afb_context
+ */
struct afb_context context;
int refcount;
struct afb_hsrv *hsrv;