aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-api.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-01-31 14:52:08 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2018-01-31 14:57:21 +0100
commit3535d4cb73628c720da1bf74627ded2aec6f2ca1 (patch)
tree2d73036739d0bbc9877131548b156640c9676fb5 /src/afb-api.h
parent379b11154f301a30e79154c0af1ef1f257149efa (diff)
afb-api: Enforce api names to be hookable
Change-Id: Ic1d5cb208c636d3261e1a96c4a81b488cb84a60e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-api.h')
-rw-r--r--src/afb-api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-api.h b/src/afb-api.h
index a9de8434..ff1bc108 100644
--- a/src/afb-api.h
+++ b/src/afb-api.h
@@ -38,7 +38,7 @@ struct afb_api
const void *group;
};
-extern int afb_api_is_valid_name(const char *name);
+extern int afb_api_is_valid_name(const char *name, int hookable);
#define AFB_API_UNHOOKABLE_PREFIX_CHAR '$'
#define AFB_API_UNHOOKABLE_PREFIX_STRING "$"