summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-05-30 16:28:21 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-05-30 16:28:21 +0200
commit52384789f904e7ebbfb901e15cc62521c9b9468f (patch)
tree4477e077a5b178c1e509103fef31d86557b6aed2
parent5254a884edde7a8e786d3fde925db4adf3579d21 (diff)
fix comments
Change-Id: I6a3b2df272a1c88c530fd229ba612ee30160e3cc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/afb-hook.c6
-rw-r--r--src/afb-hook.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/afb-hook.c b/src/afb-hook.c
index 5786f194..bc33c493 100644
--- a/src/afb-hook.c
+++ b/src/afb-hook.c
@@ -334,7 +334,7 @@ int afb_hook_xreq_subcallsync_result(const struct afb_xreq *xreq, int status, st
}
/******************************************************************************
- * section:
+ * section: hooking xreqs
*****************************************************************************/
void afb_hook_init_xreq(struct afb_xreq *xreq)
@@ -561,7 +561,7 @@ static struct afb_hook_ditf_itf hook_ditf_default_itf = {
};
/******************************************************************************
- * section: hooks for tracing requests
+ * section: hooks for tracing daemon interface (ditf)
*****************************************************************************/
#define _HOOK_DITF_(what,...) \
@@ -637,7 +637,7 @@ int afb_hook_ditf_queue_job(const struct afb_ditf *ditf, void (*callback)(int si
}
/******************************************************************************
- * section:
+ * section: hooking ditf
*****************************************************************************/
int afb_hook_flags_ditf(const char *api)
diff --git a/src/afb-hook.h b/src/afb-hook.h
index 85361a68..2447556c 100644
--- a/src/afb-hook.h
+++ b/src/afb-hook.h
@@ -120,7 +120,7 @@ extern void afb_hook_xreq_subcallsync(const struct afb_xreq *xreq, const char *a
extern int afb_hook_xreq_subcallsync_result(const struct afb_xreq *xreq, int status, struct json_object *result);
/*********************************************************
-* section hooking ditf
+* section hooking ditf (daemon interface)
*********************************************************/
#define afb_hook_flag_ditf_vverbose 0x000001