X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=include%2Fafb%2Fafb-event-x2.h;h=beb31f9d83e184232e3b5b1d12810aaf0796cf8c;hb=919445036879bb7681cd19582a899ea43609c8a3;hp=9732cad17900ef36e939ddde389ec289c7f740a2;hpb=14b401595576394f6d17aeddd6c172a445e30757;p=src%2Fapp-framework-binder.git diff --git a/include/afb/afb-event-x2.h b/include/afb/afb-event-x2.h index 9732cad1..beb31f9d 100644 --- a/include/afb/afb-event-x2.h +++ b/include/afb/afb-event-x2.h @@ -45,7 +45,7 @@ static inline int afb_event_x2_is_valid(struct afb_event_x2 *event) * @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 */ static inline int afb_event_x2_broadcast( struct afb_event_x2 *event, @@ -65,7 +65,10 @@ static inline int afb_event_x2_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) */ static inline int afb_event_x2_push( struct afb_event_x2 *event,