Change-Id: Id76ab70174e758f26caf9f883595f6cc003147d3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
return -1;
}
+void afb_apis_call_(struct afb_req req, struct AFB_clientCtx *context, const char *api, const char *verb)
+{
+ afb_apis_call(req, context, api, strlen(api), verb, strlen(verb));
+}
+
void afb_apis_call(struct afb_req req, struct AFB_clientCtx *context, const char *api, size_t lenapi, const char *verb, size_t lenverb)
{
int i;
extern int afb_apis_count();
extern int afb_apis_add(const char *name, struct afb_api api);
extern void afb_apis_call(struct afb_req req, struct AFB_clientCtx *context, const char *api, size_t lenapi, const char *verb, size_t lenverb);
+extern void afb_apis_call_(struct afb_req req, struct AFB_clientCtx *context, const char *api, const char *verb);