X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2Freference-v3%2Ffunc-event.md;h=7f0c3e72a67ac6cae4810607527fdb64dcb7f885;hb=248ec5dafada74c829dbe197888166c5807e22e2;hp=d96095a8ff3c326d60c2289c062e54fca64091f6;hpb=ddbabdd6e3deaafe05c7a8e218899082724eda42;p=src%2Fapp-framework-binder.git diff --git a/docs/reference-v3/func-event.md b/docs/reference-v3/func-event.md index d96095a8..7f0c3e72 100644 --- a/docs/reference-v3/func-event.md +++ b/docs/reference-v3/func-event.md @@ -1,4 +1,4 @@ -Functions of class **afb_event_t** +Functions of class **afb_event** ============================== ## General functions @@ -78,7 +78,7 @@ afb_event_t *afb_event_addref( * @param event the event to broadcast * @param object the companion object to associate to the broadcasted event (can be NULL) * - * @return the count of clients that received the event. + * @return 0 in case of success or -1 in case of error */ int afb_event_broadcast( afb_event_t event, @@ -99,7 +99,10 @@ int afb_event_broadcast( * @param event the event to push * @param object the companion object to associate to the pushed event (can be NULL) * - * @return the count of clients that received the event. + * @Return + * * 1 if at least one client listen for the event + * * 0 if no more client listen for the event + * * -1 in case of error (the event can't be delivered) */ int afb_event_push( afb_event_t event,