afb-api: Enforce api names to be hookable
[src/app-framework-binder.git] / src / afb-api.h
index a9de843..ff1bc10 100644 (file)
@@ -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  "$"