/*
- * 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");
#include "afb-daemon-itf-x1.h"
+/** @addtogroup AFB_DAEMON
+ * @{ */
+
/**
* @deprecated use bindings version 3
*
*
* Calling this function is only forbidden during preinit.
*
- * Returns the count of clients that received the event.
+ * Returns 0 in case of success or -1 in case of error
*/
static inline int afb_daemon_broadcast_event_v1(struct afb_daemon_x1 daemon, const char *name, struct json_object *object)
{
{
return -!daemon.itf->new_api(daemon.closure, api, info, noconcurrency, preinit, closure);
}
+
+/** @} */