From 1d0f869ce3379089b4f4c5285e3d30e971e5b93d Mon Sep 17 00:00:00 2001 From: José Bollo Date: Wed, 27 Jul 2016 15:16:11 +0200 Subject: orthograph MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I354649f885daf89426f3b1612127045fdf1dedcc Signed-off-by: José Bollo --- include/afb/afb-binding.h | 2 +- include/afb/afb-event-itf.h | 6 +++--- include/afb/afb-req-itf.h | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'include/afb') diff --git a/include/afb/afb-binding.h b/include/afb/afb-binding.h index ac63d36b..1705271d 100644 --- a/include/afb/afb-binding.h +++ b/include/afb/afb-binding.h @@ -205,7 +205,7 @@ static inline struct sd_bus *afb_daemon_get_system_bus(struct afb_daemon daemon) * 'object' can be NULL. * 'daemon' MUST be the daemon given in interface when activating the binding. * - * For conveniency, the function calls 'json_object_put' for 'object'. + * For convenience, the function calls 'json_object_put' for 'object'. * Thus, in the case where 'object' should remain available after * the function returns, the function 'json_object_get' shall be used. * diff --git a/include/afb/afb-event-itf.h b/include/afb/afb-event-itf.h index b89b9415..4c9ad473 100644 --- a/include/afb/afb-event-itf.h +++ b/include/afb/afb-event-itf.h @@ -46,7 +46,7 @@ struct afb_event { * Broadcasts widely the 'event' with the data 'object'. * 'object' can be NULL. * - * For conveniency, the function calls 'json_object_put' for 'object'. + * For convenience, the function calls 'json_object_put' for 'object'. * Thus, in the case where 'object' should remain available after * the function returns, the function 'json_object_get' shall be used. * @@ -58,10 +58,10 @@ static inline int afb_event_broadcast(struct afb_event event, struct json_object } /* - * Pushes the 'event' with the data 'object' to its obeservers. + * Pushes the 'event' with the data 'object' to its observers. * 'object' can be NULL. * - * For conveniency, the function calls 'json_object_put' for 'object'. + * For convenience, the function calls 'json_object_put' for 'object'. * Thus, in the case where 'object' should remain available after * the function returns, the function 'json_object_get' shall be used. * diff --git a/include/afb/afb-req-itf.h b/include/afb/afb-req-itf.h index af452faf..740b3ac0 100644 --- a/include/afb/afb-req-itf.h +++ b/include/afb/afb-req-itf.h @@ -138,7 +138,7 @@ static inline struct json_object *afb_req_json(struct afb_req req) * Its send the object 'obj' (can be NULL) with an * informationnal comment 'info (can also be NULL). * - * For conveniency, the function calls 'json_object_put' for 'obj'. + * For convenience, the function calls 'json_object_put' for 'obj'. * Thus, in the case where 'obj' should remain available after * the function returns, the function 'json_object_get' shall be used. */ @@ -151,7 +151,7 @@ static inline void afb_req_success(struct afb_req req, struct json_object *obj, * Same as 'afb_req_success' but the 'info' is a formatting * string followed by arguments. * - * For conveniency, the function calls 'json_object_put' for 'obj'. + * For convenience, the function calls 'json_object_put' for 'obj'. * Thus, in the case where 'obj' should remain available after * the function returns, the function 'json_object_get' shall be used. */ @@ -176,7 +176,7 @@ static inline void afb_req_success_f(struct afb_req req, struct json_object *obj * to call afb_req_success(NULL, info). Thus even if possible it * is strongly recommanded to NEVER use "success" for status. * - * For conveniency, the function calls 'json_object_put' for 'obj'. + * For convenience, the function calls 'json_object_put' for 'obj'. * Thus, in the case where 'obj' should remain available after * the function returns, the function 'json_object_get' shall be used. */ @@ -189,7 +189,7 @@ static inline void afb_req_fail(struct afb_req req, const char *status, const ch * Same as 'afb_req_fail' but the 'info' is a formatting * string followed by arguments. * - * For conveniency, the function calls 'json_object_put' for 'obj'. + * For convenience, the function calls 'json_object_put' for 'obj'. * Thus, in the case where 'obj' should remain available after * the function returns, the function 'json_object_get' shall be used. */ -- cgit 1.2.3-korg