Liblinphone  3.12.0
Typedefs | Enumerations | Functions
Account_creator

Typedefs

typedef void(* LinphoneAccountCreatorCbsStatusCb) (LinphoneAccountCreator *creator, LinphoneAccountCreatorStatus status, const char *resp)
 Callback to notify a response of server. More...
 
typedef struct _LinphoneAccountCreator LinphoneAccountCreator
 The LinphoneAccountCreator object used to configure an account on a server via XML-RPC.
 
typedef struct _LinphoneAccountCreatorService LinphoneAccountCreatorService
 An object to define a LinphoneAccountCreator service. More...
 
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.
 
typedef unsigned int LinphoneAccountCreatorPhoneNumberStatusMask
 A mask of LinphoneAccountCreatorPhoneNumberStatus values.
 
typedef enum _LinphoneAccountCreatorUsernameStatus LinphoneAccountCreatorUsernameStatus
 Enum describing Username checking.
 
typedef enum _LinphoneAccountCreatorEmailStatus LinphoneAccountCreatorEmailStatus
 Enum describing Email checking.
 
typedef enum _LinphoneAccountCreatorPasswordStatus LinphoneAccountCreatorPasswordStatus
 Enum describing Password checking.
 
typedef enum _LinphoneAccountCreatorLanguageStatus LinphoneAccountCreatorLanguageStatus
 Enum describing language checking.
 
typedef enum _LinphoneAccountCreatorActivationCodeStatus LinphoneAccountCreatorActivationCodeStatus
 Enum describing Activation code checking.
 
typedef enum _LinphoneAccountCreatorDomainStatus LinphoneAccountCreatorDomainStatus
 Enum describing Domain checking.
 
typedef enum _LinphoneAccountCreatorTransportStatus LinphoneAccountCreatorTransportStatus
 Enum describing Transport checking.
 

Enumerations

enum  _LinphoneAccountCreatorPhoneNumberStatus {
  LinphoneAccountCreatorPhoneNumberStatusOk = 0x1,
  LinphoneAccountCreatorPhoneNumberStatusTooShort = 0x2,
  LinphoneAccountCreatorPhoneNumberStatusTooLong = 0x4,
  LinphoneAccountCreatorPhoneNumberStatusInvalidCountryCode = 0x8,
  LinphoneAccountCreatorPhoneNumberStatusInvalid = 0x10
}
 Enum describing Phone number checking. More...
 
enum  _LinphoneAccountCreatorUsernameStatus {
  LinphoneAccountCreatorUsernameStatusOk,
  LinphoneAccountCreatorUsernameStatusTooShort,
  LinphoneAccountCreatorUsernameStatusTooLong,
  LinphoneAccountCreatorUsernameStatusInvalidCharacters,
  LinphoneAccountCreatorUsernameStatusInvalid
}
 Enum describing Username checking. More...
 
enum  _LinphoneAccountCreatorEmailStatus {
  LinphoneAccountCreatorEmailStatusOk,
  LinphoneAccountCreatorEmailStatusMalformed,
  LinphoneAccountCreatorEmailStatusInvalidCharacters
}
 Enum describing Email checking. More...
 
enum  _LinphoneAccountCreatorPasswordStatus {
  LinphoneAccountCreatorPasswordStatusOk,
  LinphoneAccountCreatorPasswordStatusTooShort,
  LinphoneAccountCreatorPasswordStatusTooLong,
  LinphoneAccountCreatorPasswordStatusInvalidCharacters,
  LinphoneAccountCreatorPasswordStatusMissingCharacters
}
 Enum describing Password checking. More...
 
enum  _LinphoneAccountCreatorLanguageStatus { LinphoneAccountCreatorLanguageStatusOk }
 Enum describing language checking. More...
 
enum  _LinphoneAccountCreatorActivationCodeStatus {
  LinphoneAccountCreatorActivationCodeStatusOk,
  LinphoneAccountCreatorActivationCodeStatusTooShort,
  LinphoneAccountCreatorActivationCodeStatusTooLong,
  LinphoneAccountCreatorActivationCodeStatusInvalidCharacters
}
 Enum describing Activation code checking. More...
 
enum  _LinphoneAccountCreatorDomainStatus {
  LinphoneAccountCreatorDomainOk,
  LinphoneAccountCreatorDomainInvalid
}
 Enum describing Domain checking. More...
 
enum  _LinphoneAccountCreatorTransportStatus {
  LinphoneAccountCreatorTransportOk,
  LinphoneAccountCreatorTransportUnsupported
}
 Enum describing Transport checking. More...
 

Functions

LinphoneAccountCreatorlinphone_account_creator_new (LinphoneCore *core, const char *xmlrpc_url)
 Create a LinphoneAccountCreator and set Linphone Request callbacks. More...
 
void linphone_account_creator_reset (LinphoneAccountCreator *creator)
 Reset the account creator entries like username, password, phone number... More...
 
LinphoneAccountCreatorStatus linphone_account_creator_is_account_exist (LinphoneAccountCreator *creator)
 Send a request to know the existence of account on server. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_create_account (LinphoneAccountCreator *creator)
 Send a request to create an account on server. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_is_account_activated (LinphoneAccountCreator *creator)
 Send a request to know if an account is activated on server. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_activate_account (LinphoneAccountCreator *creator)
 Send a request to activate an account on server. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_link_account (LinphoneAccountCreator *creator)
 Send a request to link an account to an alias. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_activate_alias (LinphoneAccountCreator *creator)
 Send a request to activate an alias. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_is_alias_used (LinphoneAccountCreator *creator)
 Send a request to know if an alias is used. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_is_account_linked (LinphoneAccountCreator *creator)
 Send a request to know if an account is linked. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_recover_account (LinphoneAccountCreator *creator)
 Send a request to recover an account. More...
 
LinphoneAccountCreatorStatus linphone_account_creator_update_account (LinphoneAccountCreator *creator)
 Send a request to update an account. More...
 
LinphoneAccountCreatorlinphone_account_creator_ref (LinphoneAccountCreator *creator)
 Acquire a reference to the LinphoneAccountCreator. More...
 
void linphone_account_creator_unref (LinphoneAccountCreator *creator)
 Release reference to the LinphoneAccountCreator. More...
 
void * linphone_account_creator_get_user_data (const LinphoneAccountCreator *creator)
 Retrieve the user pointer associated with the LinphoneAccountCreator. More...
 
void linphone_account_creator_set_user_data (LinphoneAccountCreator *creator, void *ud)
 Assign a user pointer to the LinphoneAccountCreator. More...
 
LinphoneAccountCreatorUsernameStatus linphone_account_creator_set_username (LinphoneAccountCreator *creator, const char *username)
 Set the username. More...
 
const char * linphone_account_creator_get_username (const LinphoneAccountCreator *creator)
 Get the username. More...
 
LinphoneAccountCreatorPhoneNumberStatusMask linphone_account_creator_set_phone_number (LinphoneAccountCreator *creator, const char *phone_number, const char *country_code)
 Set the phone number normalized. More...
 
const char * linphone_account_creator_get_phone_number (const LinphoneAccountCreator *creator)
 Get the RFC 3966 normalized phone number. More...
 
LinphoneAccountCreatorPasswordStatus linphone_account_creator_set_password (LinphoneAccountCreator *creator, const char *password)
 Set the password. More...
 
const char * linphone_account_creator_get_password (const LinphoneAccountCreator *creator)
 Get the password. More...
 
LinphoneAccountCreatorPasswordStatus linphone_account_creator_set_ha1 (LinphoneAccountCreator *creator, const char *ha1)
 Set the ha1. More...
 
const char * linphone_account_creator_get_ha1 (const LinphoneAccountCreator *creator)
 Get the ha1. More...
 
LinphoneAccountCreatorActivationCodeStatus linphone_account_creator_set_activation_code (LinphoneAccountCreator *creator, const char *activation_code)
 Set the activation code. More...
 
const char * linphone_account_creator_get_activation_code (const LinphoneAccountCreator *creator)
 Get the activation code. More...
 
LinphoneAccountCreatorLanguageStatus linphone_account_creator_set_language (LinphoneAccountCreator *creator, const char *lang)
 Set the language to use in email or SMS if supported. More...
 
const char * linphone_account_creator_get_language (const LinphoneAccountCreator *creator)
 Get the language use in email of SMS. More...
 
LinphoneAccountCreatorUsernameStatus linphone_account_creator_set_display_name (LinphoneAccountCreator *creator, const char *display_name)
 Set the display name. More...
 
const char * linphone_account_creator_get_display_name (const LinphoneAccountCreator *creator)
 Get the display name. More...
 
LinphoneAccountCreatorEmailStatus linphone_account_creator_set_email (LinphoneAccountCreator *creator, const char *email)
 Set the email. More...
 
const char * linphone_account_creator_get_email (const LinphoneAccountCreator *creator)
 Get the email. More...
 
LinphoneAccountCreatorDomainStatus linphone_account_creator_set_domain (LinphoneAccountCreator *creator, const char *domain)
 Set the domain. More...
 
const char * linphone_account_creator_get_domain (const LinphoneAccountCreator *creator)
 Get the domain. More...
 
LinphoneAccountCreatorTransportStatus linphone_account_creator_set_transport (LinphoneAccountCreator *creator, LinphoneTransportType transport)
 Set Transport. More...
 
LinphoneTransportType linphone_account_creator_get_transport (const LinphoneAccountCreator *creator)
 get Transport More...
 
LINPHONE_DEPRECATED LinphoneAccountCreatorStatus linphone_account_creator_set_route (LinphoneAccountCreator *creator, const char *route)
 Set the route. More...
 
const LINPHONE_DEPRECATED char * linphone_account_creator_get_route (const LinphoneAccountCreator *creator)
 Get the route. More...
 
LinphoneAccountCreatorCbslinphone_account_creator_get_callbacks (const LinphoneAccountCreator *creator)
 Get the LinphoneAccountCreatorCbs object associated with a LinphoneAccountCreator. More...
 
LinphoneAccountCreatorServicelinphone_account_creator_get_service (const LinphoneAccountCreator *creator)
 Get the LinphoneAccountCreatorService object associated with a LinphoneAccountCreator. More...
 
LinphoneAccountCreatorCbslinphone_account_creator_cbs_ref (LinphoneAccountCreatorCbs *cbs)
 Acquire a reference to a LinphoneAccountCreatorCbs object. More...
 
void linphone_account_creator_cbs_unref (LinphoneAccountCreatorCbs *cbs)
 Release a reference to a LinphoneAccountCreatorCbs object. More...
 
void * linphone_account_creator_cbs_get_user_data (const LinphoneAccountCreatorCbs *cbs)
 Retrieve the user pointer associated with a LinphoneAccountCreatorCbs object. More...
 
void linphone_account_creator_cbs_set_user_data (LinphoneAccountCreatorCbs *cbs, void *ud)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_create_account (const LinphoneAccountCreatorCbs *cbs)
 Get the create account request. More...
 
void linphone_account_creator_cbs_set_create_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_exist (const LinphoneAccountCreatorCbs *cbs)
 Get the is account exist request. More...
 
void linphone_account_creator_cbs_set_is_account_exist (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_activate_account (const LinphoneAccountCreatorCbs *cbs)
 Get the activate account request. More...
 
void linphone_account_creator_cbs_set_activate_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_activated (const LinphoneAccountCreatorCbs *cbs)
 Get the is account activated request. More...
 
void linphone_account_creator_cbs_set_is_account_activated (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_link_account (const LinphoneAccountCreatorCbs *cbs)
 Get the link account request. More...
 
void linphone_account_creator_cbs_set_link_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_activate_alias (const LinphoneAccountCreatorCbs *cbs)
 Get the activate alias request. More...
 
void linphone_account_creator_cbs_set_activate_alias (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_alias_used (const LinphoneAccountCreatorCbs *cbs)
 Get the is alias used request. More...
 
void linphone_account_creator_cbs_set_is_alias_used (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_linked (const LinphoneAccountCreatorCbs *cbs)
 Get the is account linked request. More...
 
void linphone_account_creator_cbs_set_is_account_linked (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_recover_account (const LinphoneAccountCreatorCbs *cbs)
 Get the recover account request. More...
 
void linphone_account_creator_cbs_set_recover_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_update_account (const LinphoneAccountCreatorCbs *cbs)
 Get the update account request. More...
 
void linphone_account_creator_cbs_set_update_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
 
LinphoneProxyConfiglinphone_account_creator_create_proxy_config (const LinphoneAccountCreator *creator)
 Create and configure a proxy config and a authentication info for an account creator. More...
 
LINPHONE_DEPRECATED LinphoneProxyConfiglinphone_account_creator_configure (const LinphoneAccountCreator *creator)
 Configure an account (create a proxy config and authentication info for it). More...
 
LinphoneAccountCreatorlinphone_core_create_account_creator (LinphoneCore *core, const char *xmlrpc_url)
 Create a LinphoneAccountCreator and set Linphone Request callbacks. More...
 

Detailed Description

Typedef Documentation

◆ LinphoneAccountCreatorCbsStatusCb

typedef void(* LinphoneAccountCreatorCbsStatusCb) (LinphoneAccountCreator *creator, LinphoneAccountCreatorStatus status, const char *resp)

Callback to notify a response of server.

Parameters
[in]creatorLinphoneAccountCreator object
[in]statusThe status of the LinphoneAccountCreator test existence operation that has just finished

◆ LinphoneAccountCreatorService

typedef struct _LinphoneAccountCreatorService LinphoneAccountCreatorService

An object to define a LinphoneAccountCreator service.

Enumeration Type Documentation

◆ _LinphoneAccountCreatorActivationCodeStatus

Enum describing Activation code checking.

Enumerator
LinphoneAccountCreatorActivationCodeStatusOk 

Activation code ok.

LinphoneAccountCreatorActivationCodeStatusTooShort 

Activation code too short.

LinphoneAccountCreatorActivationCodeStatusTooLong 

Activation code too long.

LinphoneAccountCreatorActivationCodeStatusInvalidCharacters 

Contain invalid characters.

◆ _LinphoneAccountCreatorDomainStatus

Enum describing Domain checking.

Enumerator
LinphoneAccountCreatorDomainOk 

Domain ok.

LinphoneAccountCreatorDomainInvalid 

Domain invalid.

◆ _LinphoneAccountCreatorEmailStatus

Enum describing Email checking.

Enumerator
LinphoneAccountCreatorEmailStatusOk 

Email ok.

LinphoneAccountCreatorEmailStatusMalformed 

Email malformed.

LinphoneAccountCreatorEmailStatusInvalidCharacters 

Contain invalid characters.

◆ _LinphoneAccountCreatorLanguageStatus

Enum describing language checking.

Enumerator
LinphoneAccountCreatorLanguageStatusOk 

Language ok.

◆ _LinphoneAccountCreatorPasswordStatus

Enum describing Password checking.

Enumerator
LinphoneAccountCreatorPasswordStatusOk 

Password ok.

LinphoneAccountCreatorPasswordStatusTooShort 

Password too short.

LinphoneAccountCreatorPasswordStatusTooLong 

Password too long.

LinphoneAccountCreatorPasswordStatusInvalidCharacters 

Contain invalid characters.

LinphoneAccountCreatorPasswordStatusMissingCharacters 

Missing specific characters.

◆ _LinphoneAccountCreatorPhoneNumberStatus

Enum describing Phone number checking.

Enumerator
LinphoneAccountCreatorPhoneNumberStatusOk 

Phone number ok.

LinphoneAccountCreatorPhoneNumberStatusTooShort 

Phone number too short.

LinphoneAccountCreatorPhoneNumberStatusTooLong 

Phone number too long.

LinphoneAccountCreatorPhoneNumberStatusInvalidCountryCode 

Country code invalid.

LinphoneAccountCreatorPhoneNumberStatusInvalid 

Phone number invalid.

◆ _LinphoneAccountCreatorTransportStatus

Enum describing Transport checking.

Enumerator
LinphoneAccountCreatorTransportOk 

Transport ok.

LinphoneAccountCreatorTransportUnsupported 

Transport invalid.

◆ _LinphoneAccountCreatorUsernameStatus

Enum describing Username checking.

Enumerator
LinphoneAccountCreatorUsernameStatusOk 

Username ok.

LinphoneAccountCreatorUsernameStatusTooShort 

Username too short.

LinphoneAccountCreatorUsernameStatusTooLong 

Username too long.

LinphoneAccountCreatorUsernameStatusInvalidCharacters 

Contain invalid characters.

LinphoneAccountCreatorUsernameStatusInvalid 

Invalid username.

Function Documentation

◆ linphone_account_creator_activate_account()

LinphoneAccountCreatorStatus linphone_account_creator_activate_account ( LinphoneAccountCreator creator)

Send a request to activate an account on server.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise

◆ linphone_account_creator_activate_alias()

LinphoneAccountCreatorStatus linphone_account_creator_activate_alias ( LinphoneAccountCreator creator)

Send a request to activate an alias.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise

◆ linphone_account_creator_cbs_get_activate_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_activate_account ( const LinphoneAccountCreatorCbs cbs)

Get the activate account request.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
Returns
The current activate account request.

◆ linphone_account_creator_cbs_get_activate_alias()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_activate_alias ( const LinphoneAccountCreatorCbs cbs)

Get the activate alias request.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
Returns
The current link account request.

◆ linphone_account_creator_cbs_get_create_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_create_account ( const LinphoneAccountCreatorCbs cbs)

Get the create account request.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
Returns
The current create account request.

◆ linphone_account_creator_cbs_get_is_account_activated()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_activated ( const LinphoneAccountCreatorCbs cbs)

Get the is account activated request.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
Returns
The current is account activated request.

◆ linphone_account_creator_cbs_get_is_account_exist()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_exist ( const LinphoneAccountCreatorCbs cbs)

Get the is account exist request.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
Returns
The current is account exist request.

◆ linphone_account_creator_cbs_get_is_account_linked()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_linked ( const LinphoneAccountCreatorCbs cbs)

Get the is account linked request.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
Returns
The current is account linked request.

◆ linphone_account_creator_cbs_get_is_alias_used()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_alias_used ( const LinphoneAccountCreatorCbs cbs)

Get the is alias used request.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
Returns
The current is alias used request.

◆ linphone_account_creator_cbs_get_link_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_link_account ( const LinphoneAccountCreatorCbs cbs)

Get the link account request.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
Returns
The current link account request.

◆ linphone_account_creator_cbs_get_recover_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_recover_account ( const LinphoneAccountCreatorCbs cbs)

Get the recover account request.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
Returns
The current recover account request.

◆ linphone_account_creator_cbs_get_update_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_update_account ( const LinphoneAccountCreatorCbs cbs)

Get the update account request.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
Returns
The current update account request.

◆ linphone_account_creator_cbs_get_user_data()

void* linphone_account_creator_cbs_get_user_data ( const LinphoneAccountCreatorCbs cbs)

Retrieve the user pointer associated with a LinphoneAccountCreatorCbs object.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
Returns
The user pointer associated with the LinphoneAccountCreatorCbs object.

◆ linphone_account_creator_cbs_ref()

LinphoneAccountCreatorCbs* linphone_account_creator_cbs_ref ( LinphoneAccountCreatorCbs cbs)

Acquire a reference to a LinphoneAccountCreatorCbs object.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
Returns
The same LinphoneAccountCreatorCbs object.

◆ linphone_account_creator_cbs_set_activate_account()

void linphone_account_creator_cbs_set_activate_account ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
[in]cbThe activate account request to be used.

◆ linphone_account_creator_cbs_set_activate_alias()

void linphone_account_creator_cbs_set_activate_alias ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
[in]cbThe activate alias request to be used.

◆ linphone_account_creator_cbs_set_create_account()

void linphone_account_creator_cbs_set_create_account ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
[in]cbThe create account request to be used.

◆ linphone_account_creator_cbs_set_is_account_activated()

void linphone_account_creator_cbs_set_is_account_activated ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
[in]cbThe is account activated request to be used.

◆ linphone_account_creator_cbs_set_is_account_exist()

void linphone_account_creator_cbs_set_is_account_exist ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
[in]cbThe is account exist request to be used.

◆ linphone_account_creator_cbs_set_is_account_linked()

void linphone_account_creator_cbs_set_is_account_linked ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
[in]cbThe is account linked request to be used.

◆ linphone_account_creator_cbs_set_is_alias_used()

void linphone_account_creator_cbs_set_is_alias_used ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
[in]cbThe is alias used request to be used.

◆ linphone_account_creator_cbs_set_link_account()

void linphone_account_creator_cbs_set_link_account ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
[in]cbThe link account request to be used.

◆ linphone_account_creator_cbs_set_recover_account()

void linphone_account_creator_cbs_set_recover_account ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
[in]cbThe recover account request to be used.

◆ linphone_account_creator_cbs_set_update_account()

void linphone_account_creator_cbs_set_update_account ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
[in]cbThe update account request to be used.

◆ linphone_account_creator_cbs_set_user_data()

void linphone_account_creator_cbs_set_user_data ( LinphoneAccountCreatorCbs cbs,
void *  ud 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
[in]udThe user pointer to associate with the LinphoneAccountCreatorCbs object.

◆ linphone_account_creator_cbs_unref()

void linphone_account_creator_cbs_unref ( LinphoneAccountCreatorCbs cbs)

Release a reference to a LinphoneAccountCreatorCbs object.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.

◆ linphone_account_creator_configure()

LINPHONE_DEPRECATED LinphoneProxyConfig* linphone_account_creator_configure ( const LinphoneAccountCreator creator)

Configure an account (create a proxy config and authentication info for it).

Parameters
[in]creatorLinphoneAccountCreator object
Returns
A LinphoneProxyConfig object if successful, NULL otherwise

◆ linphone_account_creator_create_account()

LinphoneAccountCreatorStatus linphone_account_creator_create_account ( LinphoneAccountCreator creator)

Send a request to create an account on server.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise

◆ linphone_account_creator_create_proxy_config()

LinphoneProxyConfig* linphone_account_creator_create_proxy_config ( const LinphoneAccountCreator creator)

Create and configure a proxy config and a authentication info for an account creator.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
A LinphoneProxyConfig object if successful, NULL otherwise

◆ linphone_account_creator_get_activation_code()

const char* linphone_account_creator_get_activation_code ( const LinphoneAccountCreator creator)

Get the activation code.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The activation code of the LinphoneAccountCreator

◆ linphone_account_creator_get_callbacks()

LinphoneAccountCreatorCbs* linphone_account_creator_get_callbacks ( const LinphoneAccountCreator creator)

Get the LinphoneAccountCreatorCbs object associated with a LinphoneAccountCreator.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The LinphoneAccountCreatorCbs object associated with the LinphoneAccountCreator.

◆ linphone_account_creator_get_display_name()

const char* linphone_account_creator_get_display_name ( const LinphoneAccountCreator creator)

Get the display name.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The display name of the LinphoneAccountCreator

◆ linphone_account_creator_get_domain()

const char* linphone_account_creator_get_domain ( const LinphoneAccountCreator creator)

Get the domain.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The domain of the LinphoneAccountCreator

◆ linphone_account_creator_get_email()

const char* linphone_account_creator_get_email ( const LinphoneAccountCreator creator)

Get the email.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The email of the LinphoneAccountCreator

◆ linphone_account_creator_get_ha1()

const char* linphone_account_creator_get_ha1 ( const LinphoneAccountCreator creator)

Get the ha1.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The ha1 of the LinphoneAccountCreator

◆ linphone_account_creator_get_language()

const char* linphone_account_creator_get_language ( const LinphoneAccountCreator creator)

Get the language use in email of SMS.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The language of the LinphoneAccountCreator

◆ linphone_account_creator_get_password()

const char* linphone_account_creator_get_password ( const LinphoneAccountCreator creator)

Get the password.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The password of the LinphoneAccountCreator

◆ linphone_account_creator_get_phone_number()

const char* linphone_account_creator_get_phone_number ( const LinphoneAccountCreator creator)

Get the RFC 3966 normalized phone number.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The phone number of the LinphoneAccountCreator

◆ linphone_account_creator_get_route()

const LINPHONE_DEPRECATED char* linphone_account_creator_get_route ( const LinphoneAccountCreator creator)

Get the route.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The route of the LinphoneAccountCreator

◆ linphone_account_creator_get_service()

LinphoneAccountCreatorService* linphone_account_creator_get_service ( const LinphoneAccountCreator creator)

Get the LinphoneAccountCreatorService object associated with a LinphoneAccountCreator.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The LinphoneAccountCreatorService object associated with the LinphoneAccountCreator.

◆ linphone_account_creator_get_transport()

LinphoneTransportType linphone_account_creator_get_transport ( const LinphoneAccountCreator creator)

get Transport

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The transport of LinphoneAccountCreator

◆ linphone_account_creator_get_user_data()

void* linphone_account_creator_get_user_data ( const LinphoneAccountCreator creator)

Retrieve the user pointer associated with the LinphoneAccountCreator.

Parameters
[in]creatorLinphoneAccountCreator object.
Returns
The user pointer associated with the LinphoneAccountCreator.

◆ linphone_account_creator_get_username()

const char* linphone_account_creator_get_username ( const LinphoneAccountCreator creator)

Get the username.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The username of the LinphoneAccountCreator

◆ linphone_account_creator_is_account_activated()

LinphoneAccountCreatorStatus linphone_account_creator_is_account_activated ( LinphoneAccountCreator creator)

Send a request to know if an account is activated on server.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise

◆ linphone_account_creator_is_account_exist()

LinphoneAccountCreatorStatus linphone_account_creator_is_account_exist ( LinphoneAccountCreator creator)

Send a request to know the existence of account on server.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise

◆ linphone_account_creator_is_account_linked()

LinphoneAccountCreatorStatus linphone_account_creator_is_account_linked ( LinphoneAccountCreator creator)

Send a request to know if an account is linked.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise

◆ linphone_account_creator_is_alias_used()

LinphoneAccountCreatorStatus linphone_account_creator_is_alias_used ( LinphoneAccountCreator creator)

Send a request to know if an alias is used.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise

◆ linphone_account_creator_link_account()

LinphoneAccountCreatorStatus linphone_account_creator_link_account ( LinphoneAccountCreator creator)

Send a request to link an account to an alias.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise

◆ linphone_account_creator_new()

LinphoneAccountCreator* linphone_account_creator_new ( LinphoneCore core,
const char *  xmlrpc_url 
)

Create a LinphoneAccountCreator and set Linphone Request callbacks.

Parameters
[in]coreThe LinphoneCore used for the XML-RPC communication
[in]xmlrpc_urlThe URL to the XML-RPC server. Must be NON NULL.
Returns
The new LinphoneAccountCreator object.

◆ linphone_account_creator_recover_account()

LinphoneAccountCreatorStatus linphone_account_creator_recover_account ( LinphoneAccountCreator creator)

Send a request to recover an account.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise

◆ linphone_account_creator_ref()

LinphoneAccountCreator* linphone_account_creator_ref ( LinphoneAccountCreator creator)

Acquire a reference to the LinphoneAccountCreator.

Parameters
[in]creatorLinphoneAccountCreator object.
Returns
The same LinphoneAccountCreator object.

◆ linphone_account_creator_reset()

void linphone_account_creator_reset ( LinphoneAccountCreator creator)

Reset the account creator entries like username, password, phone number...

Parameters
[in]creatorLinphoneAccountCreator object

◆ linphone_account_creator_set_activation_code()

LinphoneAccountCreatorActivationCodeStatus linphone_account_creator_set_activation_code ( LinphoneAccountCreator creator,
const char *  activation_code 
)

Set the activation code.

Parameters
[in]creatorLinphoneAccountCreator object
[in]activation_codeThe activation code to set
Returns
LinphoneAccountCreatorActivationCodeStatusOk if everything is OK, or a specific error otherwise.

◆ linphone_account_creator_set_display_name()

LinphoneAccountCreatorUsernameStatus linphone_account_creator_set_display_name ( LinphoneAccountCreator creator,
const char *  display_name 
)

Set the display name.

Parameters
[in]creatorLinphoneAccountCreator object
[in]display_nameThe display name to set
Returns
LinphoneAccountCreatorUsernameStatusOk if everything is OK, or a specific error otherwise.

◆ linphone_account_creator_set_domain()

LinphoneAccountCreatorDomainStatus linphone_account_creator_set_domain ( LinphoneAccountCreator creator,
const char *  domain 
)

Set the domain.

Parameters
[in]creatorLinphoneAccountCreator object
[in]domainThe domain to set
Returns
LinphoneAccountCreatorDomainOk if everything is OK, or a specific error otherwise.

◆ linphone_account_creator_set_email()

LinphoneAccountCreatorEmailStatus linphone_account_creator_set_email ( LinphoneAccountCreator creator,
const char *  email 
)

Set the email.

Parameters
[in]creatorLinphoneAccountCreator object
[in]emailThe email to set
Returns
LinphoneAccountCreatorEmailStatusOk if everything is OK, or a specific error otherwise.

◆ linphone_account_creator_set_ha1()

LinphoneAccountCreatorPasswordStatus linphone_account_creator_set_ha1 ( LinphoneAccountCreator creator,
const char *  ha1 
)

Set the ha1.

Parameters
[in]creatorLinphoneAccountCreator object
[in]ha1The ha1 to set
Returns
LinphoneAccountCreatorPasswordStatusOk if everything is OK, or a specific error otherwise.

◆ linphone_account_creator_set_language()

LinphoneAccountCreatorLanguageStatus linphone_account_creator_set_language ( LinphoneAccountCreator creator,
const char *  lang 
)

Set the language to use in email or SMS if supported.

Parameters
[in]creatorLinphoneAccountCreator object
[in]langThe language to use
Returns
LinphoneAccountCreatorLanguageStatusOk if everything is OK, or a specific error otherwise.

◆ linphone_account_creator_set_password()

LinphoneAccountCreatorPasswordStatus linphone_account_creator_set_password ( LinphoneAccountCreator creator,
const char *  password 
)

Set the password.

Parameters
[in]creatorLinphoneAccountCreator object
[in]passwordThe password to set
Returns
LinphoneAccountCreatorPasswordStatusOk if everything is OK, or specific(s) error(s) otherwise.

◆ linphone_account_creator_set_phone_number()

LinphoneAccountCreatorPhoneNumberStatusMask linphone_account_creator_set_phone_number ( LinphoneAccountCreator creator,
const char *  phone_number,
const char *  country_code 
)

Set the phone number normalized.

Parameters
[in]creatorLinphoneAccountCreator object
[in]phone_numberThe phone number to set
[in]country_codeCountry code to associate phone number with
Returns
LinphoneAccountCreatorPhoneNumberStatusOk if everything is OK, or specific(s) error(s) otherwise.

◆ linphone_account_creator_set_route()

LINPHONE_DEPRECATED LinphoneAccountCreatorStatus linphone_account_creator_set_route ( LinphoneAccountCreator creator,
const char *  route 
)

Set the route.

Parameters
[in]creatorLinphoneAccountCreator object
[in]routeThe route to set
Returns
LinphoneAccountCreatorStatusRequestOk if everything is OK, or a specific error otherwise.

◆ linphone_account_creator_set_transport()

LinphoneAccountCreatorTransportStatus linphone_account_creator_set_transport ( LinphoneAccountCreator creator,
LinphoneTransportType  transport 
)

Set Transport.

Parameters
[in]creatorLinphoneAccountCreator object
[in]transportThe transport to set
Returns
LinphoneAccountCreatorTransportOk if everything is OK, or a specific error otherwise.

◆ linphone_account_creator_set_user_data()

void linphone_account_creator_set_user_data ( LinphoneAccountCreator creator,
void *  ud 
)

Assign a user pointer to the LinphoneAccountCreator.

Parameters
[in]creatorLinphoneAccountCreator object.
[in]udThe user pointer to associate with the LinphoneAccountCreator.

◆ linphone_account_creator_set_username()

LinphoneAccountCreatorUsernameStatus linphone_account_creator_set_username ( LinphoneAccountCreator creator,
const char *  username 
)

Set the username.

Parameters
[in]creatorLinphoneAccountCreator object
[in]usernameThe username to set
Returns
LinphoneAccountCreatorUsernameStatusOk if everything is OK, or a specific error otherwise.

◆ linphone_account_creator_unref()

void linphone_account_creator_unref ( LinphoneAccountCreator creator)

Release reference to the LinphoneAccountCreator.

Parameters
[in]creatorLinphoneAccountCreator object.

◆ linphone_account_creator_update_account()

LinphoneAccountCreatorStatus linphone_account_creator_update_account ( LinphoneAccountCreator creator)

Send a request to update an account.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise

◆ linphone_core_create_account_creator()

LinphoneAccountCreator* linphone_core_create_account_creator ( LinphoneCore core,
const char *  xmlrpc_url 
)

Create a LinphoneAccountCreator and set Linphone Request callbacks.

Parameters
[in]coreThe LinphoneCore used for the XML-RPC communication
[in]xmlrpc_urlThe URL to the XML-RPC server. Must be NON NULL.
Returns
The new LinphoneAccountCreator object.