fix comments
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 30 May 2017 14:28:21 +0000 (16:28 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 30 May 2017 14:28:21 +0000 (16:28 +0200)
Change-Id: I6a3b2df272a1c88c530fd229ba612ee30160e3cc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-hook.c
src/afb-hook.h

index 5786f19..bc33c49 100644 (file)
@@ -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)
index 85361a6..2447556 100644 (file)
@@ -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