int (*init)(struct afb_daemon daemon);
int (*start)(struct afb_service service);
void (*onevent)(struct afb_service service, const char *event, struct json_object *object);
int (*init)(struct afb_daemon daemon);
int (*start)(struct afb_service service);
void (*onevent)(struct afb_service service, const char *event, struct json_object *object);