/*
- * Copyright (C) 2016, 2017, 2018 "IoT.bzh"
+ * Copyright (C) 2015-2020 "IoT.bzh"
* Author: José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
{
void (*call)(void *closure, struct afb_xreq *xreq);
int (*service_start)(void *closure);
+#if WITH_AFB_HOOK
void (*update_hooks)(void *closure);
+#endif
int (*get_logmask)(void *closure);
void (*set_logmask)(void *closure, int level);
- struct json_object *(*describe)(void *closure);
+ void (*describe)(void *closure, void (*describecb)(void *, struct json_object *), void *clocb);
void (*unref)(void *closure);
};