|
typedef void(* | LinphoneAccountCreatorCbsStatusCb) (LinphoneAccountCreator *creator, LinphoneAccountCreatorStatus status, const char *response) |
| Callback to notify a response of server.
|
|
typedef struct _LinphoneAccountCreator | LinphoneAccountCreator |
| The object used to configure an account on a server via XML-RPC, see https://wiki.linphone.org/xwiki/wiki/public/view/Lib/Features/Override%20account%20creator%20request/.
|
|
typedef struct _LinphoneAccountCreatorService | LinphoneAccountCreatorService |
| An object to define a LinphoneAccountCreator service.
|
|
typedef struct _LinphoneAccountCreatorCbs | LinphoneAccountCreatorCbs |
| An object to handle the responses callbacks for handling the LinphoneAccountCreator operations.
|
|
typedef enum _LinphoneAccountCreatorPhoneNumberStatus | LinphoneAccountCreatorPhoneNumberStatus |
| Enum describing phone number checking, used by the LinphoneAccountCreator.
|
|
typedef unsigned int | LinphoneAccountCreatorPhoneNumberStatusMask |
| A mask of LinphoneAccountCreatorPhoneNumberStatus values.
|
|
typedef enum _LinphoneAccountCreatorBackend | LinphoneAccountCreatorBackend |
| Enum describing backend used in the LinphoneAccountCreator.
|
|
typedef enum _LinphoneAccountCreatorUsernameStatus | LinphoneAccountCreatorUsernameStatus |
| Enum describing username checking, used by the LinphoneAccountCreator.
|
|
typedef enum _LinphoneAccountCreatorEmailStatus | LinphoneAccountCreatorEmailStatus |
| Enum describing email checking, used by the LinphoneAccountCreator.
|
|
typedef enum _LinphoneAccountCreatorPasswordStatus | LinphoneAccountCreatorPasswordStatus |
| Enum describing password checking, used by the LinphoneAccountCreator.
|
|
typedef enum _LinphoneAccountCreatorLanguageStatus | LinphoneAccountCreatorLanguageStatus |
| Enum describing language checking, used by the LinphoneAccountCreator.
|
|
typedef enum _LinphoneAccountCreatorAlgoStatus | LinphoneAccountCreatorAlgoStatus |
| Enum describing algorithm checking, used by the LinphoneAccountCreator.
|
|
typedef enum _LinphoneAccountCreatorActivationCodeStatus | LinphoneAccountCreatorActivationCodeStatus |
| Enum describing activation code checking, used by the LinphoneAccountCreator.
|
|
typedef enum _LinphoneAccountCreatorDomainStatus | LinphoneAccountCreatorDomainStatus |
| Enum describing domain checking, used by the LinphoneAccountCreator.
|
|
typedef enum _LinphoneAccountCreatorTransportStatus | LinphoneAccountCreatorTransportStatus |
| Enum describing transport checking, used by the LinphoneAccountCreator.
|
|
|
LinphoneAccountCreator * | linphone_account_creator_create (LinphoneCore *core) |
| Create a LinphoneAccountCreator and set Linphone Request callbacks.
|
|
LinphoneAccountCreator * | linphone_account_creator_new (LinphoneCore *core, const char *xmlrpc_url) |
| Create a LinphoneAccountCreator and set Linphone Request callbacks.
|
|
void | linphone_account_creator_reset (LinphoneAccountCreator *creator) |
| Reset the account creator entries like username, password, phone number...
|
|
LinphoneAccountCreatorStatus | linphone_account_creator_is_account_exist (LinphoneAccountCreator *creator) |
| Send a request to know the existence of account on server.
|
|
LinphoneAccountCreatorStatus | linphone_account_creator_create_account (LinphoneAccountCreator *creator) |
| Send a request to create an account on server.
|
|
LinphoneAccountCreatorStatus | linphone_account_creator_create_push_account (LinphoneAccountCreator *creator) |
| Send a request to create a push account on server.
|
|
LinphoneAccountCreatorStatus | linphone_account_creator_is_account_activated (LinphoneAccountCreator *creator) |
| Send a request to know if an account is activated on server.
|
|
LinphoneAccountCreatorStatus | linphone_account_creator_activate_account (LinphoneAccountCreator *creator) |
| Send a request to activate an account on server.
|
|
LinphoneAccountCreatorStatus | linphone_account_creator_link_account (LinphoneAccountCreator *creator) |
| Send a request to link an account to an alias.
|
|
LinphoneAccountCreatorStatus | linphone_account_creator_activate_alias (LinphoneAccountCreator *creator) |
| Send a request to activate an alias.
|
|
LinphoneAccountCreatorStatus | linphone_account_creator_is_alias_used (LinphoneAccountCreator *creator) |
| Send a request to know if an alias is used.
|
|
LinphoneAccountCreatorStatus | linphone_account_creator_is_account_linked (LinphoneAccountCreator *creator) |
| Send a request to know if an account is linked.
|
|
LinphoneAccountCreatorStatus | linphone_account_creator_recover_account (LinphoneAccountCreator *creator) |
| Send a request to recover an account.
|
|
LinphoneAccountCreatorStatus | linphone_account_creator_update_account (LinphoneAccountCreator *creator) |
| Send a request to update an account.
|
|
LinphoneAccountCreatorStatus | linphone_account_creator_login_linphone_account (LinphoneAccountCreator *creator) |
| Send a request to get the password & algorithm of an account using the confirmation key.
|
|
LinphoneAccountCreatorStatus | linphone_account_creator_request_auth_token (LinphoneAccountCreator *creator) |
| Request an auth token to be send by the backend by push notification.
|
|
LinphoneAccountCreatorStatus | linphone_account_creator_request_account_creation_request_token (LinphoneAccountCreator *creator) |
| Request an account creation "request_token" to be used on account creations.
|
|
LinphoneAccountCreatorStatus | linphone_account_creator_request_account_creation_token_using_request_token (LinphoneAccountCreator *creator) |
| Send a request to get a token to be used for account creation from a request_token.
|
|
LinphoneAccountCreator * | linphone_account_creator_ref (LinphoneAccountCreator *creator) |
| Acquire a reference to the LinphoneAccountCreator.
|
|
void | linphone_account_creator_unref (LinphoneAccountCreator *creator) |
| Release reference to the LinphoneAccountCreator.
|
|
void * | linphone_account_creator_get_user_data (const LinphoneAccountCreator *creator) |
| Retrieve the user pointer associated with the LinphoneAccountCreator.
|
|
void | linphone_account_creator_set_user_data (LinphoneAccountCreator *creator, void *user_data) |
| Assign a user pointer to the LinphoneAccountCreator.
|
|
void | linphone_account_creator_set_proxy_config (LinphoneAccountCreator *creator, LinphoneProxyConfig *cfg) |
| Assign a proxy config pointer to the LinphoneAccountCreator.
|
|
LinphoneAccountCreatorUsernameStatus | linphone_account_creator_set_username (LinphoneAccountCreator *creator, const char *username) |
| Set the username.
|
|
const char * | linphone_account_creator_get_username (const LinphoneAccountCreator *creator) |
| Get the username.
|
|
void | linphone_account_creator_set_pn_provider (LinphoneAccountCreator *creator, const char *pn_provider) |
| Set the provider to be used by the backend to send the push notification to the device asking for an auth token.
|
|
const char * | linphone_account_creator_get_pn_provider (const LinphoneAccountCreator *creator) |
| Get the provider to be used by the backend to send the push notification to the device asking for an auth token.
|
|
void | linphone_account_creator_set_pn_param (LinphoneAccountCreator *creator, const char *pn_param) |
| Set the param to be used by the backend to send the push notification to the device asking for an auth token.
|
|
const char * | linphone_account_creator_get_pn_param (const LinphoneAccountCreator *creator) |
| Get the param to be used by the backend to send the push notification to the device asking for an auth token.
|
|
void | linphone_account_creator_set_pn_prid (LinphoneAccountCreator *creator, const char *pn_prid) |
| Set the prid to be used by the backend to send the push notification to the device asking for an auth token.
|
|
const char * | linphone_account_creator_get_pn_prid (const LinphoneAccountCreator *creator) |
| Get the prid to be used by the backend to send the push notification to the device asking for an auth token.
|
|
void | linphone_account_creator_set_token (LinphoneAccountCreator *creator, const char *token) |
| Set the authentication token received by push notification to be used to authenticate next queries, if required.
|
|
const char * | linphone_account_creator_get_token (const LinphoneAccountCreator *creator) |
| Get the authentication token set (if any) to be used to authenticate next queries, if required.
|
|
void | linphone_account_creator_set_account_creation_request_token (LinphoneAccountCreator *creator, const char *token) |
| Set the account creation request token received to be used to check user validation.
|
|
const char * | linphone_account_creator_get_account_creation_request_token (const LinphoneAccountCreator *creator) |
| Get the account creation request token received to be used to check user validation.
|
|
LinphoneAccountCreatorPhoneNumberStatusMask | linphone_account_creator_set_phone_number (LinphoneAccountCreator *creator, const char *phone_number, const char *country_code) |
| Set the phone number normalized.
|
|
const char * | linphone_account_creator_get_phone_number (const LinphoneAccountCreator *creator) |
| Get the RFC 3966 normalized phone number.
|
|
const char * | linphone_account_creator_get_phone_country_code (const LinphoneAccountCreator *creator) |
| Get the international prefix.
|
|
LinphoneAccountCreatorPasswordStatus | linphone_account_creator_set_password (LinphoneAccountCreator *creator, const char *password) |
| Set the password.
|
|
const char * | linphone_account_creator_get_password (const LinphoneAccountCreator *creator) |
| Get the password.
|
|
LinphoneAccountCreatorPasswordStatus | linphone_account_creator_set_ha1 (LinphoneAccountCreator *creator, const char *ha1) |
| Set the ha1.
|
|
const char * | linphone_account_creator_get_ha1 (const LinphoneAccountCreator *creator) |
| Get the ha1.
|
|
LinphoneAccountCreatorActivationCodeStatus | linphone_account_creator_set_activation_code (LinphoneAccountCreator *creator, const char *activation_code) |
| Set the activation code.
|
|
const char * | linphone_account_creator_get_activation_code (const LinphoneAccountCreator *creator) |
| Get the activation code.
|
|
LinphoneAccountCreatorLanguageStatus | linphone_account_creator_set_language (LinphoneAccountCreator *creator, const char *lang) |
| Set the language to use in email or SMS if supported.
|
|
const char * | linphone_account_creator_get_language (const LinphoneAccountCreator *creator) |
| Get the language use in email of SMS.
|
|
LinphoneAccountCreatorAlgoStatus | linphone_account_creator_set_algorithm (LinphoneAccountCreator *creator, const char *algorithm) |
| Set the supported algorithm.
|
|
const char * | linphone_account_creator_get_algorithm (const LinphoneAccountCreator *creator) |
| Get the algorithm configured in the account creator.
|
|
LinphoneAccountCreatorUsernameStatus | linphone_account_creator_set_display_name (LinphoneAccountCreator *creator, const char *display_name) |
| Set the display name.
|
|
const char * | linphone_account_creator_get_display_name (const LinphoneAccountCreator *creator) |
| Get the display name.
|
|
LinphoneAccountCreatorEmailStatus | linphone_account_creator_set_email (LinphoneAccountCreator *creator, const char *email) |
| Set the email.
|
|
const char * | linphone_account_creator_get_email (const LinphoneAccountCreator *creator) |
| Get the email.
|
|
LinphoneAccountCreatorDomainStatus | linphone_account_creator_set_domain (LinphoneAccountCreator *creator, const char *domain) |
| Set the domain.
|
|
const char * | linphone_account_creator_get_domain (const LinphoneAccountCreator *creator) |
| Get the domain.
|
|
LinphoneAccountCreatorTransportStatus | linphone_account_creator_set_transport (LinphoneAccountCreator *creator, LinphoneTransportType transport) |
| Set Transport.
|
|
LinphoneTransportType | linphone_account_creator_get_transport (const LinphoneAccountCreator *creator) |
| Get Transport.
|
|
LinphoneAccountCreatorStatus | linphone_account_creator_set_as_default (LinphoneAccountCreator *creator, bool_t set_as_default) |
| Set the set_as_default property.
|
|
bool_t | linphone_account_creator_get_set_as_default (const LinphoneAccountCreator *creator) |
| Get the set_as_default property.
|
|
void | linphone_account_creator_add_callbacks (LinphoneAccountCreator *creator, LinphoneAccountCreatorCbs *cbs) |
| Add the LinphoneAccountCreatorCbs object to a LinphoneAccountCreator.
|
|
void | linphone_account_creator_remove_callbacks (LinphoneAccountCreator *creator, LinphoneAccountCreatorCbs *cbs) |
| Removes the LinphoneAccountCreatorCbs object from a LinphoneAccountCreator.
|
|
LinphoneAccountCreatorCbs * | linphone_account_creator_get_current_callbacks (const LinphoneAccountCreator *creator) |
| Get the current LinphoneAccountCreatorCbs object associated with a LinphoneAccountCreator.
|
|
LinphoneAccountCreatorService * | linphone_account_creator_get_service (const LinphoneAccountCreator *creator) |
| Get the LinphoneAccountCreatorService object associated with a LinphoneAccountCreator.
|
|
LinphoneAccountCreatorCbs * | linphone_account_creator_cbs_ref (LinphoneAccountCreatorCbs *cbs) |
| Acquire a reference to a LinphoneAccountCreatorCbs object.
|
|
void | linphone_account_creator_cbs_unref (LinphoneAccountCreatorCbs *cbs) |
| Release a reference to a LinphoneAccountCreatorCbs object.
|
|
void * | linphone_account_creator_cbs_get_user_data (const LinphoneAccountCreatorCbs *cbs) |
| Retrieve the user pointer associated with a LinphoneAccountCreatorCbs object.
|
|
void | linphone_account_creator_cbs_set_user_data (LinphoneAccountCreatorCbs *cbs, void *user_data) |
| Assign a user pointer to a LinphoneAccountCreatorCbs object.
|
|
LinphoneAccountCreatorCbsStatusCb | linphone_account_creator_cbs_get_create_account (const LinphoneAccountCreatorCbs *cbs) |
| Get the create account request.
|
|
void | linphone_account_creator_cbs_set_create_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb) |
| Assign a user pointer to a LinphoneAccountCreatorCbs object.
|
|
LinphoneAccountCreatorCbsStatusCb | linphone_account_creator_cbs_get_is_account_exist (const LinphoneAccountCreatorCbs *cbs) |
| Get the is account exist request.
|
|
void | linphone_account_creator_cbs_set_is_account_exist (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb) |
| Assign a user pointer to a LinphoneAccountCreatorCbs object.
|
|
LinphoneAccountCreatorCbsStatusCb | linphone_account_creator_cbs_get_activate_account (const LinphoneAccountCreatorCbs *cbs) |
| Get the activate account request.
|
|
void | linphone_account_creator_cbs_set_activate_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb) |
| Assign a user pointer to a LinphoneAccountCreatorCbs object.
|
|
LinphoneAccountCreatorCbsStatusCb | linphone_account_creator_cbs_get_send_token (const LinphoneAccountCreatorCbs *cbs) |
| Get the activate account request.
|
|
void | linphone_account_creator_cbs_set_send_token (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb) |
| Assign a user pointer to a LinphoneAccountCreatorCbs object.
|
|
LinphoneAccountCreatorCbsStatusCb | linphone_account_creator_cbs_get_account_creation_request_token (const LinphoneAccountCreatorCbs *cbs) |
| Get the callback on account creation request token.
|
|
void | linphone_account_creator_cbs_set_account_creation_request_token (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb) |
| Assign a user pointer to a LinphoneAccountCreatorCbs object.
|
|
LinphoneAccountCreatorCbsStatusCb | linphone_account_creator_cbs_get_account_creation_token_using_request_token (const LinphoneAccountCreatorCbs *cbs) |
| Get the callback on account creation token.
|
|
void | linphone_account_creator_cbs_set_account_creation_token_using_request_token (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb) |
| Assign a user pointer to a LinphoneAccountCreatorCbs object.
|
|
LinphoneAccountCreatorCbsStatusCb | linphone_account_creator_cbs_get_is_account_activated (const LinphoneAccountCreatorCbs *cbs) |
| Get the is account activated request.
|
|
void | linphone_account_creator_cbs_set_is_account_activated (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb) |
| Assign a user pointer to a LinphoneAccountCreatorCbs object.
|
|
LinphoneAccountCreatorCbsStatusCb | linphone_account_creator_cbs_get_link_account (const LinphoneAccountCreatorCbs *cbs) |
| Get the link account request.
|
|
void | linphone_account_creator_cbs_set_link_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb) |
| Assign a user pointer to a LinphoneAccountCreatorCbs object.
|
|
LinphoneAccountCreatorCbsStatusCb | linphone_account_creator_cbs_get_activate_alias (const LinphoneAccountCreatorCbs *cbs) |
| Get the activate alias request.
|
|
void | linphone_account_creator_cbs_set_activate_alias (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb) |
| Assign a user pointer to a LinphoneAccountCreatorCbs object.
|
|
LinphoneAccountCreatorCbsStatusCb | linphone_account_creator_cbs_get_is_alias_used (const LinphoneAccountCreatorCbs *cbs) |
| Get the is alias used request.
|
|
void | linphone_account_creator_cbs_set_is_alias_used (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb) |
| Assign a user pointer to a LinphoneAccountCreatorCbs object.
|
|
LinphoneAccountCreatorCbsStatusCb | linphone_account_creator_cbs_get_is_account_linked (const LinphoneAccountCreatorCbs *cbs) |
| Get the is account linked request.
|
|
void | linphone_account_creator_cbs_set_is_account_linked (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb) |
| Assign a user pointer to a LinphoneAccountCreatorCbs object.
|
|
LinphoneAccountCreatorCbsStatusCb | linphone_account_creator_cbs_get_recover_account (const LinphoneAccountCreatorCbs *cbs) |
| Get the recover account request.
|
|
void | linphone_account_creator_cbs_set_recover_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb) |
| Assign a user pointer to a LinphoneAccountCreatorCbs object.
|
|
LinphoneAccountCreatorCbsStatusCb | linphone_account_creator_cbs_get_update_account (const LinphoneAccountCreatorCbs *cbs) |
| Get the update account request.
|
|
void | linphone_account_creator_cbs_set_update_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb) |
| Assign a user pointer to a LinphoneAccountCreatorCbs object.
|
|
LinphoneAccountCreatorCbsStatusCb | linphone_account_creator_cbs_get_login_linphone_account (const LinphoneAccountCreatorCbs *cbs) |
| Get the login linphone account request.
|
|
void | linphone_account_creator_cbs_set_login_linphone_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb) |
| Assign a user pointer to a LinphoneAccountCreatorCbs object.
|
|
LinphoneProxyConfig * | linphone_account_creator_create_proxy_config (const LinphoneAccountCreator *creator) |
| Create and configure a proxy config and a authentication info for an account creator.
|
|
LinphoneAccount * | linphone_account_creator_create_account_in_core (const LinphoneAccountCreator *creator) |
| Create and configure a LinphoneAccount and a LinphoneAuthInfo from informations set in the LinphoneAccountCreator.
|
|
void | linphone_account_creator_use_test_admin_account (LinphoneAccountCreator *creator) |
| Require the account creator to use special "test admin account".
|
|
MS2_DEPRECATED LinphoneAccountCreatorCbs * | linphone_account_creator_get_callbacks (const LinphoneAccountCreator *creator) |
| Get the LinphoneAccountCreatorCbs object associated with a LinphoneAccountCreator.
|
|
MS2_DEPRECATED LinphoneAccountCreatorStatus | linphone_account_creator_set_route (LinphoneAccountCreator *creator, const char *route) |
| Set the route.
|
|
MS2_DEPRECATED const char * | linphone_account_creator_get_route (const LinphoneAccountCreator *creator) |
| Get the route.
|
|
MS2_DEPRECATED LinphoneProxyConfig * | linphone_account_creator_configure (const LinphoneAccountCreator *creator) |
| Configure an account (create a proxy config and authentication info for it).
|
|
void | linphone_core_set_account_creator_url (LinphoneCore *core, const char *url) |
| Set the LinphoneAccountCreator url on the LinphoneCore.
|
|
const char * | linphone_core_get_account_creator_url (LinphoneCore *core) |
| Get the LinphoneAccountCreator url on the LinphoneCore.
|
|
void | linphone_core_set_account_creator_backend (LinphoneCore *core, LinphoneAccountCreatorBackend backend) |
| Set the LinphoneAccountCreator backend on the LinphoneCore.
|
|
LinphoneAccountCreatorBackend | linphone_core_get_account_creator_backend (const LinphoneCore *core) |
| Get the LinphoneAccountCreator backend set for the LinphoneCore.
|
|
LinphoneAccountCreator * | linphone_core_create_account_creator (LinphoneCore *core, const char *xmlrpc_url) |
| Create a LinphoneAccountCreator and set Linphone Request callbacks.
|
|