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...
 
LINPHONE_DEPRECATED const 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

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
typedef struct _LinphoneAccountCreatorService LinphoneAccountCreatorService

An object to define a LinphoneAccountCreator service.

Enumeration Type Documentation

Enum describing Activation code checking.

Enumerator
LinphoneAccountCreatorActivationCodeStatusOk 

Activation code ok.

LinphoneAccountCreatorActivationCodeStatusTooShort 

Activation code too short.

LinphoneAccountCreatorActivationCodeStatusTooLong 

Activation code too long.

LinphoneAccountCreatorActivationCodeStatusInvalidCharacters 

Contain invalid characters.

Enum describing Domain checking.

Enumerator
LinphoneAccountCreatorDomainOk 

Domain ok.

LinphoneAccountCreatorDomainInvalid 

Domain invalid.

Enum describing Email checking.

Enumerator
LinphoneAccountCreatorEmailStatusOk 

Email ok.

LinphoneAccountCreatorEmailStatusMalformed 

Email malformed.

LinphoneAccountCreatorEmailStatusInvalidCharacters 

Contain invalid characters.

Enum describing language checking.

Enumerator
LinphoneAccountCreatorLanguageStatusOk 

Language ok.

Enum describing Password checking.

Enumerator
LinphoneAccountCreatorPasswordStatusOk 

Password ok.

LinphoneAccountCreatorPasswordStatusTooShort 

Password too short.

LinphoneAccountCreatorPasswordStatusTooLong 

Password too long.

LinphoneAccountCreatorPasswordStatusInvalidCharacters 

Contain invalid characters.

LinphoneAccountCreatorPasswordStatusMissingCharacters 

Missing specific characters.

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.

Enum describing Transport checking.

Enumerator
LinphoneAccountCreatorTransportOk 

Transport ok.

LinphoneAccountCreatorTransportUnsupported 

Transport invalid.

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

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
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
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
LinphoneAccountCreatorCbs* linphone_account_creator_cbs_ref ( LinphoneAccountCreatorCbs cbs)

Acquire a reference to a LinphoneAccountCreatorCbs object.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
Returns
The same LinphoneAccountCreatorCbs object.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
void linphone_account_creator_cbs_unref ( LinphoneAccountCreatorCbs cbs)

Release a reference to a LinphoneAccountCreatorCbs object.

Parameters
[in]cbsLinphoneAccountCreatorCbs object.
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
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
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
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
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.
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
const char* linphone_account_creator_get_domain ( const LinphoneAccountCreator creator)

Get the domain.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The domain of the LinphoneAccountCreator
const char* linphone_account_creator_get_email ( const LinphoneAccountCreator creator)

Get the email.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The email of the LinphoneAccountCreator
const char* linphone_account_creator_get_ha1 ( const LinphoneAccountCreator creator)

Get the ha1.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The ha1 of the LinphoneAccountCreator
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
const char* linphone_account_creator_get_password ( const LinphoneAccountCreator creator)

Get the password.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The password of the LinphoneAccountCreator
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_DEPRECATED const char* linphone_account_creator_get_route ( const LinphoneAccountCreator creator)

Get the route.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The route of the LinphoneAccountCreator
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.
LinphoneTransportType linphone_account_creator_get_transport ( const LinphoneAccountCreator creator)

get Transport

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The transport of LinphoneAccountCreator
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.
const char* linphone_account_creator_get_username ( const LinphoneAccountCreator creator)

Get the username.

Parameters
[in]creatorLinphoneAccountCreator object
Returns
The username of the LinphoneAccountCreator
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
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
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
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
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
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.
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
LinphoneAccountCreator* linphone_account_creator_ref ( LinphoneAccountCreator creator)

Acquire a reference to the LinphoneAccountCreator.

Parameters
[in]creatorLinphoneAccountCreator object.
Returns
The same LinphoneAccountCreator object.
void linphone_account_creator_reset ( LinphoneAccountCreator creator)

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

Parameters
[in]creatorLinphoneAccountCreator object
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.
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.
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.
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.
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.
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.
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.
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_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.
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.
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.
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.
void linphone_account_creator_unref ( LinphoneAccountCreator creator)

Release reference to the LinphoneAccountCreator.

Parameters
[in]creatorLinphoneAccountCreator object.
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
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.