diff --git a/coreapi/linphonefriend.h b/coreapi/linphonefriend.h index b4ee2e801..3f1680c63 100644 --- a/coreapi/linphonefriend.h +++ b/coreapi/linphonefriend.h @@ -217,7 +217,7 @@ LinphoneOnlineStatus linphone_friend_get_status(const LinphoneFriend *lf); /** * @brief Get the presence information of a friend * @param[in] lf A #LinphoneFriend object - * @return A #LinphonePresenceModel object, or NULL if the friend to not have presence information (in which he is considered offline) + * @return A #LinphonePresenceModel object, or NULL if the friend do not have presence information (in which case he is considered offline) */ LinphonePresenceModel * linphone_friend_get_presence_model(LinphoneFriend *lf); diff --git a/coreapi/linphonepresence.h b/coreapi/linphonepresence.h index c743454d0..924df2008 100644 --- a/coreapi/linphonepresence.h +++ b/coreapi/linphonepresence.h @@ -42,7 +42,7 @@ typedef enum LinphonePresenceBasicStatus { } LinphonePresenceBasicStatus; /** Activities as defined in section 3.2 of RFC 4480 */ -typedef enum LinphonePresenceActivity { +typedef enum LinphonePresenceActivityType { /** This value is not defined in the RFC, it corresponds to no activity with a basic status of "closed". */ LinphonePresenceActivityOffline, @@ -263,7 +263,7 @@ LINPHONE_PUBLIC int linphone_presence_model_set_activity(LinphonePresenceModel * /** * @brief Gets the first note of a presence model (there is usually only one). * @param[in] model The #LinphonePresenceModel object to get the note from. - * @param[in] lang The language of the note to get. Can be NULL to a note that has no language specified or to get the first note whatever language it is written into. + * @param[in] lang The language of the note to get. Can be NULL to get a note that has no language specified or to get the first note whatever language it is written into. * @return A pointer to a #LinphonePresenceNote object if successful, NULL otherwise. */ LINPHONE_PUBLIC LinphonePresenceNote * linphone_presence_model_get_note(const LinphonePresenceModel *model, const char *lang);