Liblinphone: Account_creator

Liblinphone 5.0.0

Typedefs | Enumerations | Functions
Account_creator

## Typedefs
typedef void(* | LinphoneAccountCreatorCbsStatusCb) (LinphoneAccountCreator *creator, LinphoneAccountCreatorStatus status, const char *response)
| Callback to notify a response of server. More...
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. 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, 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.

## Enumerations
enum | _LinphoneAccountCreatorPhoneNumberStatus { LinphoneAccountCreatorPhoneNumberStatusOk = 0x1 , LinphoneAccountCreatorPhoneNumberStatusTooShort = 0x2 , LinphoneAccountCreatorPhoneNumberStatusTooLong = 0x4 , LinphoneAccountCreatorPhoneNumberStatusInvalidCountryCode = 0x8 , LinphoneAccountCreatorPhoneNumberStatusInvalid = 0x10 }
| Enum describing phone number checking, used by the LinphoneAccountCreator. More...
enum | _LinphoneAccountCreatorBackend { LinphoneAccountCreatorBackendXMLRPC = 0 , LinphoneAccountCreatorBackendFlexiAPI = 1 }
| Enum describing backend used in the LinphoneAccountCreator. More...
enum | _LinphoneAccountCreatorUsernameStatus { LinphoneAccountCreatorUsernameStatusOk = 0 , LinphoneAccountCreatorUsernameStatusTooShort = 1 , LinphoneAccountCreatorUsernameStatusTooLong = 2 , LinphoneAccountCreatorUsernameStatusInvalidCharacters = 3 , LinphoneAccountCreatorUsernameStatusInvalid = 4 }
| Enum describing username checking, used by the LinphoneAccountCreator. More...
enum | _LinphoneAccountCreatorEmailStatus { LinphoneAccountCreatorEmailStatusOk = 0 , LinphoneAccountCreatorEmailStatusMalformed = 1 , LinphoneAccountCreatorEmailStatusInvalidCharacters = 2 }
| Enum describing email checking, used by the LinphoneAccountCreator. More...
enum | _LinphoneAccountCreatorPasswordStatus { LinphoneAccountCreatorPasswordStatusOk = 0 , LinphoneAccountCreatorPasswordStatusTooShort = 1 , LinphoneAccountCreatorPasswordStatusTooLong = 2 , LinphoneAccountCreatorPasswordStatusInvalidCharacters = 3 , LinphoneAccountCreatorPasswordStatusMissingCharacters = 4 }
| Enum describing password checking, used by the LinphoneAccountCreator. More...
enum | _LinphoneAccountCreatorLanguageStatus { LinphoneAccountCreatorLanguageStatusOk = 0 }
| Enum describing language checking, used by the LinphoneAccountCreator. More...
enum | _LinphoneAccountCreatorAlgoStatus { LinphoneAccountCreatorAlgoStatusOk = 0 , LinphoneAccountCreatorAlgoStatusNotSupported = 1 }
| Enum describing algorithm checking, used by the LinphoneAccountCreator. More...
enum | _LinphoneAccountCreatorActivationCodeStatus { LinphoneAccountCreatorActivationCodeStatusOk = 0 , LinphoneAccountCreatorActivationCodeStatusTooShort = 1 , LinphoneAccountCreatorActivationCodeStatusTooLong = 2 , LinphoneAccountCreatorActivationCodeStatusInvalidCharacters = 3 }
| Enum describing activation code checking, used by the LinphoneAccountCreator. More...
enum | _LinphoneAccountCreatorDomainStatus { LinphoneAccountCreatorDomainOk = 0 , LinphoneAccountCreatorDomainInvalid = 1 }
| Enum describing domain checking, used by the LinphoneAccountCreator. More...
enum | _LinphoneAccountCreatorTransportStatus { LinphoneAccountCreatorTransportOk = 0 , LinphoneAccountCreatorTransportUnsupported = 1 }
| Enum describing transport checking, used by the LinphoneAccountCreator. More...

## Functions
LinphoneAccountCreator * | linphone_account_creator_create (LinphoneCore *core)
| Create a LinphoneAccountCreator and set Linphone Request callbacks. More...
LinphoneAccountCreator * | linphone_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...
LinphoneAccountCreatorStatus | linphone_account_creator_login_linphone_account (LinphoneAccountCreator *creator)
| Send a request to get the password & algorithm of an account using the confirmation key. More...
LinphoneAccountCreator * | linphone_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 *user_data)
| Assign a user pointer to the LinphoneAccountCreator. More...
void | linphone_account_creator_set_proxy_config (LinphoneAccountCreator *creator, LinphoneProxyConfig *cfg)
| Assign a proxy config 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...
void | linphone_account_creator_set_pn_provider (LinphoneAccountCreator *creator, const char *pn_provider)
| Set the pn_provider. More...
void | linphone_account_creator_set_pn_param (LinphoneAccountCreator *creator, const char *pn_param)
| Set the pn_param. More...
void | linphone_account_creator_set_pn_prid (LinphoneAccountCreator *creator, const char *pn_prid)
| Set the pn_prid. More...
void | linphone_account_creator_set_token (LinphoneAccountCreator *creator, const char *token)
| Set the token. 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...
const char * | linphone_account_creator_get_phone_country_code (const LinphoneAccountCreator *creator)
| Get the international prefix. 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...
LinphoneAccountCreatorAlgoStatus | linphone_account_creator_set_algorithm (LinphoneAccountCreator *creator, const char *algorithm)
| Set the supported algorithm. More...
const char * | linphone_account_creator_get_algorithm (const LinphoneAccountCreator *creator)
| Get the algorithm configured in the account creator. 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...
LinphoneAccountCreatorStatus | linphone_account_creator_set_as_default (LinphoneAccountCreator *creator, bool_t set_as_default)
| Set the set_as_default property. More...
bool_t | linphone_account_creator_get_set_as_default (const LinphoneAccountCreator *creator)
| Get the set_as_default property. More...
void | linphone_account_creator_add_callbacks (LinphoneAccountCreator *creator, LinphoneAccountCreatorCbs *cbs)
| Add the LinphoneAccountCreatorCbs object to a LinphoneAccountCreator. More...
void | linphone_account_creator_remove_callbacks (LinphoneAccountCreator *creator, LinphoneAccountCreatorCbs *cbs)
| Removes the LinphoneAccountCreatorCbs object from a LinphoneAccountCreator. More...
LinphoneAccountCreatorCbs * | linphone_account_creator_get_current_callbacks (const LinphoneAccountCreator *creator)
| Get the current LinphoneAccountCreatorCbs object associated with a LinphoneAccountCreator. More...
LinphoneAccountCreatorService * | linphone_account_creator_get_service (const LinphoneAccountCreator *creator)
| Get the LinphoneAccountCreatorService object associated with a LinphoneAccountCreator. More...
LinphoneAccountCreatorCbs * | linphone_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 *user_data)
| 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_send_token (const LinphoneAccountCreatorCbs *cbs)
| Get the activate account request. More...
void | linphone_account_creator_cbs_set_send_token (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...
LinphoneAccountCreatorCbsStatusCb | linphone_account_creator_cbs_get_login_linphone_account (const LinphoneAccountCreatorCbs *cbs)
| Get the login linphone account request. More...
void | linphone_account_creator_cbs_set_login_linphone_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
| Assign a user pointer to a LinphoneAccountCreatorCbs object. More...
LinphoneProxyConfig * | linphone_account_creator_create_proxy_config (const LinphoneAccountCreator *creator)
| Create and configure a proxy config and a authentication info for an account creator. More...
MS2_DEPRECATED LinphoneAccountCreatorCbs * | linphone_account_creator_get_callbacks (const LinphoneAccountCreator *creator)
| Get the LinphoneAccountCreatorCbs object associated with a LinphoneAccountCreator. More...
MS2_DEPRECATED LinphoneAccountCreatorStatus | linphone_account_creator_set_route (LinphoneAccountCreator *creator, const char *route)
| Set the route. More...
MS2_DEPRECATED const char * | linphone_account_creator_get_route (const LinphoneAccountCreator *creator)
| Get the route. More...
MS2_DEPRECATED LinphoneProxyConfig * | linphone_account_creator_configure (const LinphoneAccountCreator *creator)
| Configure an account (create a proxy config and authentication info for it). More...
LinphoneAccountCreator * | linphone_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 *response)

Callback to notify a response of server.

Parameters

  creator | LinphoneAccountCreator object
  status | The status of the LinphoneAccountCreator test existence operation that has just finished
  response | The response has a string

## ◆ LinphoneAccountCreatorService

typedef struct _LinphoneAccountCreatorService LinphoneAccountCreatorService

An object to define a LinphoneAccountCreator service.

## Enumeration Type Documentation

## ◆ _LinphoneAccountCreatorActivationCodeStatus

enum _LinphoneAccountCreatorActivationCodeStatus

Enum describing activation code checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorActivationCodeStatusOk | Activation code ok.
LinphoneAccountCreatorActivationCodeStatusTooShort | Activation code too short.
LinphoneAccountCreatorActivationCodeStatusTooLong | Activation code too long.
LinphoneAccountCreatorActivationCodeStatusInvalidCharacters | Contain invalid characters.

## ◆ _LinphoneAccountCreatorAlgoStatus

enum _LinphoneAccountCreatorAlgoStatus

Enum describing algorithm checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorAlgoStatusOk | Algorithm ok.
LinphoneAccountCreatorAlgoStatusNotSupported | Algorithm not supported.

## ◆ _LinphoneAccountCreatorBackend

enum _LinphoneAccountCreatorBackend

Enum describing backend used in the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorBackendXMLRPC | XMLRPC Backend.
LinphoneAccountCreatorBackendFlexiAPI | FlexiAPI Backend.

## ◆ _LinphoneAccountCreatorDomainStatus

enum _LinphoneAccountCreatorDomainStatus

Enum describing domain checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorDomainOk | Domain ok.
LinphoneAccountCreatorDomainInvalid | Domain invalid.

## ◆ _LinphoneAccountCreatorEmailStatus

enum _LinphoneAccountCreatorEmailStatus

Enum describing email checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorEmailStatusOk | Email ok.
LinphoneAccountCreatorEmailStatusMalformed | Email malformed.
LinphoneAccountCreatorEmailStatusInvalidCharacters | Contain invalid characters.

## ◆ _LinphoneAccountCreatorLanguageStatus

enum _LinphoneAccountCreatorLanguageStatus

Enum describing language checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorLanguageStatusOk | Language ok.

## ◆ _LinphoneAccountCreatorPasswordStatus

enum _LinphoneAccountCreatorPasswordStatus

Enum describing password checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorPasswordStatusOk | Password ok.
LinphoneAccountCreatorPasswordStatusTooShort | Password too short.
LinphoneAccountCreatorPasswordStatusTooLong | Password too long.
LinphoneAccountCreatorPasswordStatusInvalidCharacters | Contain invalid characters.
LinphoneAccountCreatorPasswordStatusMissingCharacters | Missing specific characters.

## ◆ _LinphoneAccountCreatorPhoneNumberStatus

enum _LinphoneAccountCreatorPhoneNumberStatus

Enum describing phone number checking, used by the LinphoneAccountCreator.

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 _LinphoneAccountCreatorTransportStatus

Enum describing transport checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorTransportOk | Transport ok.
LinphoneAccountCreatorTransportUnsupported | Transport invalid.

## ◆ _LinphoneAccountCreatorUsernameStatus

enum _LinphoneAccountCreatorUsernameStatus

Enum describing username checking, used by the LinphoneAccountCreator.

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

  creator | LinphoneAccountCreator 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

  creator | LinphoneAccountCreator object

Returns
  LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise

## ◆ linphone_account_creator_add_callbacks()

void linphone_account_creator_add_callbacks | ( | LinphoneAccountCreator * | creator,
|  | LinphoneAccountCreatorCbs * | cbs
| ) |  |

Add the LinphoneAccountCreatorCbs object to a LinphoneAccountCreator.

Parameters

  creator | LinphoneAccountCreator object
  cbs | The LinphoneAccountCreatorCbs object to add to the LinphoneAccountCreator.

## ◆ linphone_account_creator_cbs_get_activate_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_activate_account | ( | const LinphoneAccountCreatorCbs * | cbs | ) |

Get the activate account request.

Parameters

  cbs | LinphoneAccountCreatorCbs 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

  cbs | LinphoneAccountCreatorCbs 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

  cbs | LinphoneAccountCreatorCbs 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

  cbs | LinphoneAccountCreatorCbs 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

  cbs | LinphoneAccountCreatorCbs 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

  cbs | LinphoneAccountCreatorCbs 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

  cbs | LinphoneAccountCreatorCbs 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

  cbs | LinphoneAccountCreatorCbs object.

Returns
  The current link account request.

## ◆ linphone_account_creator_cbs_get_login_linphone_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_login_linphone_account | ( | const LinphoneAccountCreatorCbs * | cbs | ) |

Get the login linphone account request.

Parameters

  cbs | LinphoneAccountCreatorCbs object.

Returns
  The current login linphone 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

  cbs | LinphoneAccountCreatorCbs object.

Returns
  The current recover account request.

## ◆ linphone_account_creator_cbs_get_send_token()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_send_token | ( | const LinphoneAccountCreatorCbs * | cbs | ) |

Get the activate account request.

Parameters

  cbs | LinphoneAccountCreatorCbs object.

Returns
  The current activate 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

  cbs | LinphoneAccountCreatorCbs 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

  cbs | LinphoneAccountCreatorCbs 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

  cbs | LinphoneAccountCreatorCbs 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

  cbs | LinphoneAccountCreatorCbs object.
  cb | The 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

  cbs | LinphoneAccountCreatorCbs object.
  cb | The 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

  cbs | LinphoneAccountCreatorCbs object.
  cb | The 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

  cbs | LinphoneAccountCreatorCbs object.
  cb | The 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

  cbs | LinphoneAccountCreatorCbs object.
  cb | The 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

  cbs | LinphoneAccountCreatorCbs object.
  cb | The 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

  cbs | LinphoneAccountCreatorCbs object.
  cb | The 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

  cbs | LinphoneAccountCreatorCbs object.
  cb | The link account request to be used.

## ◆ linphone_account_creator_cbs_set_login_linphone_account()

void linphone_account_creator_cbs_set_login_linphone_account | ( | LinphoneAccountCreatorCbs * | cbs,
|  | LinphoneAccountCreatorCbsStatusCb | cb
| ) |  |

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters

  cbs | LinphoneAccountCreatorCbs object.
  cb | The login linphone 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

  cbs | LinphoneAccountCreatorCbs object.
  cb | The recover account request to be used.

## ◆ linphone_account_creator_cbs_set_send_token()

void linphone_account_creator_cbs_set_send_token | ( | LinphoneAccountCreatorCbs * | cbs,
|  | LinphoneAccountCreatorCbsStatusCb | cb
| ) |  |

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters

  cbs | LinphoneAccountCreatorCbs object.
  cb | The send token request 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

  cbs | LinphoneAccountCreatorCbs object.
  cb | The update account request to be used.

## ◆ linphone_account_creator_cbs_set_user_data()

void linphone_account_creator_cbs_set_user_data | ( | LinphoneAccountCreatorCbs * | cbs,
|  | void * | user_data
| ) |  |

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters

  cbs | LinphoneAccountCreatorCbs object.
  user_data | The 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

  cbs | LinphoneAccountCreatorCbs object.

## ◆ linphone_account_creator_configure()

MS2_DEPRECATED LinphoneProxyConfig* linphone_account_creator_configure | ( | const LinphoneAccountCreator * | creator | ) |

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

Parameters

  creator | LinphoneAccountCreator object

Returns
  A LinphoneProxyConfig object if successful, NULL otherwise

Deprecated:
  13/04/2017 Use linphone_account_creator_create_proxy_config() instead

## ◆ linphone_account_creator_create()

LinphoneAccountCreator* linphone_account_creator_create | ( | LinphoneCore * | core | ) |

Create a LinphoneAccountCreator and set Linphone Request callbacks.

Parameters

  core | The LinphoneCore used for the XML-RPC communication

Returns
  The new LinphoneAccountCreator object.

## ◆ linphone_account_creator_create_account()

LinphoneAccountCreatorStatus linphone_account_creator_create_account | ( | LinphoneAccountCreator * | creator | ) |

Send a request to create an account on server.

Parameters

  creator | LinphoneAccountCreator 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

  creator | LinphoneAccountCreator 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

  creator | LinphoneAccountCreator object

Returns
  The activation code of the LinphoneAccountCreator.

## ◆ linphone_account_creator_get_algorithm()

const char* linphone_account_creator_get_algorithm | ( | const LinphoneAccountCreator * | creator | ) |

Get the algorithm configured in the account creator.

Parameters

  creator | LinphoneAccountCreator object

Returns
  The algorithm of the LinphoneAccountCreator.

## ◆ linphone_account_creator_get_callbacks()

MS2_DEPRECATED LinphoneAccountCreatorCbs* linphone_account_creator_get_callbacks | ( | const LinphoneAccountCreator * | creator | ) |

Get the LinphoneAccountCreatorCbs object associated with a LinphoneAccountCreator.

Parameters

  creator | LinphoneAccountCreator object

Returns
  The LinphoneAccountCreatorCbs object associated with the LinphoneAccountCreator.

Deprecated:
  19/02/2019 use add_callbacks / remove_callbacks instead

## ◆ linphone_account_creator_get_current_callbacks()

LinphoneAccountCreatorCbs* linphone_account_creator_get_current_callbacks | ( | const LinphoneAccountCreator * | creator | ) |

Get the current LinphoneAccountCreatorCbs object associated with a LinphoneAccountCreator.

Parameters

  creator | LinphoneAccountCreator object

Returns
  The current 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

  creator | LinphoneAccountCreator 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

  creator | LinphoneAccountCreator 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

  creator | LinphoneAccountCreator 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

  creator | LinphoneAccountCreator 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

  creator | LinphoneAccountCreator 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

  creator | LinphoneAccountCreator object

Returns
  The password of the LinphoneAccountCreator.

## ◆ linphone_account_creator_get_phone_country_code()

const char* linphone_account_creator_get_phone_country_code | ( | const LinphoneAccountCreator * | creator | ) |

Get the international prefix.

Parameters

  creator | LinphoneAccountCreator object

Returns
  The international prefix (or phone country code) 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

  creator | LinphoneAccountCreator object

Returns
  The phone number of the LinphoneAccountCreator.

## ◆ linphone_account_creator_get_route()

MS2_DEPRECATED const char* linphone_account_creator_get_route | ( | const LinphoneAccountCreator * | creator | ) |

Get the route.

Parameters

  creator | LinphoneAccountCreator 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

  creator | LinphoneAccountCreator object

Returns
  The LinphoneAccountCreatorService object associated with the LinphoneAccountCreator.

## ◆ linphone_account_creator_get_set_as_default()

bool_t linphone_account_creator_get_set_as_default | ( | const LinphoneAccountCreator * | creator | ) |

Get the set_as_default property.

Parameters

  creator | LinphoneAccountCreator object

Returns
  TRUE if account will be set as default, FALSE otherwise.

## ◆ linphone_account_creator_get_transport()

LinphoneTransportType linphone_account_creator_get_transport | ( | const LinphoneAccountCreator * | creator | ) |

Get Transport.

Parameters

  creator | LinphoneAccountCreator object

Returns
  The LinphoneTransportType of the creator.

## ◆ 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

  creator | LinphoneAccountCreator 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

  creator | LinphoneAccountCreator 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

  creator | LinphoneAccountCreator 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

  creator | LinphoneAccountCreator 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

  creator | LinphoneAccountCreator 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

  creator | LinphoneAccountCreator 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

  creator | LinphoneAccountCreator object

Returns
  LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise

## ◆ linphone_account_creator_login_linphone_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.

Parameters

  creator | LinphoneAccountCreator object

Returns
  LinphoneAccountCreatorStatusRequestOk if everything is OK, or a specific error 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

  core | The LinphoneCore used for the XML-RPC communication
  xmlrpc_url | The URL to the XML-RPC server.

Returns
  The new LinphoneAccountCreator object.

Deprecated:
  13/04/2020 Use linphone_account_creator_create() instead

## ◆ linphone_account_creator_recover_account()

LinphoneAccountCreatorStatus linphone_account_creator_recover_account | ( | LinphoneAccountCreator * | creator | ) |

Send a request to recover an account.

Parameters

  creator | LinphoneAccountCreator 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

  creator | LinphoneAccountCreator object.

Returns
  The same LinphoneAccountCreator object.

## ◆ linphone_account_creator_remove_callbacks()

void linphone_account_creator_remove_callbacks | ( | LinphoneAccountCreator * | creator,
|  | LinphoneAccountCreatorCbs * | cbs
| ) |  |

Removes the LinphoneAccountCreatorCbs object from a LinphoneAccountCreator.

Parameters

  creator | LinphoneAccountCreator object
  cbs | The LinphoneAccountCreatorCbs object to remove from the LinphoneAccountCreator.

## ◆ linphone_account_creator_reset()

void linphone_account_creator_reset | ( | LinphoneAccountCreator * | creator | ) |

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

Parameters

  creator | LinphoneAccountCreator 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

  creator | LinphoneAccountCreator object
  activation_code | The activation code to set

Returns
  LinphoneAccountCreatorActivationCodeStatusOk if everything is OK, or a specific error otherwise.

## ◆ linphone_account_creator_set_algorithm()

LinphoneAccountCreatorAlgoStatus linphone_account_creator_set_algorithm | ( | LinphoneAccountCreator * | creator,
|  | const char * | algorithm
| ) |  |

Set the supported algorithm.

Parameters

  creator | LinphoneAccountCreator object
  algorithm | The algorithm to use

Returns
  LinphoneAccountCreatorAlgoStatusOk if everything is OK, or a specific error otherwise.

## ◆ linphone_account_creator_set_as_default()

LinphoneAccountCreatorStatus linphone_account_creator_set_as_default | ( | LinphoneAccountCreator * | creator,
|  | bool_t | set_as_default
| ) |  |

Set the set_as_default property.

Parameters

  creator | LinphoneAccountCreator object
  set_as_default | TRUE for the created proxy config to be set as default in LinphoneCore, FALSE otherwise

Returns
  LinphoneAccountCreatorStatusRequestOk 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

  creator | LinphoneAccountCreator object
  display_name | The 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

  creator | LinphoneAccountCreator object
  domain | The 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

  creator | LinphoneAccountCreator object
  email | The 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

  creator | LinphoneAccountCreator object
  ha1 | The 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

  creator | LinphoneAccountCreator object
  lang | The 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

  creator | LinphoneAccountCreator object
  password | The 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

  creator | LinphoneAccountCreator object
  phone_number | The phone number to set
  country_code | Country code to associate phone number with

Returns
  LinphoneAccountCreatorPhoneNumberStatusOk if everything is OK, or specific(s) error(s) otherwise.

## ◆ linphone_account_creator_set_pn_param()

void linphone_account_creator_set_pn_param | ( | LinphoneAccountCreator * | creator,
|  | const char * | pn_param
| ) |  |

Set the pn_param.

Parameters

  creator | LinphoneAccountCreator object
  pn_param | The pn_param to set

Returns
  void

## ◆ linphone_account_creator_set_pn_prid()

void linphone_account_creator_set_pn_prid | ( | LinphoneAccountCreator * | creator,
|  | const char * | pn_prid
| ) |  |

Set the pn_prid.

Parameters

  creator | LinphoneAccountCreator object
  pn_prid | The pn_prid to set

Returns
  void

## ◆ linphone_account_creator_set_pn_provider()

void linphone_account_creator_set_pn_provider | ( | LinphoneAccountCreator * | creator,
|  | const char * | pn_provider
| ) |  |

Set the pn_provider.

Parameters

  creator | LinphoneAccountCreator object
  pn_provider | The pn_provider to set

Returns
  void

## ◆ linphone_account_creator_set_proxy_config()

void linphone_account_creator_set_proxy_config | ( | LinphoneAccountCreator * | creator,
|  | LinphoneProxyConfig * | cfg
| ) |  |

Assign a proxy config pointer to the LinphoneAccountCreator.

Parameters

  creator | LinphoneAccountCreator object.
  cfg | The LinphoneProxyConfig to associate with the LinphoneAccountCreator.

## ◆ linphone_account_creator_set_route()

MS2_DEPRECATED LinphoneAccountCreatorStatus linphone_account_creator_set_route | ( | LinphoneAccountCreator * | creator,
|  | const char * | route
| ) |  |

Set the route.

Parameters

  creator | LinphoneAccountCreator object
  route | The route to set

Returns
  LinphoneAccountCreatorStatusRequestOk if everything is OK, or a specific error otherwise.

## ◆ linphone_account_creator_set_token()

void linphone_account_creator_set_token | ( | LinphoneAccountCreator * | creator,
|  | const char * | token
| ) |  |

Set the token.

Parameters

  creator | LinphoneAccountCreator object
  token | The pn_prid to set

Returns
  void

## ◆ linphone_account_creator_set_transport()

LinphoneAccountCreatorTransportStatus linphone_account_creator_set_transport | ( | LinphoneAccountCreator * | creator,
|  | LinphoneTransportType | transport
| ) |  |

Set Transport.

Parameters

  creator | LinphoneAccountCreator object
  transport | The LinphoneTransportType 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 * | user_data
| ) |  |

Assign a user pointer to the LinphoneAccountCreator.

Parameters

  creator | LinphoneAccountCreator object.
  user_data | The 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

  creator | LinphoneAccountCreator object
  username | The 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

  creator | LinphoneAccountCreator object.

## ◆ linphone_account_creator_update_account()

LinphoneAccountCreatorStatus linphone_account_creator_update_account | ( | LinphoneAccountCreator * | creator | ) |

Send a request to update an account.

Parameters

  creator | LinphoneAccountCreator 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

  core | The LinphoneCore used for the XML-RPC communication
  xmlrpc_url | The URL to the XML-RPC server.

Returns
  The new LinphoneAccountCreator object.