diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index d1a6b37f8..c8646f11b 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -173,110 +173,218 @@ LinphoneCoreCbs *linphone_core_get_current_callbacks(const LinphoneCore *lc) { return lc->current_cbs; } +LinphoneCoreCbsGlobalStateChangedCb linphone_core_cbs_get_global_state_changed(LinphoneCoreCbs *cbs) { + return cbs->vtable->global_state_changed; +} + void linphone_core_cbs_set_global_state_changed(LinphoneCoreCbs *cbs, LinphoneCoreCbsGlobalStateChangedCb cb) { cbs->vtable->global_state_changed = cb; } +LinphoneCoreCbsRegistrationStateChangedCb linphone_core_cbs_get_registration_state_changed(LinphoneCoreCbs *cbs) { + return cbs->vtable->registration_state_changed; +} + void linphone_core_cbs_set_registration_state_changed(LinphoneCoreCbs *cbs, LinphoneCoreCbsRegistrationStateChangedCb cb) { cbs->vtable->registration_state_changed = cb; } +LinphoneCoreCbsCallStateChangedCb linphone_core_cbs_get_call_state_changed(LinphoneCoreCbs *cbs) { + return cbs->vtable->call_state_changed; +} + void linphone_core_cbs_set_call_state_changed(LinphoneCoreCbs *cbs, LinphoneCoreCbsCallStateChangedCb cb) { cbs->vtable->call_state_changed = cb; } +LinphoneCoreCbsNotifyPresenceReceivedCb linphone_core_cbs_get_notify_presence_received(LinphoneCoreCbs *cbs) { + return cbs->vtable->notify_presence_received; +} + void linphone_core_cbs_set_notify_presence_received(LinphoneCoreCbs *cbs, LinphoneCoreCbsNotifyPresenceReceivedCb cb) { cbs->vtable->notify_presence_received = cb; } +LinphoneCoreCbsNotifyPresenceReceivedForUriOrTelCb linphone_core_cbs_get_notify_presence_received_for_uri_or_tel(LinphoneCoreCbs *cbs) { + return cbs->vtable->notify_presence_received_for_uri_or_tel; +} + void linphone_core_cbs_set_notify_presence_received_for_uri_or_tel(LinphoneCoreCbs *cbs, LinphoneCoreCbsNotifyPresenceReceivedForUriOrTelCb cb) { cbs->vtable->notify_presence_received_for_uri_or_tel = cb; } +LinphoneCoreCbsNewSubscriptionRequestedCb linphone_core_cbs_get_new_subscription_requested(LinphoneCoreCbs *cbs) { + return cbs->vtable->new_subscription_requested; +} + void linphone_core_cbs_set_new_subscription_requested(LinphoneCoreCbs *cbs, LinphoneCoreCbsNewSubscriptionRequestedCb cb) { cbs->vtable->new_subscription_requested = cb; } +LinphoneCoreCbsAuthenticationRequestedCb linphone_core_cbs_get_authentication_requested(LinphoneCoreCbs *cbs) { + return cbs->vtable->authentication_requested; +} + void linphone_core_cbs_set_authentication_requested(LinphoneCoreCbs *cbs, LinphoneCoreCbsAuthenticationRequestedCb cb) { cbs->vtable->authentication_requested = cb; } +LinphoneCoreCbsCallLogUpdatedCb linphone_core_cbs_get_call_log_updated(LinphoneCoreCbs *cbs) { + return cbs->vtable->call_log_updated; +} + void linphone_core_cbs_set_call_log_updated(LinphoneCoreCbs *cbs, LinphoneCoreCbsCallLogUpdatedCb cb) { cbs->vtable->call_log_updated = cb; } +LinphoneCoreCbsMessageReceivedCb linphone_core_cbs_get_message_received(LinphoneCoreCbs *cbs) { + return cbs->vtable->message_received; +} + void linphone_core_cbs_set_message_received(LinphoneCoreCbs *cbs, LinphoneCoreCbsMessageReceivedCb cb) { cbs->vtable->message_received = cb; } +LinphoneCoreCbsMessageReceivedUnableDecryptCb linphone_core_cbs_get_message_received_unable_decrypt(LinphoneCoreCbs *cbs) { + return cbs->vtable->message_received_unable_decrypt; +} + void linphone_core_cbs_set_message_received_unable_decrypt(LinphoneCoreCbs *cbs, LinphoneCoreCbsMessageReceivedUnableDecryptCb cb) { cbs->vtable->message_received_unable_decrypt = cb; } +LinphoneCoreCbsIsComposingReceivedCb linphone_core_cbs_get_is_composing_received(LinphoneCoreCbs *cbs) { + return cbs->vtable->is_composing_received; +} + void linphone_core_cbs_set_is_composing_received(LinphoneCoreCbs *cbs, LinphoneCoreCbsIsComposingReceivedCb cb) { cbs->vtable->is_composing_received = cb; } +LinphoneCoreCbsDtmfReceivedCb linphone_core_cbs_get_dtmf_received(LinphoneCoreCbs *cbs) { + return cbs->vtable->dtmf_received; +} + void linphone_core_cbs_set_dtmf_received(LinphoneCoreCbs *cbs, LinphoneCoreCbsDtmfReceivedCb cb) { cbs->vtable->dtmf_received = cb; } +LinphoneCoreCbsReferReceivedCb linphone_core_cbs_get_refer_received(LinphoneCoreCbs *cbs) { + return cbs->vtable->refer_received; +} + void linphone_core_cbs_set_refer_received(LinphoneCoreCbs *cbs, LinphoneCoreCbsReferReceivedCb cb) { cbs->vtable->refer_received = cb; } +LinphoneCoreCbsCallEncryptionChangedCb linphone_core_cbs_get_call_encryption_changed(LinphoneCoreCbs *cbs) { + return cbs->vtable->call_encryption_changed; +} + void linphone_core_cbs_set_call_encryption_changed(LinphoneCoreCbs *cbs, LinphoneCoreCbsCallEncryptionChangedCb cb) { cbs->vtable->call_encryption_changed = cb; } +LinphoneCoreCbsTransferStateChangedCb linphone_core_cbs_get_transfer_state_changed(LinphoneCoreCbs *cbs) { + return cbs->vtable->transfer_state_changed; +} + void linphone_core_cbs_set_transfer_state_changed(LinphoneCoreCbs *cbs, LinphoneCoreCbsTransferStateChangedCb cb) { cbs->vtable->transfer_state_changed = cb; } +LinphoneCoreCbsBuddyInfoUpdatedCb linphone_core_cbs_get_buddy_info_updated(LinphoneCoreCbs *cbs) { + return cbs->vtable->buddy_info_updated; +} + void linphone_core_cbs_set_buddy_info_updated(LinphoneCoreCbs *cbs, LinphoneCoreCbsBuddyInfoUpdatedCb cb) { cbs->vtable->buddy_info_updated = cb; } +LinphoneCoreCbsCallStatsUpdatedCb linphone_core_cbs_get_call_stats_updated(LinphoneCoreCbs *cbs) { + return cbs->vtable->call_stats_updated; +} + void linphone_core_cbs_set_call_stats_updated(LinphoneCoreCbs *cbs, LinphoneCoreCbsCallStatsUpdatedCb cb) { cbs->vtable->call_stats_updated = cb; } +LinphoneCoreCbsInfoReceivedCb linphone_core_cbs_get_info_received(LinphoneCoreCbs *cbs) { + return cbs->vtable->info_received; +} + void linphone_core_cbs_set_info_received(LinphoneCoreCbs *cbs, LinphoneCoreCbsInfoReceivedCb cb) { cbs->vtable->info_received = cb; } +LinphoneCoreCbsSubscriptionStateChangedCb linphone_core_cbs_get_subscription_state_changed(LinphoneCoreCbs *cbs) { + return cbs->vtable->subscription_state_changed; +} + void linphone_core_cbs_set_subscription_state_changed(LinphoneCoreCbs *cbs, LinphoneCoreCbsSubscriptionStateChangedCb cb) { cbs->vtable->subscription_state_changed = cb; } +LinphoneCoreCbsNotifyReceivedCb linphone_core_cbs_get_notify_received(LinphoneCoreCbs *cbs) { + return cbs->vtable->notify_received; +} + void linphone_core_cbs_set_notify_received(LinphoneCoreCbs *cbs, LinphoneCoreCbsNotifyReceivedCb cb) { cbs->vtable->notify_received = cb; } +LinphoneCoreCbsPublishStateChangedCb linphone_core_cbs_get_rpublish_state_changed(LinphoneCoreCbs *cbs) { + return cbs->vtable->publish_state_changed; +} + void linphone_core_cbs_set_publish_state_changed(LinphoneCoreCbs *cbs, LinphoneCoreCbsPublishStateChangedCb cb) { cbs->vtable->publish_state_changed = cb; } +LinphoneCoreCbsConfiguringStatusCb linphone_core_cbs_get_configuring_status(LinphoneCoreCbs *cbs) { + return cbs->vtable->configuring_status; +} + void linphone_core_cbs_set_configuring_status(LinphoneCoreCbs *cbs, LinphoneCoreCbsConfiguringStatusCb cb) { cbs->vtable->configuring_status = cb; } +LinphoneCoreCbsNetworkReachableCb linphone_core_cbs_get_network_reachable(LinphoneCoreCbs *cbs) { + return cbs->vtable->network_reachable; +} + void linphone_core_cbs_set_network_reachable(LinphoneCoreCbs *cbs, LinphoneCoreCbsNetworkReachableCb cb) { cbs->vtable->network_reachable = cb; } +LinphoneCoreCbsLogCollectionUploadStateChangedCb linphone_core_cbs_log_collection_upload_state_changed(LinphoneCoreCbs *cbs) { + return cbs->vtable->log_collection_upload_state_changed; +} + void linphone_core_cbs_set_log_collection_upload_state_changed(LinphoneCoreCbs *cbs, LinphoneCoreCbsLogCollectionUploadStateChangedCb cb) { cbs->vtable->log_collection_upload_state_changed = cb; } +LinphoneCoreCbsLogCollectionUploadProgressIndicationCb linphone_core_cbs_get_rlog_collection_upload_progress_indication(LinphoneCoreCbs *cbs) { + return cbs->vtable->log_collection_upload_progress_indication; +} + void linphone_core_cbs_set_log_collection_upload_progress_indication(LinphoneCoreCbs *cbs, LinphoneCoreCbsLogCollectionUploadProgressIndicationCb cb) { cbs->vtable->log_collection_upload_progress_indication = cb; } +LinphoneCoreCbsFriendListCreatedCb linphone_core_cbs_get_friend_list_created(LinphoneCoreCbs *cbs) { + return cbs->vtable->friend_list_created; +} + void linphone_core_cbs_set_friend_list_created(LinphoneCoreCbs *cbs, LinphoneCoreCbsFriendListCreatedCb cb) { cbs->vtable->friend_list_created = cb; } +LinphoneCoreCbsFriendListRemovedCb linphone_core_cbs_get_friend_list_removed(LinphoneCoreCbs *cbs) { + return cbs->vtable->friend_list_removed; +} + void linphone_core_cbs_set_friend_list_removed(LinphoneCoreCbs *cbs, LinphoneCoreCbsFriendListRemovedCb cb) { cbs->vtable->friend_list_removed = cb; } diff --git a/include/linphone/core.h b/include/linphone/core.h index 2864e8a2c..e98b2110f 100644 --- a/include/linphone/core.h +++ b/include/linphone/core.h @@ -614,6 +614,13 @@ LINPHONE_PUBLIC LinphoneCoreCbs *linphone_core_get_current_callbacks(const Linph */ LINPHONE_PUBLIC void linphone_core_cbs_set_global_state_changed(LinphoneCoreCbs *cbs, LinphoneCoreCbsGlobalStateChangedCb cb); +/** + * Get the # callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsGlobalStateChangedCb linphone_core_cbs_get_global_state_changed(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsRegistrationStateChangedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -621,6 +628,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_global_state_changed(LinphoneCoreCbs */ LINPHONE_PUBLIC void linphone_core_cbs_set_registration_state_changed(LinphoneCoreCbs *cbs, LinphoneCoreCbsRegistrationStateChangedCb cb); +/** + * Get the #LinphoneCoreCbsRegistrationStateChangedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsRegistrationStateChangedCb linphone_core_cbs_get_registration_state_changed(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsCallStateChangedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -628,6 +642,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_registration_state_changed(LinphoneCo */ LINPHONE_PUBLIC void linphone_core_cbs_set_call_state_changed(LinphoneCoreCbs *cbs, LinphoneCoreCbsCallStateChangedCb cb); +/** + * Get the #LinphoneCoreCbsCallStateChangedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsCallStateChangedCb linphone_core_cbs_get_call_state_changed(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsNotifyPresenceReceivedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -635,6 +656,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_call_state_changed(LinphoneCoreCbs *c */ LINPHONE_PUBLIC void linphone_core_cbs_set_notify_presence_received(LinphoneCoreCbs *cbs, LinphoneCoreCbsNotifyPresenceReceivedCb cb); +/** + * Get the #LinphoneCoreCbsNotifyPresenceReceivedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsNotifyPresenceReceivedCb linphone_core_cbs_get_notify_presence_received(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsNotifyPresenceReceivedForUriOrTelCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -642,6 +670,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_notify_presence_received(LinphoneCore */ LINPHONE_PUBLIC void linphone_core_cbs_set_notify_presence_received_for_uri_or_tel(LinphoneCoreCbs *cbs, LinphoneCoreCbsNotifyPresenceReceivedForUriOrTelCb cb); +/** + * Get the #LinphoneCoreCbsNotifyPresenceReceivedForUriOrTelCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsNotifyPresenceReceivedForUriOrTelCb linphone_core_cbs_get_notify_presence_received_for_uri_or_tel(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsNewSubscriptionRequestedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -649,6 +684,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_notify_presence_received_for_uri_or_t */ LINPHONE_PUBLIC void linphone_core_cbs_set_new_subscription_requested(LinphoneCoreCbs *cbs, LinphoneCoreCbsNewSubscriptionRequestedCb cb); +/** + * Get the #LinphoneCoreCbsNewSubscriptionRequestedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsNewSubscriptionRequestedCb linphone_core_cbs_get_new_subscription_requested(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsAuthenticationRequestedCb callback.' * @param[in] cbs A #LinphoneCoreCbs. @@ -656,6 +698,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_new_subscription_requested(LinphoneCo */ LINPHONE_PUBLIC void linphone_core_cbs_set_authentication_requested(LinphoneCoreCbs *cbs, LinphoneCoreCbsAuthenticationRequestedCb cb); +/** + * Get the #LinphoneCoreCbsAuthenticationRequestedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsAuthenticationRequestedCb linphone_core_cbs_get_authentication_requested(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsCallLogUpdatedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -663,6 +712,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_authentication_requested(LinphoneCore */ LINPHONE_PUBLIC void linphone_core_cbs_set_call_log_updated(LinphoneCoreCbs *cbs, LinphoneCoreCbsCallLogUpdatedCb cb); +/** + * Get the #LinphoneCoreCbsCallLogUpdatedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsCallLogUpdatedCb linphone_core_cbs_get_call_log_updated(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsMessageReceivedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -670,6 +726,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_call_log_updated(LinphoneCoreCbs *cbs */ LINPHONE_PUBLIC void linphone_core_cbs_set_message_received(LinphoneCoreCbs *cbs, LinphoneCoreCbsMessageReceivedCb cb); +/** + * Get the #LinphoneCoreCbsMessageReceivedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsMessageReceivedCb linphone_core_cbs_get_message_received(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsIsComposingReceivedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -677,6 +740,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_message_received(LinphoneCoreCbs *cbs */ LINPHONE_PUBLIC void linphone_core_cbs_set_is_composing_received(LinphoneCoreCbs *cbs, LinphoneCoreCbsIsComposingReceivedCb cb); +/** + * Get the #LinphoneCoreCbsIsComposingReceivedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsIsComposingReceivedCb linphone_core_cbs_get_is_composing_received(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsDtmfReceivedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -684,6 +754,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_is_composing_received(LinphoneCoreCbs */ LINPHONE_PUBLIC void linphone_core_cbs_set_dtmf_received(LinphoneCoreCbs *cbs, LinphoneCoreCbsDtmfReceivedCb cb); +/** + * Get the #LinphoneCoreCbsDtmfReceivedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsDtmfReceivedCb linphone_core_cbs_get_dtmf_received(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsReferReceivedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -691,6 +768,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_dtmf_received(LinphoneCoreCbs *cbs, L */ LINPHONE_PUBLIC void linphone_core_cbs_set_refer_received(LinphoneCoreCbs *cbs, LinphoneCoreCbsReferReceivedCb cb); +/** + * Get the #LinphoneCoreCbsReferReceivedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsReferReceivedCb linphone_core_cbs_get_refer_received(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsCallEncryptionChangedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -698,6 +782,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_refer_received(LinphoneCoreCbs *cbs, */ LINPHONE_PUBLIC void linphone_core_cbs_set_call_encryption_changed(LinphoneCoreCbs *cbs, LinphoneCoreCbsCallEncryptionChangedCb cb); +/** + * Get the #LinphoneCoreCbsCallEncryptionChangedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsCallEncryptionChangedCb linphone_core_cbs_get_call_encryption_changed(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsTransferStateChangedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -705,6 +796,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_call_encryption_changed(LinphoneCoreC */ LINPHONE_PUBLIC void linphone_core_cbs_set_transfer_state_changed(LinphoneCoreCbs *cbs, LinphoneCoreCbsTransferStateChangedCb cb); +/** + * Get the #LinphoneCoreCbsTransferStateChangedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsTransferStateChangedCb linphone_core_cbs_get_transfer_state_changed(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsBuddyInfoUpdatedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -712,6 +810,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_transfer_state_changed(LinphoneCoreCb */ LINPHONE_PUBLIC void linphone_core_cbs_set_buddy_info_updated(LinphoneCoreCbs *cbs, LinphoneCoreCbsBuddyInfoUpdatedCb cb); +/** + * Get the #LinphoneCoreCbsBuddyInfoUpdatedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsBuddyInfoUpdatedCb linphone_core_cbs_get_buddy_info_updated(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsCallStatsUpdatedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -719,6 +824,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_buddy_info_updated(LinphoneCoreCbs *c */ LINPHONE_PUBLIC void linphone_core_cbs_set_call_stats_updated(LinphoneCoreCbs *cbs, LinphoneCoreCbsCallStatsUpdatedCb cb); +/** + * Get the #LinphoneCoreCbsCallStatsUpdatedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsCallStatsUpdatedCb linphone_core_cbs_get_call_stats_updated(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsInfoReceivedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -726,6 +838,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_call_stats_updated(LinphoneCoreCbs *c */ LINPHONE_PUBLIC void linphone_core_cbs_set_info_received(LinphoneCoreCbs *cbs, LinphoneCoreCbsInfoReceivedCb cb); +/** + * Get the #LinphoneCoreCbsInfoReceivedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsInfoReceivedCb linphone_core_cbs_get_info_received(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsSubscriptionStateChangedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -733,6 +852,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_info_received(LinphoneCoreCbs *cbs, L */ LINPHONE_PUBLIC void linphone_core_cbs_set_subscription_state_changed(LinphoneCoreCbs *cbs, LinphoneCoreCbsSubscriptionStateChangedCb cb); +/** + * Get the #LinphoneCoreCbsSubscriptionStateChangedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsSubscriptionStateChangedCb linphone_core_cbs_get_subscription_state_changed(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsNotifyReceivedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -740,6 +866,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_subscription_state_changed(LinphoneCo */ LINPHONE_PUBLIC void linphone_core_cbs_set_notify_received(LinphoneCoreCbs *cbs, LinphoneCoreCbsNotifyReceivedCb cb); +/** + * Get the #LinphoneCoreCbsNotifyReceivedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsNotifyReceivedCb linphone_core_cbs_get_notify_received(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsPublishStateChangedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -747,6 +880,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_notify_received(LinphoneCoreCbs *cbs, */ LINPHONE_PUBLIC void linphone_core_cbs_set_publish_state_changed(LinphoneCoreCbs *cbs, LinphoneCoreCbsPublishStateChangedCb cb); +/** + * Get the #LinphoneCoreCbsPublishStateChangedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsPublishStateChangedCb linphone_core_cbs_get_publish_state_changed(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsConfiguringStatusCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -754,6 +894,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_publish_state_changed(LinphoneCoreCbs */ LINPHONE_PUBLIC void linphone_core_cbs_set_configuring_status(LinphoneCoreCbs *cbs, LinphoneCoreCbsConfiguringStatusCb cb); +/** + * Get the #LinphoneCoreCbsConfiguringStatusCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsConfiguringStatusCb linphone_core_cbs_get_configuring_status(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsNetworkReachableCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -761,6 +908,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_configuring_status(LinphoneCoreCbs *c */ LINPHONE_PUBLIC void linphone_core_cbs_set_network_reachable(LinphoneCoreCbs *cbs, LinphoneCoreCbsNetworkReachableCb cb); +/** + * Get the #LinphoneCoreCbsNetworkReachableCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsNetworkReachableCb linphone_core_cbs_get_set_network_reachable(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsLogCollectionUploadStateChangedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -768,6 +922,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_network_reachable(LinphoneCoreCbs *cb */ LINPHONE_PUBLIC void linphone_core_cbs_set_log_collection_upload_state_changed(LinphoneCoreCbs *cbs, LinphoneCoreCbsLogCollectionUploadStateChangedCb cb); +/** + * Get the #LinphoneCoreCbsLogCollectionUploadStateChangedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsLogCollectionUploadStateChangedCb linphone_core_cbs_get_log_collection_upload_state_changed(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsLogCollectionUploadProgressIndicationCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -775,6 +936,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_log_collection_upload_state_changed(L */ LINPHONE_PUBLIC void linphone_core_cbs_set_log_collection_upload_progress_indication(LinphoneCoreCbs *cbs, LinphoneCoreCbsLogCollectionUploadProgressIndicationCb cb); +/** + * Get the #LinphoneCoreCbsLogCollectionUploadProgressIndicationCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsLogCollectionUploadProgressIndicationCb linphone_core_cbs_get_log_collection_upload_progress_indication(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsFriendListCreatedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -782,6 +950,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_log_collection_upload_progress_indica */ LINPHONE_PUBLIC void linphone_core_cbs_set_friend_list_created(LinphoneCoreCbs *cbs, LinphoneCoreCbsFriendListCreatedCb cb); +/** + * Get the #LinphoneCoreCbsFriendListCreatedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsFriendListCreatedCb linphone_core_cbs_get_friend_list_created(LinphoneCoreCbs *cbs); + /** * Set the #LinphoneCoreCbsFriendListRemovedCb callback. * @param[in] cbs A #LinphoneCoreCbs. @@ -789,6 +964,13 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_friend_list_created(LinphoneCoreCbs * */ LINPHONE_PUBLIC void linphone_core_cbs_set_friend_list_removed(LinphoneCoreCbs *cbs, LinphoneCoreCbsFriendListRemovedCb cb); +/** + * Get the #LinphoneCoreCbsFriendListRemovedCb callback. + * @param[in] cbs A #LinphoneCoreCbs. + * @return The callback. + */ +LINPHONE_PUBLIC LinphoneCoreCbsFriendListRemovedCb linphone_core_cbs_get_friend_list_removed(LinphoneCoreCbs *cbs); + /** * @} **/