Update copyright dates
[src/app-framework-binder.git] / include / afb / afb-daemon-v2.h
index f3c2c90..098e36c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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");
@@ -19,6 +19,9 @@
 
 #include "afb-daemon-itf-x1.h"
 
+/** @addtogroup AFB_DAEMON
+ *  @{ */
+
 /**
  * @deprecated use bindings version 3
  *
@@ -61,7 +64,7 @@ static inline struct sd_bus *afb_daemon_get_system_bus_v2()
  *
  * 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_v2(const char *name, struct json_object *object)
 {
@@ -214,3 +217,5 @@ static inline int afb_daemon_new_api_v2(
        return -!(afb_get_daemon_v2().itf->new_api(afb_get_daemon_v2().closure, api, info, noconcurrency, preinit, closure));
 }
 
+/** @} */
+