<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.9.1">
  <compounddef id="account__creator_8c" kind="file" language="C++">
    <compoundname>account_creator.c</compoundname>
    <includes refid="account__creator_8h" local="yes">account_creator.h</includes>
    <includes refid="private_8h" local="yes">private.h</includes>
    <includes local="yes">regex.h</includes>
    <incdepgraph>
      <node id="0">
        <label>account_creator.c</label>
        <link refid="account_creator.c"/>
        <childnode refid="1" relation="include">
        </childnode>
      </node>
      <node id="1">
        <label>regex.h</label>
      </node>
    </incdepgraph>
      <sectiondef kind="func">
      <memberdef kind="function" id="account__creator_8c_1a2a16ed5390ca6ac3663be0ff95782cba" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>BELLE_SIP_DECLARE_NO_IMPLEMENTED_INTERFACES</definition>
        <argsstring>(LinphoneAccountCreatorCbs)</argsstring>
        <name>BELLE_SIP_DECLARE_NO_IMPLEMENTED_INTERFACES</name>
        <param>
          <type><ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref></type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="26" column="1"/>
      </memberdef>
      <memberdef kind="function" id="account__creator_8c_1a4d8cd0e463d984db58e8b6859eacd233" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>BELLE_SIP_INSTANCIATE_VPTR</definition>
        <argsstring>(LinphoneAccountCreatorCbs, belle_sip_object_t, NULL, NULL, NULL, FALSE)</argsstring>
        <name>BELLE_SIP_INSTANCIATE_VPTR</name>
        <param>
          <type><ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref></type>
        </param>
        <param>
          <type>belle_sip_object_t</type>
        </param>
        <param>
          <type>NULL</type>
        </param>
        <param>
          <type>NULL</type>
        </param>
        <param>
          <type>NULL</type>
        </param>
        <param>
          <type>FALSE</type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="28" column="1"/>
      </memberdef>
      <memberdef kind="function" id="account__creator_8c_1aa34fb5002b639462667927574fcf5ea7" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref> *</type>
        <definition>static LinphoneAccountCreatorCbs* linphone_account_creator_cbs_new</definition>
        <argsstring>(void)</argsstring>
        <name>linphone_account_creator_cbs_new</name>
        <param>
          <type>void</type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="35" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="35" bodyend="37"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga0a5a8f13dbbb2b75a9fea65f5bb3a184" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref> *</type>
        <definition>LinphoneAccountCreatorCbs* linphone_account_creator_cbs_ref</definition>
        <argsstring>(LinphoneAccountCreatorCbs *cbs)</argsstring>
        <name>linphone_account_creator_cbs_ref</name>
        <param>
          <type><ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref> *</type>
          <declname>cbs</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Acquire a reference to a LinphoneAccountCreatorCbs object. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">cbs</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreatorCbs object. </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The same LinphoneAccountCreatorCbs object. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="39" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="39" bodyend="42"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1gafb2b0bf7213192780baa30aa6c0f8d9b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void linphone_account_creator_cbs_unref</definition>
        <argsstring>(LinphoneAccountCreatorCbs *cbs)</argsstring>
        <name>linphone_account_creator_cbs_unref</name>
        <param>
          <type><ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref> *</type>
          <declname>cbs</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Release a reference to a LinphoneAccountCreatorCbs object. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">cbs</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreatorCbs object. </para></parameterdescription>
</parameteritem>
</parameterlist>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="44" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="44" bodyend="46"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga3df023d6958b80d97f7a2811a2ee212d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void *</type>
        <definition>void* linphone_account_creator_cbs_get_user_data</definition>
        <argsstring>(const LinphoneAccountCreatorCbs *cbs)</argsstring>
        <name>linphone_account_creator_cbs_get_user_data</name>
        <param>
          <type>const <ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref> *</type>
          <declname>cbs</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Retrieve the user pointer associated with a LinphoneAccountCreatorCbs object. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">cbs</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreatorCbs object. </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The user pointer associated with the LinphoneAccountCreatorCbs object. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="48" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="48" bodyend="50"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga65494af8f91fe4f82955d00bac36e815" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void linphone_account_creator_cbs_set_user_data</definition>
        <argsstring>(LinphoneAccountCreatorCbs *cbs, void *ud)</argsstring>
        <name>linphone_account_creator_cbs_set_user_data</name>
        <param>
          <type><ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref> *</type>
          <declname>cbs</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>ud</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Assign a user pointer to a LinphoneAccountCreatorCbs object. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">cbs</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreatorCbs object. </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">ud</parametername>
</parameternamelist>
<parameterdescription>
<para>The user pointer to associate with the LinphoneAccountCreatorCbs object. </para></parameterdescription>
</parameteritem>
</parameterlist>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="52" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="52" bodyend="54"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga1c335cbf452a5ded9523789356482ac6" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1ga6e3d820a4cc6af0843baadfabb34b2de" kindref="member">LinphoneAccountCreatorCbsExistenceTestedCb</ref></type>
        <definition>LinphoneAccountCreatorCbsExistenceTestedCb linphone_account_creator_cbs_get_existence_tested</definition>
        <argsstring>(const LinphoneAccountCreatorCbs *cbs)</argsstring>
        <name>linphone_account_creator_cbs_get_existence_tested</name>
        <param>
          <type>const <ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref> *</type>
          <declname>cbs</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Get the existence tested callback. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">cbs</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreatorCbs object. </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The current existence tested callback. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="56" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="56" bodyend="58"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1gaa1c31c15eb7c01fbaf6e2f59e79fcb09" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void linphone_account_creator_cbs_set_existence_tested</definition>
        <argsstring>(LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsExistenceTestedCb cb)</argsstring>
        <name>linphone_account_creator_cbs_set_existence_tested</name>
        <param>
          <type><ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref> *</type>
          <declname>cbs</declname>
        </param>
        <param>
          <type><ref refid="group__misc_1ga6e3d820a4cc6af0843baadfabb34b2de" kindref="member">LinphoneAccountCreatorCbsExistenceTestedCb</ref></type>
          <declname>cb</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Set the existence tested callback. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">cbs</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreatorCbs object. </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">cb</parametername>
</parameternamelist>
<parameterdescription>
<para>The existence tested callback to be used. </para></parameterdescription>
</parameteritem>
</parameterlist>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="60" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="60" bodyend="62"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga3792b02f28c7f85dde033fb73da6c955" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1gaca82d58079c2c37acd55f176e7fab609" kindref="member">LinphoneAccountCreatorCbsValidationTestedCb</ref></type>
        <definition>LinphoneAccountCreatorCbsValidationTestedCb linphone_account_creator_cbs_get_validation_tested</definition>
        <argsstring>(const LinphoneAccountCreatorCbs *cbs)</argsstring>
        <name>linphone_account_creator_cbs_get_validation_tested</name>
        <param>
          <type>const <ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref> *</type>
          <declname>cbs</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Get the validation tested callback. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">cbs</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreatorCbs object. </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The current validation tested callback. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="64" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="64" bodyend="66"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga7c2c5f7a07655ed6f76ceac48fc9a33c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void linphone_account_creator_cbs_set_validation_tested</definition>
        <argsstring>(LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsValidationTestedCb cb)</argsstring>
        <name>linphone_account_creator_cbs_set_validation_tested</name>
        <param>
          <type><ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref> *</type>
          <declname>cbs</declname>
        </param>
        <param>
          <type><ref refid="group__misc_1gaca82d58079c2c37acd55f176e7fab609" kindref="member">LinphoneAccountCreatorCbsValidationTestedCb</ref></type>
          <declname>cb</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Set the validation tested callback. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">cbs</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreatorCbs object. </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">cb</parametername>
</parameternamelist>
<parameterdescription>
<para>The validation tested callback to be used. </para></parameterdescription>
</parameteritem>
</parameterlist>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="68" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="68" bodyend="70"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1gac56f5787f42ea40fde1393c988730263" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1ga313826f63d16752d95f8771c4ade1cb3" kindref="member">LinphoneAccountCreatorCbsCreateAccountCb</ref></type>
        <definition>LinphoneAccountCreatorCbsCreateAccountCb linphone_account_creator_cbs_get_create_account</definition>
        <argsstring>(const LinphoneAccountCreatorCbs *cbs)</argsstring>
        <name>linphone_account_creator_cbs_get_create_account</name>
        <param>
          <type>const <ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref> *</type>
          <declname>cbs</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Get the create account callback. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">cbs</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreatorCbs object. </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The current create account callback. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="72" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="72" bodyend="74"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga3957c732d37c3b8e462d4dc278ab00d1" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void linphone_account_creator_cbs_set_create_account</definition>
        <argsstring>(LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsCreateAccountCb cb)</argsstring>
        <name>linphone_account_creator_cbs_set_create_account</name>
        <param>
          <type><ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref> *</type>
          <declname>cbs</declname>
        </param>
        <param>
          <type><ref refid="group__misc_1ga313826f63d16752d95f8771c4ade1cb3" kindref="member">LinphoneAccountCreatorCbsCreateAccountCb</ref></type>
          <declname>cb</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Set the create account callback. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">cbs</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreatorCbs object. </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">cb</parametername>
</parameternamelist>
<parameterdescription>
<para>The create account callback to be used. </para></parameterdescription>
</parameteritem>
</parameterlist>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="76" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="76" bodyend="78"/>
      </memberdef>
      <memberdef kind="function" id="account__creator_8c_1a4908c7223708112543a3d83f3741bef5" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void _linphone_account_creator_destroy</definition>
        <argsstring>(LinphoneAccountCreator *creator)</argsstring>
        <name>_linphone_account_creator_destroy</name>
        <param>
          <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="81" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="81" bodyend="90"/>
      </memberdef>
      <memberdef kind="function" id="account__creator_8c_1aac48b89693e6f7030cfd992d20f0d4a4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>BELLE_SIP_DECLARE_NO_IMPLEMENTED_INTERFACES</definition>
        <argsstring>(LinphoneAccountCreator)</argsstring>
        <name>BELLE_SIP_DECLARE_NO_IMPLEMENTED_INTERFACES</name>
        <param>
          <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref></type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="92" column="1"/>
      </memberdef>
      <memberdef kind="function" id="account__creator_8c_1a6e8e1bb2d98a7d07ad814a6d821a599c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>BELLE_SIP_INSTANCIATE_VPTR</definition>
        <argsstring>(LinphoneAccountCreator, belle_sip_object_t,(belle_sip_object_destroy_t) _linphone_account_creator_destroy, NULL, NULL, FALSE)</argsstring>
        <name>BELLE_SIP_INSTANCIATE_VPTR</name>
        <param>
          <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref></type>
        </param>
        <param>
          <type>belle_sip_object_t</type>
        </param>
        <param>
          <type>(belle_sip_object_destroy_t)</type>
          <declname>_linphone_account_creator_destroy</declname>
        </param>
        <param>
          <type>NULL</type>
        </param>
        <param>
          <type>NULL</type>
        </param>
        <param>
          <type>FALSE</type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="94" column="1"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga01872a5f797fd97a0bd8915ed169637e" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
        <definition>LinphoneAccountCreator* linphone_account_creator_new</definition>
        <argsstring>(LinphoneCore *core, const char *xmlrpc_url)</argsstring>
        <name>linphone_account_creator_new</name>
        <param>
          <type><ref refid="group__initializing_1gaa5cf635b82dd338e7ee2dd3599d05f0a" kindref="member">LinphoneCore</ref> *</type>
          <declname>core</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>xmlrpc_url</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Create a LinphoneAccountCreator. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">core</parametername>
</parameternamelist>
<parameterdescription>
<para>The LinphoneCore used for the XML-RPC communication </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">xmlrpc_url</parametername>
</parameternamelist>
<parameterdescription>
<para>The URL to the XML-RPC server. Must be NON NULL. </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The new LinphoneAccountCreator object </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="102" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="102" bodyend="113"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1gab09f020b4281d8709fc26fd519088416" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
        <definition>LinphoneAccountCreator* linphone_account_creator_ref</definition>
        <argsstring>(LinphoneAccountCreator *creator)</argsstring>
        <name>linphone_account_creator_ref</name>
        <param>
          <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Acquire a reference to the LinphoneAccountCreator. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object. </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The same LinphoneAccountCreator object. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="115" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="115" bodyend="118"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga7830dc91f9632c7ae1d5677188d56eb8" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void linphone_account_creator_unref</definition>
        <argsstring>(LinphoneAccountCreator *creator)</argsstring>
        <name>linphone_account_creator_unref</name>
        <param>
          <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Release reference to the LinphoneAccountCreator. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object. </para></parameterdescription>
</parameteritem>
</parameterlist>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="120" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="120" bodyend="122"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga473f21dff2acb5b12cc6f5183f55a7a3" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void *</type>
        <definition>void* linphone_account_creator_get_user_data</definition>
        <argsstring>(const LinphoneAccountCreator *creator)</argsstring>
        <name>linphone_account_creator_get_user_data</name>
        <param>
          <type>const <ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Retrieve the user pointer associated with the LinphoneAccountCreator. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object. </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The user pointer associated with the LinphoneAccountCreator. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="124" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="124" bodyend="126"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga7a9a647987112a74d5b2d80ef9f76f9a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void linphone_account_creator_set_user_data</definition>
        <argsstring>(LinphoneAccountCreator *creator, void *ud)</argsstring>
        <name>linphone_account_creator_set_user_data</name>
        <param>
          <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <param>
          <type>void *</type>
          <declname>ud</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Assign a user pointer to the LinphoneAccountCreator. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object. </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">ud</parametername>
</parameternamelist>
<parameterdescription>
<para>The user pointer to associate with the LinphoneAccountCreator. </para></parameterdescription>
</parameteritem>
</parameterlist>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="128" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="128" bodyend="130"/>
      </memberdef>
      <memberdef kind="function" id="account__creator_8c_1aacb279208f4353f900bba765cc2d5af3" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref></type>
        <definition>static LinphoneAccountCreatorStatus validate_uri</definition>
        <argsstring>(const char *username, const char *domain, const char *route, const char *display_name)</argsstring>
        <name>validate_uri</name>
        <param>
          <type>const char *</type>
          <declname>username</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>domain</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>route</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>display_name</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="132" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="132" bodyend="166"/>
      </memberdef>
      <memberdef kind="function" id="account__creator_8c_1a5de91f23b4f2479db1dc687ac259091c" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>bool_t</type>
        <definition>static bool_t is_matching_regex</definition>
        <argsstring>(const char *entry, const char *regex)</argsstring>
        <name>is_matching_regex</name>
        <param>
          <type>const char *</type>
          <declname>entry</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>regex</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="168" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="168" bodyend="185"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga65d1a74de5ee2a9d23c56f6bb4af35c2" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref></type>
        <definition>LinphoneAccountCreatorStatus linphone_account_creator_set_username</definition>
        <argsstring>(LinphoneAccountCreator *creator, const char *username)</argsstring>
        <name>linphone_account_creator_set_username</name>
        <param>
          <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>username</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Set the username. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">username</parametername>
</parameternamelist>
<parameterdescription>
<para>The username to set </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>LinphoneAccountCreatorOk if everything is OK, or a specific error otherwise. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="187" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="187" bodyend="206"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga23c955c6f20c34ba4568993325e8b31c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>const char *</type>
        <definition>const char* linphone_account_creator_get_username</definition>
        <argsstring>(const LinphoneAccountCreator *creator)</argsstring>
        <name>linphone_account_creator_get_username</name>
        <param>
          <type>const <ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Get the username. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The username of the LinphoneAccountCreator </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="208" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="208" bodyend="210"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1gac4f32254116f1df0d4a89805b5b832d9" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref></type>
        <definition>LinphoneAccountCreatorStatus linphone_account_creator_set_password</definition>
        <argsstring>(LinphoneAccountCreator *creator, const char *password)</argsstring>
        <name>linphone_account_creator_set_password</name>
        <param>
          <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>password</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Set the password. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">password</parametername>
</parameternamelist>
<parameterdescription>
<para>The password to set </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>LinphoneAccountCreatorOk if everything is OK, or a specific error otherwise. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="212" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="212" bodyend="219"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1gab65e965b5d4c11dd06cc657b0d723079" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>const char *</type>
        <definition>const char* linphone_account_creator_get_password</definition>
        <argsstring>(const LinphoneAccountCreator *creator)</argsstring>
        <name>linphone_account_creator_get_password</name>
        <param>
          <type>const <ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Get the password. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The password of the LinphoneAccountCreator </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="221" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="221" bodyend="223"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1gafd2434b60030136e9c6ab1731a7ca236" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref></type>
        <definition>LinphoneAccountCreatorStatus linphone_account_creator_set_transport</definition>
        <argsstring>(LinphoneAccountCreator *creator, LinphoneTransportType transport)</argsstring>
        <name>linphone_account_creator_set_transport</name>
        <param>
          <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <param>
          <type><ref refid="group__linphone__address_1ga3835b7b8ed546312096456602ac0ce1d" kindref="member">LinphoneTransportType</ref></type>
          <declname>transport</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Set the transport. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">transport</parametername>
</parameternamelist>
<parameterdescription>
<para>The transport to set </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>LinphoneAccountCreatorOk if everything is OK, or a specific error if given transport is not supported by linphone core. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="225" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="225" bodyend="231"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga972792a0534f2892ddfb8d0de9ebb4da" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__linphone__address_1ga3835b7b8ed546312096456602ac0ce1d" kindref="member">LinphoneTransportType</ref></type>
        <definition>LinphoneTransportType linphone_account_creator_get_transport</definition>
        <argsstring>(const LinphoneAccountCreator *creator)</argsstring>
        <name>linphone_account_creator_get_transport</name>
        <param>
          <type>const <ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Get the transport. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The transport of the LinphoneAccountCreator </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="233" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="233" bodyend="235"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga53887ed6c1fd0ead0cf729a523de3463" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref></type>
        <definition>LinphoneAccountCreatorStatus linphone_account_creator_set_domain</definition>
        <argsstring>(LinphoneAccountCreator *creator, const char *domain)</argsstring>
        <name>linphone_account_creator_set_domain</name>
        <param>
          <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>domain</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Set the domain. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">domain</parametername>
</parameternamelist>
<parameterdescription>
<para>The domain to set </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>LinphoneAccountCreatorOk if everything is OK, or a specific error otherwise. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="237" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="237" bodyend="243"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1gad36b9626fee354ee6037536d9d4ca655" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>const char *</type>
        <definition>const char* linphone_account_creator_get_domain</definition>
        <argsstring>(const LinphoneAccountCreator *creator)</argsstring>
        <name>linphone_account_creator_get_domain</name>
        <param>
          <type>const <ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Get the domain. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The domain of the LinphoneAccountCreator </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="245" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="245" bodyend="247"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga7cf7bbb54ab9e34aaeb0c7ad8c3a3273" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref></type>
        <definition>LinphoneAccountCreatorStatus linphone_account_creator_set_route</definition>
        <argsstring>(LinphoneAccountCreator *creator, const char *route)</argsstring>
        <name>linphone_account_creator_set_route</name>
        <param>
          <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>route</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Set the route. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">route</parametername>
</parameternamelist>
<parameterdescription>
<para>The route to set </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>LinphoneAccountCreatorOk if everything is OK, or a specific error otherwise. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="249" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="249" bodyend="255"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1gac71b04994c31209749dbc0c025c7c2a0" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>const char *</type>
        <definition>const char* linphone_account_creator_get_route</definition>
        <argsstring>(const LinphoneAccountCreator *creator)</argsstring>
        <name>linphone_account_creator_get_route</name>
        <param>
          <type>const <ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Get the route. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The route of the LinphoneAccountCreator </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="257" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="257" bodyend="259"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1gadff0bb66f4aeef51e65cd5f9530c5b86" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref></type>
        <definition>LinphoneAccountCreatorStatus linphone_account_creator_set_display_name</definition>
        <argsstring>(LinphoneAccountCreator *creator, const char *display_name)</argsstring>
        <name>linphone_account_creator_set_display_name</name>
        <param>
          <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>display_name</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Set the email. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">display_name</parametername>
</parameternamelist>
<parameterdescription>
<para>The display name to set </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>LinphoneAccountCreatorOk if everything is OK, or a specific error otherwise. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="261" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="261" bodyend="267"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga5ee5c74e73382c9a1863495283d20b34" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>const char *</type>
        <definition>const char* linphone_account_creator_get_display_name</definition>
        <argsstring>(const LinphoneAccountCreator *creator)</argsstring>
        <name>linphone_account_creator_get_display_name</name>
        <param>
          <type>const <ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Get the email. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The display name of the LinphoneAccountCreator </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="269" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="269" bodyend="271"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1gaa525be678af8172f49f5f089cc1210c6" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref></type>
        <definition>LinphoneAccountCreatorStatus linphone_account_creator_set_email</definition>
        <argsstring>(LinphoneAccountCreator *creator, const char *email)</argsstring>
        <name>linphone_account_creator_set_email</name>
        <param>
          <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>email</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Set the email. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">email</parametername>
</parameternamelist>
<parameterdescription>
<para>The email to set </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>LinphoneAccountCreatorOk if everything is OK, or a specific error otherwise. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="273" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="273" bodyend="279"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1gabc5b83e25414a1c46aec516df1f9332f" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>const char *</type>
        <definition>const char* linphone_account_creator_get_email</definition>
        <argsstring>(const LinphoneAccountCreator *creator)</argsstring>
        <name>linphone_account_creator_get_email</name>
        <param>
          <type>const <ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Get the email. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The email of the LinphoneAccountCreator </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="281" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="281" bodyend="283"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga8f8f925e16feb87c1087e4ebc33e9aeb" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void linphone_account_creator_enable_newsletter_subscription</definition>
        <argsstring>(LinphoneAccountCreator *creator, bool_t subscribe)</argsstring>
        <name>linphone_account_creator_enable_newsletter_subscription</name>
        <param>
          <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <param>
          <type>bool_t</type>
          <declname>subscribe</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Enable the newsletter subscription. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">subscribe</parametername>
</parameternamelist>
<parameterdescription>
<para>A boolean telling whether to subscribe to the newsletter or not. </para></parameterdescription>
</parameteritem>
</parameterlist>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="285" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="285" bodyend="287"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga0e260a2b87f370c79d7ca45874ae9c89" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>bool_t</type>
        <definition>bool_t linphone_account_creator_newsletter_subscription_enabled</definition>
        <argsstring>(const LinphoneAccountCreator *creator)</argsstring>
        <name>linphone_account_creator_newsletter_subscription_enabled</name>
        <param>
          <type>const <ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Tell whether to subscribe to the newsletter or not. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>A boolean telling whether to subscribe to the newsletter or not. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="289" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="289" bodyend="291"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga1f91181af688258da8025a4d11de21b7" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref> *</type>
        <definition>LinphoneAccountCreatorCbs* linphone_account_creator_get_callbacks</definition>
        <argsstring>(const LinphoneAccountCreator *creator)</argsstring>
        <name>linphone_account_creator_get_callbacks</name>
        <param>
          <type>const <ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Get the LinphoneAccountCreatorCbs object associated with a LinphoneAccountCreator. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The LinphoneAccountCreatorCbs object associated with the LinphoneAccountCreator. </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="293" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="293" bodyend="295"/>
      </memberdef>
      <memberdef kind="function" id="account__creator_8c_1a9dbad5152b4d797ad309feac1333b85d" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void _test_existence_cb</definition>
        <argsstring>(LinphoneXmlRpcRequest *request)</argsstring>
        <name>_test_existence_cb</name>
        <param>
          <type><ref refid="group__misc_1ga7a93eeab19d58ffc25eff6254f995d53" kindref="member">LinphoneXmlRpcRequest</ref> *</type>
          <declname>request</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="297" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="297" bodyend="307"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga3ef65ae70af4b8517caa10962955ff12" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref></type>
        <definition>LinphoneAccountCreatorStatus linphone_account_creator_test_existence</definition>
        <argsstring>(LinphoneAccountCreator *creator)</argsstring>
        <name>linphone_account_creator_test_existence</name>
        <param>
          <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Send an XML-RPC request to test the existence of a Linphone account. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>LinphoneAccountCreatorOk if the request has been sent, LinphoneAccountCreatorFailed otherwise </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="309" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="309" bodyend="329"/>
      </memberdef>
      <memberdef kind="function" id="account__creator_8c_1a5e1a5d900a273fa220459a148d774806" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void _test_validation_cb</definition>
        <argsstring>(LinphoneXmlRpcRequest *request)</argsstring>
        <name>_test_validation_cb</name>
        <param>
          <type><ref refid="group__misc_1ga7a93eeab19d58ffc25eff6254f995d53" kindref="member">LinphoneXmlRpcRequest</ref> *</type>
          <declname>request</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="331" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="331" bodyend="341"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga6ee3213ee46b4b8518b39d22b01e2428" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref></type>
        <definition>LinphoneAccountCreatorStatus linphone_account_creator_test_validation</definition>
        <argsstring>(LinphoneAccountCreator *creator)</argsstring>
        <name>linphone_account_creator_test_validation</name>
        <param>
          <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Send an XML-RPC request to test the validation of a Linphone account. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>LinphoneAccountCreatorOk if the request has been sent, LinphoneAccountCreatorFailed otherwise </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="343" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="343" bodyend="364"/>
      </memberdef>
      <memberdef kind="function" id="account__creator_8c_1af8c4308426548afd9a771cfab6372f33" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>static void _create_account_cb</definition>
        <argsstring>(LinphoneXmlRpcRequest *request)</argsstring>
        <name>_create_account_cb</name>
        <param>
          <type><ref refid="group__misc_1ga7a93eeab19d58ffc25eff6254f995d53" kindref="member">LinphoneXmlRpcRequest</ref> *</type>
          <declname>request</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="366" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="366" bodyend="376"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga89929431634a64bbadbfc4eba1934153" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref></type>
        <definition>LinphoneAccountCreatorStatus linphone_account_creator_create_account</definition>
        <argsstring>(LinphoneAccountCreator *creator)</argsstring>
        <name>linphone_account_creator_create_account</name>
        <param>
          <type><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Send an XML-RPC request to create a Linphone account. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>LinphoneAccountCreatorOk if the request has been sent, LinphoneAccountCreatorFailed otherwise </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="378" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="378" bodyend="402"/>
      </memberdef>
      <memberdef kind="function" id="group__misc_1ga6b5993a70bd49430b5a502a37ad3accf" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="group__proxies_1ga1879a0d59e068457b688138da97f2d0b" kindref="member">LinphoneProxyConfig</ref> *</type>
        <definition>LinphoneProxyConfig* linphone_account_creator_configure</definition>
        <argsstring>(const LinphoneAccountCreator *creator)</argsstring>
        <name>linphone_account_creator_configure</name>
        <param>
          <type>const <ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref> *</type>
          <declname>creator</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Configure an account (create a proxy config and authentication info for it). <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">creator</parametername>
</parameternamelist>
<parameterdescription>
<para>LinphoneAccountCreator object </para></parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>A LinphoneProxyConfig object if successful, NULL otherwise </para></simplesect>
</para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" line="404" column="1" bodyfile="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c" bodystart="404" bodyend="449"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"><highlight class="comment">/*</highlight></codeline>
<codeline lineno="2"><highlight class="comment">linphone</highlight></codeline>
<codeline lineno="3"><highlight class="comment">Copyright<sp/>(C)<sp/>2010-2015<sp/>Belledonne<sp/>Communications<sp/>SARL</highlight></codeline>
<codeline lineno="4"><highlight class="comment"></highlight></codeline>
<codeline lineno="5"><highlight class="comment">This<sp/>program<sp/>is<sp/>free<sp/>software;<sp/>you<sp/>can<sp/>redistribute<sp/>it<sp/>and/or</highlight></codeline>
<codeline lineno="6"><highlight class="comment">modify<sp/>it<sp/>under<sp/>the<sp/>terms<sp/>of<sp/>the<sp/>GNU<sp/>General<sp/>Public<sp/>License</highlight></codeline>
<codeline lineno="7"><highlight class="comment">as<sp/>published<sp/>by<sp/>the<sp/>Free<sp/>Software<sp/>Foundation;<sp/>either<sp/>version<sp/>2</highlight></codeline>
<codeline lineno="8"><highlight class="comment">of<sp/>the<sp/>License,<sp/>or<sp/>(at<sp/>your<sp/>option)<sp/>any<sp/>later<sp/>version.</highlight></codeline>
<codeline lineno="9"><highlight class="comment"></highlight></codeline>
<codeline lineno="10"><highlight class="comment">This<sp/>program<sp/>is<sp/>distributed<sp/>in<sp/>the<sp/>hope<sp/>that<sp/>it<sp/>will<sp/>be<sp/>useful,</highlight></codeline>
<codeline lineno="11"><highlight class="comment">but<sp/>WITHOUT<sp/>ANY<sp/>WARRANTY;<sp/>without<sp/>even<sp/>the<sp/>implied<sp/>warranty<sp/>of</highlight></codeline>
<codeline lineno="12"><highlight class="comment">MERCHANTABILITY<sp/>or<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE.<sp/><sp/>See<sp/>the</highlight></codeline>
<codeline lineno="13"><highlight class="comment">GNU<sp/>General<sp/>Public<sp/>License<sp/>for<sp/>more<sp/>details.</highlight></codeline>
<codeline lineno="14"><highlight class="comment"></highlight></codeline>
<codeline lineno="15"><highlight class="comment">You<sp/>should<sp/>have<sp/>received<sp/>a<sp/>copy<sp/>of<sp/>the<sp/>GNU<sp/>General<sp/>Public<sp/>License</highlight></codeline>
<codeline lineno="16"><highlight class="comment">along<sp/>with<sp/>this<sp/>program;<sp/>if<sp/>not,<sp/>write<sp/>to<sp/>the<sp/>Free<sp/>Software</highlight></codeline>
<codeline lineno="17"><highlight class="comment">Foundation,<sp/>Inc.,<sp/>59<sp/>Temple<sp/>Place<sp/>-<sp/>Suite<sp/>330,<sp/>Boston,<sp/>MA<sp/><sp/>02111-1307,<sp/>USA.</highlight></codeline>
<codeline lineno="18"><highlight class="comment">*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="19"><highlight class="normal"></highlight></codeline>
<codeline lineno="20"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&quot;account_creator.h&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="21"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&quot;private.h&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="22"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>!_WIN32</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="23"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&quot;regex.h&quot;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="24"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="25"><highlight class="normal"></highlight></codeline>
<codeline lineno="26"><highlight class="normal">BELLE_SIP_DECLARE_NO_IMPLEMENTED_INTERFACES(<ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref>);</highlight></codeline>
<codeline lineno="27"><highlight class="normal"></highlight></codeline>
<codeline lineno="28"><highlight class="normal">BELLE_SIP_INSTANCIATE_VPTR(<ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref>,<sp/>belle_sip_object_t,</highlight></codeline>
<codeline lineno="29"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>NULL,<sp/></highlight><highlight class="comment">//<sp/>destroy</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="30"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>NULL,<sp/></highlight><highlight class="comment">//<sp/>clone</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="31"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>NULL,<sp/></highlight><highlight class="comment">//<sp/>marshal</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="32"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>FALSE</highlight></codeline>
<codeline lineno="33"><highlight class="normal">);</highlight></codeline>
<codeline lineno="34"><highlight class="normal"></highlight></codeline>
<codeline lineno="35"><highlight class="normal"></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref><sp/>*<sp/>linphone_account_creator_cbs_new(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">)<sp/>{</highlight></codeline>
<codeline lineno="36"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>belle_sip_object_new(<ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref>);</highlight></codeline>
<codeline lineno="37"><highlight class="normal">}</highlight></codeline>
<codeline lineno="38"><highlight class="normal"></highlight></codeline>
<codeline lineno="39"><highlight class="normal"><ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref><sp/>*<sp/><ref refid="group__misc_1ga0a5a8f13dbbb2b75a9fea65f5bb3a184" kindref="member">linphone_account_creator_cbs_ref</ref>(<ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref><sp/>*cbs)<sp/>{</highlight></codeline>
<codeline lineno="40"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>belle_sip_object_ref(cbs);</highlight></codeline>
<codeline lineno="41"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>cbs;</highlight></codeline>
<codeline lineno="42"><highlight class="normal">}</highlight></codeline>
<codeline lineno="43"><highlight class="normal"></highlight></codeline>
<codeline lineno="44"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="group__misc_1gafb2b0bf7213192780baa30aa6c0f8d9b" kindref="member">linphone_account_creator_cbs_unref</ref>(<ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref><sp/>*cbs)<sp/>{</highlight></codeline>
<codeline lineno="45"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>belle_sip_object_unref(cbs);</highlight></codeline>
<codeline lineno="46"><highlight class="normal">}</highlight></codeline>
<codeline lineno="47"><highlight class="normal"></highlight></codeline>
<codeline lineno="48"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>*<ref refid="group__misc_1ga3df023d6958b80d97f7a2811a2ee212d" kindref="member">linphone_account_creator_cbs_get_user_data</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref><sp/>*cbs)<sp/>{</highlight></codeline>
<codeline lineno="49"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>cbs-&gt;user_data;</highlight></codeline>
<codeline lineno="50"><highlight class="normal">}</highlight></codeline>
<codeline lineno="51"><highlight class="normal"></highlight></codeline>
<codeline lineno="52"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="group__misc_1ga65494af8f91fe4f82955d00bac36e815" kindref="member">linphone_account_creator_cbs_set_user_data</ref>(<ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref><sp/>*cbs,<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>*ud)<sp/>{</highlight></codeline>
<codeline lineno="53"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>cbs-&gt;user_data<sp/>=<sp/>ud;</highlight></codeline>
<codeline lineno="54"><highlight class="normal">}</highlight></codeline>
<codeline lineno="55"><highlight class="normal"></highlight></codeline>
<codeline lineno="56"><highlight class="normal"><ref refid="group__misc_1ga6e3d820a4cc6af0843baadfabb34b2de" kindref="member">LinphoneAccountCreatorCbsExistenceTestedCb</ref><sp/><ref refid="group__misc_1ga1c335cbf452a5ded9523789356482ac6" kindref="member">linphone_account_creator_cbs_get_existence_tested</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref><sp/>*cbs)<sp/>{</highlight></codeline>
<codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>cbs-&gt;existence_tested;</highlight></codeline>
<codeline lineno="58"><highlight class="normal">}</highlight></codeline>
<codeline lineno="59"><highlight class="normal"></highlight></codeline>
<codeline lineno="60"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="group__misc_1gaa1c31c15eb7c01fbaf6e2f59e79fcb09" kindref="member">linphone_account_creator_cbs_set_existence_tested</ref>(<ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref><sp/>*cbs,<sp/><ref refid="group__misc_1ga6e3d820a4cc6af0843baadfabb34b2de" kindref="member">LinphoneAccountCreatorCbsExistenceTestedCb</ref><sp/>cb)<sp/>{</highlight></codeline>
<codeline lineno="61"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>cbs-&gt;existence_tested<sp/>=<sp/>cb;</highlight></codeline>
<codeline lineno="62"><highlight class="normal">}</highlight></codeline>
<codeline lineno="63"><highlight class="normal"></highlight></codeline>
<codeline lineno="64"><highlight class="normal"><ref refid="group__misc_1gaca82d58079c2c37acd55f176e7fab609" kindref="member">LinphoneAccountCreatorCbsValidationTestedCb</ref><sp/><ref refid="group__misc_1ga3792b02f28c7f85dde033fb73da6c955" kindref="member">linphone_account_creator_cbs_get_validation_tested</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref><sp/>*cbs)<sp/>{</highlight></codeline>
<codeline lineno="65"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>cbs-&gt;validation_tested;</highlight></codeline>
<codeline lineno="66"><highlight class="normal">}</highlight></codeline>
<codeline lineno="67"><highlight class="normal"></highlight></codeline>
<codeline lineno="68"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="group__misc_1ga7c2c5f7a07655ed6f76ceac48fc9a33c" kindref="member">linphone_account_creator_cbs_set_validation_tested</ref>(<ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref><sp/>*cbs,<sp/><ref refid="group__misc_1gaca82d58079c2c37acd55f176e7fab609" kindref="member">LinphoneAccountCreatorCbsValidationTestedCb</ref><sp/>cb)<sp/>{</highlight></codeline>
<codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>cbs-&gt;validation_tested<sp/>=<sp/>cb;</highlight></codeline>
<codeline lineno="70"><highlight class="normal">}</highlight></codeline>
<codeline lineno="71"><highlight class="normal"></highlight></codeline>
<codeline lineno="72"><highlight class="normal"><ref refid="group__misc_1ga313826f63d16752d95f8771c4ade1cb3" kindref="member">LinphoneAccountCreatorCbsCreateAccountCb</ref><sp/><ref refid="group__misc_1gac56f5787f42ea40fde1393c988730263" kindref="member">linphone_account_creator_cbs_get_create_account</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref><sp/>*cbs)<sp/>{</highlight></codeline>
<codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>cbs-&gt;create_account;</highlight></codeline>
<codeline lineno="74"><highlight class="normal">}</highlight></codeline>
<codeline lineno="75"><highlight class="normal"></highlight></codeline>
<codeline lineno="76"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="group__misc_1ga3957c732d37c3b8e462d4dc278ab00d1" kindref="member">linphone_account_creator_cbs_set_create_account</ref>(<ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref><sp/>*cbs,<sp/><ref refid="group__misc_1ga313826f63d16752d95f8771c4ade1cb3" kindref="member">LinphoneAccountCreatorCbsCreateAccountCb</ref><sp/>cb)<sp/>{</highlight></codeline>
<codeline lineno="77"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>cbs-&gt;create_account<sp/>=<sp/>cb;</highlight></codeline>
<codeline lineno="78"><highlight class="normal">}</highlight></codeline>
<codeline lineno="79"><highlight class="normal"></highlight></codeline>
<codeline lineno="80"><highlight class="normal"></highlight></codeline>
<codeline lineno="81"><highlight class="normal"></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>_linphone_account_creator_destroy(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator)<sp/>{</highlight></codeline>
<codeline lineno="82"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1ga594c174060218a5d7f032dc4912d0b0e" kindref="member">linphone_xml_rpc_session_unref</ref>(creator-&gt;xmlrpc_session);</highlight></codeline>
<codeline lineno="83"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1gafb2b0bf7213192780baa30aa6c0f8d9b" kindref="member">linphone_account_creator_cbs_unref</ref>(creator-&gt;callbacks);</highlight></codeline>
<codeline lineno="84"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(creator-&gt;username)<sp/>ms_free(creator-&gt;username);</highlight></codeline>
<codeline lineno="85"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(creator-&gt;password)<sp/>ms_free(creator-&gt;password);</highlight></codeline>
<codeline lineno="86"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(creator-&gt;domain)<sp/>ms_free(creator-&gt;domain);</highlight></codeline>
<codeline lineno="87"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(creator-&gt;route)<sp/>ms_free(creator-&gt;route);</highlight></codeline>
<codeline lineno="88"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(creator-&gt;email)<sp/>ms_free(creator-&gt;email);</highlight></codeline>
<codeline lineno="89"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(creator-&gt;display_name)<sp/>ms_free(creator-&gt;display_name);</highlight></codeline>
<codeline lineno="90"><highlight class="normal">}</highlight></codeline>
<codeline lineno="91"><highlight class="normal"></highlight></codeline>
<codeline lineno="92"><highlight class="normal">BELLE_SIP_DECLARE_NO_IMPLEMENTED_INTERFACES(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref>);</highlight></codeline>
<codeline lineno="93"><highlight class="normal"></highlight></codeline>
<codeline lineno="94"><highlight class="normal">BELLE_SIP_INSTANCIATE_VPTR(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref>,<sp/>belle_sip_object_t,</highlight></codeline>
<codeline lineno="95"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>(belle_sip_object_destroy_t)_linphone_account_creator_destroy,</highlight></codeline>
<codeline lineno="96"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>NULL,<sp/></highlight><highlight class="comment">//<sp/>clone</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="97"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>NULL,<sp/></highlight><highlight class="comment">//<sp/>marshal</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="98"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>FALSE</highlight></codeline>
<codeline lineno="99"><highlight class="normal">);</highlight></codeline>
<codeline lineno="100"><highlight class="normal"></highlight></codeline>
<codeline lineno="101"><highlight class="normal"></highlight></codeline>
<codeline lineno="102"><highlight class="normal"><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*<sp/><ref refid="group__misc_1ga01872a5f797fd97a0bd8915ed169637e" kindref="member">linphone_account_creator_new</ref>(<ref refid="group__initializing_1gaa5cf635b82dd338e7ee2dd3599d05f0a" kindref="member">LinphoneCore</ref><sp/>*core,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*xmlrpc_url)<sp/>{</highlight></codeline>
<codeline lineno="103"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator;</highlight></codeline>
<codeline lineno="104"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>domain<sp/>=<sp/><ref refid="group__misc_1ga9657ebf1d68b43184a796c9bdc68c29a" kindref="member">lp_config_get_string</ref>(core-&gt;config,<sp/></highlight><highlight class="stringliteral">&quot;assistant&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">&quot;domain&quot;</highlight><highlight class="normal">,<sp/>NULL);</highlight></codeline>
<codeline lineno="105"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>creator<sp/>=<sp/>belle_sip_object_new(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref>);</highlight></codeline>
<codeline lineno="106"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>creator-&gt;callbacks<sp/>=<sp/>linphone_account_creator_cbs_new();</highlight></codeline>
<codeline lineno="107"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>creator-&gt;core<sp/>=<sp/>core;</highlight></codeline>
<codeline lineno="108"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>creator-&gt;xmlrpc_session<sp/>=<sp/><ref refid="group__misc_1gad906eec60ae17e3f0891920759d4d62f" kindref="member">linphone_xml_rpc_session_new</ref>(core,<sp/>xmlrpc_url);</highlight></codeline>
<codeline lineno="109"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(domain)<sp/>{</highlight></codeline>
<codeline lineno="110"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1ga53887ed6c1fd0ead0cf729a523de3463" kindref="member">linphone_account_creator_set_domain</ref>(creator,<sp/>domain);</highlight></codeline>
<codeline lineno="111"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="112"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>creator;</highlight></codeline>
<codeline lineno="113"><highlight class="normal">}</highlight></codeline>
<codeline lineno="114"><highlight class="normal"></highlight></codeline>
<codeline lineno="115"><highlight class="normal"><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*<sp/><ref refid="group__misc_1gab09f020b4281d8709fc26fd519088416" kindref="member">linphone_account_creator_ref</ref>(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator)<sp/>{</highlight></codeline>
<codeline lineno="116"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>belle_sip_object_ref(creator);</highlight></codeline>
<codeline lineno="117"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>creator;</highlight></codeline>
<codeline lineno="118"><highlight class="normal">}</highlight></codeline>
<codeline lineno="119"><highlight class="normal"></highlight></codeline>
<codeline lineno="120"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="group__misc_1ga7830dc91f9632c7ae1d5677188d56eb8" kindref="member">linphone_account_creator_unref</ref>(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator)<sp/>{</highlight></codeline>
<codeline lineno="121"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>belle_sip_object_unref(creator);</highlight></codeline>
<codeline lineno="122"><highlight class="normal">}</highlight></codeline>
<codeline lineno="123"><highlight class="normal"></highlight></codeline>
<codeline lineno="124"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>*<ref refid="group__misc_1ga473f21dff2acb5b12cc6f5183f55a7a3" kindref="member">linphone_account_creator_get_user_data</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator)<sp/>{</highlight></codeline>
<codeline lineno="125"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>creator-&gt;user_data;</highlight></codeline>
<codeline lineno="126"><highlight class="normal">}</highlight></codeline>
<codeline lineno="127"><highlight class="normal"></highlight></codeline>
<codeline lineno="128"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="group__misc_1ga7a9a647987112a74d5b2d80ef9f76f9a" kindref="member">linphone_account_creator_set_user_data</ref>(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator,<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>*ud)<sp/>{</highlight></codeline>
<codeline lineno="129"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>creator-&gt;user_data<sp/>=<sp/>ud;</highlight></codeline>
<codeline lineno="130"><highlight class="normal">}</highlight></codeline>
<codeline lineno="131"><highlight class="normal"></highlight></codeline>
<codeline lineno="132"><highlight class="normal"></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref><sp/>validate_uri(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>username,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>domain,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>route,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>display_name)<sp/>{</highlight></codeline>
<codeline lineno="133"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__proxies_1ga1879a0d59e068457b688138da97f2d0b" kindref="member">LinphoneProxyConfig</ref>*<sp/>proxy<sp/>=<sp/><ref refid="group__proxies_1ga6a4575ce4e31bd23f6c7cbd5a8e36475" kindref="member">linphone_proxy_config_new</ref>();</highlight></codeline>
<codeline lineno="134"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__linphone__address_1ga5af5a516ac253e3cda4f51b599a5385b" kindref="member">LinphoneAddress</ref>*<sp/>addr;</highlight></codeline>
<codeline lineno="135"><highlight class="normal"></highlight></codeline>
<codeline lineno="136"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__proxies_1ga340f07d8c1f20623ef311bbd1f112c7a" kindref="member">linphone_proxy_config_set_identity</ref>(proxy,<sp/></highlight><highlight class="stringliteral">&quot;sip:user@domain.com&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="137"><highlight class="normal"></highlight></codeline>
<codeline lineno="138"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(route<sp/>&amp;&amp;<sp/><ref refid="group__proxies_1ga18d183a882fa887abb0c4b710f24cd0c" kindref="member">linphone_proxy_config_set_route</ref>(proxy,<sp/>route)<sp/>!=<sp/>0)<sp/>{</highlight></codeline>
<codeline lineno="139"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__proxies_1ga4439fde3e342d6dff849904348fa0a49" kindref="member">linphone_proxy_config_destroy</ref>(proxy);</highlight></codeline>
<codeline lineno="140"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorRouteInvalid;</highlight></codeline>
<codeline lineno="141"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="142"><highlight class="normal"></highlight></codeline>
<codeline lineno="143"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(username)<sp/>{</highlight></codeline>
<codeline lineno="144"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>addr<sp/>=<sp/><ref refid="group__proxies_1gac6573670d9ec138d3add3303a7f3a669" kindref="member">linphone_proxy_config_normalize_sip_uri</ref>(proxy,<sp/>username);</highlight></codeline>
<codeline lineno="145"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>{</highlight></codeline>
<codeline lineno="146"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>addr<sp/>=<sp/><ref refid="group__linphone__address_1ga7b33626eea53bbd5cea9e5c4c58826df" kindref="member">linphone_address_clone</ref>(<ref refid="group__proxies_1gaf11990682f68c340e914b2962cf088b1" kindref="member">linphone_proxy_config_get_identity_address</ref>(proxy));</highlight></codeline>
<codeline lineno="147"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="148"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__proxies_1ga4439fde3e342d6dff849904348fa0a49" kindref="member">linphone_proxy_config_destroy</ref>(proxy);</highlight></codeline>
<codeline lineno="149"><highlight class="normal"></highlight></codeline>
<codeline lineno="150"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(addr<sp/>==<sp/>NULL)<sp/>{</highlight></codeline>
<codeline lineno="151"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorUsernameInvalid;</highlight></codeline>
<codeline lineno="152"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="153"><highlight class="normal"></highlight></codeline>
<codeline lineno="154"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(domain)<sp/>{</highlight></codeline>
<codeline lineno="155"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ms_error(</highlight><highlight class="stringliteral">&quot;TODO:<sp/>detect<sp/>invalid<sp/>domain&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="156"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__linphone__address_1ga947819a2bbf6aedcd8e5903469cffec5" kindref="member">linphone_address_set_domain</ref>(addr,<sp/>domain);</highlight></codeline>
<codeline lineno="157"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="158"><highlight class="normal"></highlight></codeline>
<codeline lineno="159"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(display_name)<sp/>{</highlight></codeline>
<codeline lineno="160"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ms_error(</highlight><highlight class="stringliteral">&quot;TODO:<sp/>detect<sp/>invalid<sp/>display<sp/>name&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="161"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__linphone__address_1ga5814d2ca174257d5e25da1e0d9c84ae4" kindref="member">linphone_address_set_display_name</ref>(addr,<sp/>display_name);</highlight></codeline>
<codeline lineno="162"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="163"><highlight class="normal"></highlight></codeline>
<codeline lineno="164"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__linphone__address_1gae7ed90ea85c09c793e994367e6a5422e" kindref="member">linphone_address_unref</ref>(addr);</highlight></codeline>
<codeline lineno="165"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorOk;</highlight></codeline>
<codeline lineno="166"><highlight class="normal">}</highlight></codeline>
<codeline lineno="167"><highlight class="normal"></highlight></codeline>
<codeline lineno="168"><highlight class="normal"></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/>bool_t<sp/>is_matching_regex(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*entry,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>regex)<sp/>{</highlight></codeline>
<codeline lineno="169"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>_WIN32</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="170"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>TRUE;</highlight></codeline>
<codeline lineno="171"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="172"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>regex_t<sp/>regex_pattern;</highlight></codeline>
<codeline lineno="173"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>err_msg[256];</highlight></codeline>
<codeline lineno="174"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>res;</highlight></codeline>
<codeline lineno="175"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>res<sp/>=<sp/>regcomp(&amp;regex_pattern,<sp/>regex,<sp/>REG_EXTENDED<sp/>|<sp/>REG_NOSUB);</highlight></codeline>
<codeline lineno="176"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal">(res<sp/>!=<sp/>0)<sp/>{</highlight></codeline>
<codeline lineno="177"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>regerror(res,<sp/>&amp;regex_pattern,<sp/>err_msg,<sp/></highlight><highlight class="keyword">sizeof</highlight><highlight class="normal">(err_msg));</highlight></codeline>
<codeline lineno="178"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ms_error(</highlight><highlight class="stringliteral">&quot;Could<sp/>not<sp/>compile<sp/>regex<sp/>&apos;%s:<sp/>%s&quot;</highlight><highlight class="normal">,<sp/>regex,<sp/>err_msg);</highlight></codeline>
<codeline lineno="179"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>FALSE;</highlight></codeline>
<codeline lineno="180"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="181"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>res<sp/>=<sp/>regexec(&amp;regex_pattern,<sp/>entry,<sp/>0,<sp/>NULL,<sp/>0);</highlight></codeline>
<codeline lineno="182"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>regfree(&amp;regex_pattern);</highlight></codeline>
<codeline lineno="183"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(res<sp/>!=<sp/>REG_NOMATCH);</highlight></codeline>
<codeline lineno="184"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="185"><highlight class="normal">}</highlight></codeline>
<codeline lineno="186"><highlight class="normal"></highlight></codeline>
<codeline lineno="187"><highlight class="normal"><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref><sp/><ref refid="group__misc_1ga65d1a74de5ee2a9d23c56f6bb4af35c2" kindref="member">linphone_account_creator_set_username</ref>(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*username)<sp/>{</highlight></codeline>
<codeline lineno="188"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>min_length<sp/>=<sp/><ref refid="group__misc_1ga36d08c0cbc78d88fd4f043e61e9b9637" kindref="member">lp_config_get_int</ref>(creator-&gt;core-&gt;config,<sp/></highlight><highlight class="stringliteral">&quot;assistant&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">&quot;username_min_length&quot;</highlight><highlight class="normal">,<sp/>0);</highlight></codeline>
<codeline lineno="189"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>fixed_length<sp/>=<sp/><ref refid="group__misc_1ga36d08c0cbc78d88fd4f043e61e9b9637" kindref="member">lp_config_get_int</ref>(creator-&gt;core-&gt;config,<sp/></highlight><highlight class="stringliteral">&quot;assistant&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">&quot;username_length&quot;</highlight><highlight class="normal">,<sp/>0);</highlight></codeline>
<codeline lineno="190"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>bool_t<sp/>use_phone_number<sp/>=<sp/><ref refid="group__misc_1ga36d08c0cbc78d88fd4f043e61e9b9637" kindref="member">lp_config_get_int</ref>(creator-&gt;core-&gt;config,<sp/></highlight><highlight class="stringliteral">&quot;assistant&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">&quot;use_phone_number&quot;</highlight><highlight class="normal">,<sp/>0);</highlight></codeline>
<codeline lineno="191"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>regex<sp/>=<sp/><ref refid="group__misc_1ga9657ebf1d68b43184a796c9bdc68c29a" kindref="member">lp_config_get_string</ref>(creator-&gt;core-&gt;config,<sp/></highlight><highlight class="stringliteral">&quot;assistant&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">&quot;username_regex&quot;</highlight><highlight class="normal">,<sp/>0);</highlight></codeline>
<codeline lineno="192"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref><sp/>status;</highlight></codeline>
<codeline lineno="193"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(min_length<sp/>&gt;<sp/>0<sp/>&amp;&amp;<sp/>strlen(username)<sp/>&lt;<sp/>min_length)<sp/>{</highlight></codeline>
<codeline lineno="194"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorUsernameTooShort;</highlight></codeline>
<codeline lineno="195"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(fixed_length<sp/>&gt;<sp/>0<sp/>&amp;&amp;<sp/>strlen(username)<sp/>!=<sp/>fixed_length)<sp/>{</highlight></codeline>
<codeline lineno="196"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorUsernameInvalidSize;</highlight></codeline>
<codeline lineno="197"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(use_phone_number<sp/>&amp;&amp;<sp/>!<ref refid="group__proxies_1ga81859303cbfbf1c86cbd5c346df69ba6" kindref="member">linphone_proxy_config_is_phone_number</ref>(NULL,<sp/>username))<sp/>{</highlight></codeline>
<codeline lineno="198"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorUsernameInvalid;</highlight></codeline>
<codeline lineno="199"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(regex<sp/>&amp;&amp;<sp/>!is_matching_regex(username,<sp/>regex))<sp/>{</highlight></codeline>
<codeline lineno="200"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorUsernameInvalid;</highlight></codeline>
<codeline lineno="201"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>((status<sp/>=<sp/>validate_uri(username,<sp/>NULL,<sp/>NULL,<sp/>NULL))<sp/>!=<sp/>LinphoneAccountCreatorOk)<sp/>{</highlight></codeline>
<codeline lineno="202"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>status;</highlight></codeline>
<codeline lineno="203"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="204"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>set_string(&amp;creator-&gt;username,<sp/>username,<sp/>TRUE);</highlight></codeline>
<codeline lineno="205"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorOk;</highlight></codeline>
<codeline lineno="206"><highlight class="normal">}</highlight></codeline>
<codeline lineno="207"><highlight class="normal"></highlight></codeline>
<codeline lineno="208"><highlight class="normal"></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*<sp/><ref refid="group__misc_1ga23c955c6f20c34ba4568993325e8b31c" kindref="member">linphone_account_creator_get_username</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator)<sp/>{</highlight></codeline>
<codeline lineno="209"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>creator-&gt;username;</highlight></codeline>
<codeline lineno="210"><highlight class="normal">}</highlight></codeline>
<codeline lineno="211"><highlight class="normal"></highlight></codeline>
<codeline lineno="212"><highlight class="normal"><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref><sp/><ref refid="group__misc_1gac4f32254116f1df0d4a89805b5b832d9" kindref="member">linphone_account_creator_set_password</ref>(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*password){</highlight></codeline>
<codeline lineno="213"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>min_length<sp/>=<sp/><ref refid="group__misc_1ga36d08c0cbc78d88fd4f043e61e9b9637" kindref="member">lp_config_get_int</ref>(creator-&gt;core-&gt;config,<sp/></highlight><highlight class="stringliteral">&quot;assistant&quot;</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">&quot;password_min_length&quot;</highlight><highlight class="normal">,<sp/>0);</highlight></codeline>
<codeline lineno="214"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(min_length<sp/>&gt;<sp/>0<sp/>&amp;&amp;<sp/>strlen(password)<sp/>&lt;<sp/>min_length)<sp/>{</highlight></codeline>
<codeline lineno="215"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorPasswordTooShort;</highlight></codeline>
<codeline lineno="216"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="217"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>set_string(&amp;creator-&gt;password,<sp/>password,<sp/>FALSE);</highlight></codeline>
<codeline lineno="218"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorOk;</highlight></codeline>
<codeline lineno="219"><highlight class="normal">}</highlight></codeline>
<codeline lineno="220"><highlight class="normal"></highlight></codeline>
<codeline lineno="221"><highlight class="normal"></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*<sp/><ref refid="group__misc_1gab65e965b5d4c11dd06cc657b0d723079" kindref="member">linphone_account_creator_get_password</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator)<sp/>{</highlight></codeline>
<codeline lineno="222"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>creator-&gt;password;</highlight></codeline>
<codeline lineno="223"><highlight class="normal">}</highlight></codeline>
<codeline lineno="224"><highlight class="normal"></highlight></codeline>
<codeline lineno="225"><highlight class="normal"><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref><sp/><ref refid="group__misc_1gafd2434b60030136e9c6ab1731a7ca236" kindref="member">linphone_account_creator_set_transport</ref>(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator,<sp/><ref refid="group__linphone__address_1ga3835b7b8ed546312096456602ac0ce1d" kindref="member">LinphoneTransportType</ref><sp/>transport){</highlight></codeline>
<codeline lineno="226"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!linphone_core_sip_transport_supported(creator-&gt;core,<sp/>transport))<sp/>{</highlight></codeline>
<codeline lineno="227"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorTransportNotSupported;</highlight></codeline>
<codeline lineno="228"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="229"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>creator-&gt;transport<sp/>=<sp/>transport;</highlight></codeline>
<codeline lineno="230"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorOk;</highlight></codeline>
<codeline lineno="231"><highlight class="normal">}</highlight></codeline>
<codeline lineno="232"><highlight class="normal"></highlight></codeline>
<codeline lineno="233"><highlight class="normal"><ref refid="group__linphone__address_1ga3835b7b8ed546312096456602ac0ce1d" kindref="member">LinphoneTransportType</ref><sp/><ref refid="group__misc_1ga972792a0534f2892ddfb8d0de9ebb4da" kindref="member">linphone_account_creator_get_transport</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator)<sp/>{</highlight></codeline>
<codeline lineno="234"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>creator-&gt;transport;</highlight></codeline>
<codeline lineno="235"><highlight class="normal">}</highlight></codeline>
<codeline lineno="236"><highlight class="normal"></highlight></codeline>
<codeline lineno="237"><highlight class="normal"><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref><sp/><ref refid="group__misc_1ga53887ed6c1fd0ead0cf729a523de3463" kindref="member">linphone_account_creator_set_domain</ref>(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*domain){</highlight></codeline>
<codeline lineno="238"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(validate_uri(NULL,<sp/>domain,<sp/>NULL,<sp/>NULL)<sp/>!=<sp/>0)<sp/>{</highlight></codeline>
<codeline lineno="239"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorDomainInvalid;</highlight></codeline>
<codeline lineno="240"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="241"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>set_string(&amp;creator-&gt;domain,<sp/>domain,<sp/>TRUE);</highlight></codeline>
<codeline lineno="242"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorOk;</highlight></codeline>
<codeline lineno="243"><highlight class="normal">}</highlight></codeline>
<codeline lineno="244"><highlight class="normal"></highlight></codeline>
<codeline lineno="245"><highlight class="normal"></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*<sp/><ref refid="group__misc_1gad36b9626fee354ee6037536d9d4ca655" kindref="member">linphone_account_creator_get_domain</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator)<sp/>{</highlight></codeline>
<codeline lineno="246"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>creator-&gt;domain;</highlight></codeline>
<codeline lineno="247"><highlight class="normal">}</highlight></codeline>
<codeline lineno="248"><highlight class="normal"></highlight></codeline>
<codeline lineno="249"><highlight class="normal"><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref><sp/><ref refid="group__misc_1ga7cf7bbb54ab9e34aaeb0c7ad8c3a3273" kindref="member">linphone_account_creator_set_route</ref>(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*route)<sp/>{</highlight></codeline>
<codeline lineno="250"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(validate_uri(NULL,<sp/>NULL,<sp/>route,<sp/>NULL)<sp/>!=<sp/>0)<sp/>{</highlight></codeline>
<codeline lineno="251"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorRouteInvalid;</highlight></codeline>
<codeline lineno="252"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="253"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>set_string(&amp;creator-&gt;route,<sp/>route,<sp/>TRUE);</highlight></codeline>
<codeline lineno="254"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorOk;</highlight></codeline>
<codeline lineno="255"><highlight class="normal">}</highlight></codeline>
<codeline lineno="256"><highlight class="normal"></highlight></codeline>
<codeline lineno="257"><highlight class="normal"></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*<sp/><ref refid="group__misc_1gac71b04994c31209749dbc0c025c7c2a0" kindref="member">linphone_account_creator_get_route</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator)<sp/>{</highlight></codeline>
<codeline lineno="258"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>creator-&gt;route;</highlight></codeline>
<codeline lineno="259"><highlight class="normal">}</highlight></codeline>
<codeline lineno="260"><highlight class="normal"></highlight></codeline>
<codeline lineno="261"><highlight class="normal"><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref><sp/><ref refid="group__misc_1gadff0bb66f4aeef51e65cd5f9530c5b86" kindref="member">linphone_account_creator_set_display_name</ref>(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*display_name)<sp/>{</highlight></codeline>
<codeline lineno="262"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(validate_uri(NULL,<sp/>NULL,<sp/>NULL,<sp/>display_name)<sp/>!=<sp/>0)<sp/>{</highlight></codeline>
<codeline lineno="263"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorDisplayNameInvalid;</highlight></codeline>
<codeline lineno="264"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="265"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>set_string(&amp;creator-&gt;display_name,<sp/>display_name,<sp/>FALSE);</highlight></codeline>
<codeline lineno="266"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorOk;</highlight></codeline>
<codeline lineno="267"><highlight class="normal">}</highlight></codeline>
<codeline lineno="268"><highlight class="normal"></highlight></codeline>
<codeline lineno="269"><highlight class="normal"></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*<sp/><ref refid="group__misc_1ga5ee5c74e73382c9a1863495283d20b34" kindref="member">linphone_account_creator_get_display_name</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator)<sp/>{</highlight></codeline>
<codeline lineno="270"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>creator-&gt;display_name;</highlight></codeline>
<codeline lineno="271"><highlight class="normal">}</highlight></codeline>
<codeline lineno="272"><highlight class="normal"></highlight></codeline>
<codeline lineno="273"><highlight class="normal"><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref><sp/><ref refid="group__misc_1gaa525be678af8172f49f5f089cc1210c6" kindref="member">linphone_account_creator_set_email</ref>(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*email)<sp/>{</highlight></codeline>
<codeline lineno="274"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!is_matching_regex(email,<sp/></highlight><highlight class="stringliteral">&quot;^.+@.+\\.[A-Za-z]{2}[A-Za-z]*$&quot;</highlight><highlight class="normal">))<sp/>{</highlight></codeline>
<codeline lineno="275"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorEmailInvalid;</highlight></codeline>
<codeline lineno="276"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="277"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>set_string(&amp;creator-&gt;email,<sp/>email,<sp/>TRUE);</highlight></codeline>
<codeline lineno="278"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorOk;</highlight></codeline>
<codeline lineno="279"><highlight class="normal">}</highlight></codeline>
<codeline lineno="280"><highlight class="normal"></highlight></codeline>
<codeline lineno="281"><highlight class="normal"></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*<sp/><ref refid="group__misc_1gabc5b83e25414a1c46aec516df1f9332f" kindref="member">linphone_account_creator_get_email</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator)<sp/>{</highlight></codeline>
<codeline lineno="282"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>creator-&gt;email;</highlight></codeline>
<codeline lineno="283"><highlight class="normal">}</highlight></codeline>
<codeline lineno="284"><highlight class="normal"></highlight></codeline>
<codeline lineno="285"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="group__misc_1ga8f8f925e16feb87c1087e4ebc33e9aeb" kindref="member">linphone_account_creator_enable_newsletter_subscription</ref>(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator,<sp/>bool_t<sp/>subscribe)<sp/>{</highlight></codeline>
<codeline lineno="286"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>creator-&gt;subscribe_to_newsletter<sp/>=<sp/>subscribe;</highlight></codeline>
<codeline lineno="287"><highlight class="normal">}</highlight></codeline>
<codeline lineno="288"><highlight class="normal"></highlight></codeline>
<codeline lineno="289"><highlight class="normal">bool_t<sp/><ref refid="group__misc_1ga0e260a2b87f370c79d7ca45874ae9c89" kindref="member">linphone_account_creator_newsletter_subscription_enabled</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator)<sp/>{</highlight></codeline>
<codeline lineno="290"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>creator-&gt;subscribe_to_newsletter;</highlight></codeline>
<codeline lineno="291"><highlight class="normal">}</highlight></codeline>
<codeline lineno="292"><highlight class="normal"></highlight></codeline>
<codeline lineno="293"><highlight class="normal"><ref refid="group__misc_1ga10cba453f1c0c559b8f1282e2c3ab24c" kindref="member">LinphoneAccountCreatorCbs</ref><sp/>*<sp/><ref refid="group__misc_1ga1f91181af688258da8025a4d11de21b7" kindref="member">linphone_account_creator_get_callbacks</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator)<sp/>{</highlight></codeline>
<codeline lineno="294"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>creator-&gt;callbacks;</highlight></codeline>
<codeline lineno="295"><highlight class="normal">}</highlight></codeline>
<codeline lineno="296"><highlight class="normal"></highlight></codeline>
<codeline lineno="297"><highlight class="normal"></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>_test_existence_cb(<ref refid="group__misc_1ga7a93eeab19d58ffc25eff6254f995d53" kindref="member">LinphoneXmlRpcRequest</ref><sp/>*request)<sp/>{</highlight></codeline>
<codeline lineno="298"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator<sp/>=<sp/>(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*)<ref refid="group__misc_1gadbfd9726dbdbf5ff325b5b5707f739bb" kindref="member">linphone_xml_rpc_request_get_user_data</ref>(request);</highlight></codeline>
<codeline lineno="299"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(creator-&gt;callbacks-&gt;existence_tested<sp/>!=<sp/>NULL)<sp/>{</highlight></codeline>
<codeline lineno="300"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref><sp/>status<sp/>=<sp/>LinphoneAccountCreatorFailed;</highlight></codeline>
<codeline lineno="301"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>((<ref refid="group__misc_1gacee067f188ad31229c552091e221477d" kindref="member">linphone_xml_rpc_request_get_status</ref>(request)<sp/>==<sp/>LinphoneXmlRpcStatusOk)</highlight></codeline>
<codeline lineno="302"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>&amp;&amp;<sp/>(<ref refid="group__misc_1ga408683ade74e2c264cdfb632ffa9e7ed" kindref="member">linphone_xml_rpc_request_get_int_response</ref>(request)<sp/>==<sp/>0))<sp/>{</highlight></codeline>
<codeline lineno="303"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>status<sp/>=<sp/>LinphoneAccountCreatorOk;</highlight></codeline>
<codeline lineno="304"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="305"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>creator-&gt;callbacks-&gt;existence_tested(creator,<sp/>status);</highlight></codeline>
<codeline lineno="306"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="307"><highlight class="normal">}</highlight></codeline>
<codeline lineno="308"><highlight class="normal"></highlight></codeline>
<codeline lineno="309"><highlight class="normal"><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref><sp/><ref refid="group__misc_1ga3ef65ae70af4b8517caa10962955ff12" kindref="member">linphone_account_creator_test_existence</ref>(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator)<sp/>{</highlight></codeline>
<codeline lineno="310"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1ga7a93eeab19d58ffc25eff6254f995d53" kindref="member">LinphoneXmlRpcRequest</ref><sp/>*request;</highlight></codeline>
<codeline lineno="311"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*identity;</highlight></codeline>
<codeline lineno="312"><highlight class="normal"></highlight></codeline>
<codeline lineno="313"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!creator-&gt;username<sp/>||<sp/>!creator-&gt;domain)<sp/>{</highlight></codeline>
<codeline lineno="314"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(creator-&gt;callbacks-&gt;existence_tested<sp/>!=<sp/>NULL)<sp/>{</highlight></codeline>
<codeline lineno="315"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>creator-&gt;callbacks-&gt;existence_tested(creator,<sp/>LinphoneAccountCreatorFailed);</highlight></codeline>
<codeline lineno="316"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="317"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorFailed;</highlight></codeline>
<codeline lineno="318"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="319"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>identity<sp/>=<sp/>ms_strdup_printf(</highlight><highlight class="stringliteral">&quot;%s@%s&quot;</highlight><highlight class="normal">,<sp/>creator-&gt;username,<sp/>creator-&gt;domain);</highlight></codeline>
<codeline lineno="320"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>request<sp/>=<sp/><ref refid="group__misc_1gac4a0a101d04903a406339315660ec4d3" kindref="member">linphone_xml_rpc_request_new_with_args</ref>(</highlight><highlight class="stringliteral">&quot;check_account&quot;</highlight><highlight class="normal">,<sp/>LinphoneXmlRpcArgInt,</highlight></codeline>
<codeline lineno="321"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>LinphoneXmlRpcArgString,<sp/>identity,</highlight></codeline>
<codeline lineno="322"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>LinphoneXmlRpcArgNone);</highlight></codeline>
<codeline lineno="323"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1ga9e8431c4fda6517cb7f6d032100bd87d" kindref="member">linphone_xml_rpc_request_set_user_data</ref>(request,<sp/>creator);</highlight></codeline>
<codeline lineno="324"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1ga0de27af78035916a98ab886a61d5d770" kindref="member">linphone_xml_rpc_request_cbs_set_response</ref>(<ref refid="group__misc_1gacdd94b9dd3ac3ca10794772e2bbc8502" kindref="member">linphone_xml_rpc_request_get_callbacks</ref>(request),<sp/>_test_existence_cb);</highlight></codeline>
<codeline lineno="325"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1ga04d99efae20b1df40cf56505cd5aa0a5" kindref="member">linphone_xml_rpc_session_send_request</ref>(creator-&gt;xmlrpc_session,<sp/>request);</highlight></codeline>
<codeline lineno="326"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1gac86ca7658bc3d9216a4549f7a4591932" kindref="member">linphone_xml_rpc_request_unref</ref>(request);</highlight></codeline>
<codeline lineno="327"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ms_free(identity);</highlight></codeline>
<codeline lineno="328"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorOk;</highlight></codeline>
<codeline lineno="329"><highlight class="normal">}</highlight></codeline>
<codeline lineno="330"><highlight class="normal"></highlight></codeline>
<codeline lineno="331"><highlight class="normal"></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>_test_validation_cb(<ref refid="group__misc_1ga7a93eeab19d58ffc25eff6254f995d53" kindref="member">LinphoneXmlRpcRequest</ref><sp/>*request)<sp/>{</highlight></codeline>
<codeline lineno="332"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator<sp/>=<sp/>(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*)<ref refid="group__misc_1gadbfd9726dbdbf5ff325b5b5707f739bb" kindref="member">linphone_xml_rpc_request_get_user_data</ref>(request);</highlight></codeline>
<codeline lineno="333"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(creator-&gt;callbacks-&gt;validation_tested<sp/>!=<sp/>NULL)<sp/>{</highlight></codeline>
<codeline lineno="334"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref><sp/>status<sp/>=<sp/>LinphoneAccountCreatorFailed;</highlight></codeline>
<codeline lineno="335"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>((<ref refid="group__misc_1gacee067f188ad31229c552091e221477d" kindref="member">linphone_xml_rpc_request_get_status</ref>(request)<sp/>==<sp/>LinphoneXmlRpcStatusOk)</highlight></codeline>
<codeline lineno="336"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>&amp;&amp;<sp/>(<ref refid="group__misc_1ga408683ade74e2c264cdfb632ffa9e7ed" kindref="member">linphone_xml_rpc_request_get_int_response</ref>(request)<sp/>==<sp/>1))<sp/>{</highlight></codeline>
<codeline lineno="337"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>status<sp/>=<sp/>LinphoneAccountCreatorOk;</highlight></codeline>
<codeline lineno="338"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="339"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>creator-&gt;callbacks-&gt;validation_tested(creator,<sp/>status);</highlight></codeline>
<codeline lineno="340"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="341"><highlight class="normal">}</highlight></codeline>
<codeline lineno="342"><highlight class="normal"></highlight></codeline>
<codeline lineno="343"><highlight class="normal"><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref><sp/><ref refid="group__misc_1ga6ee3213ee46b4b8518b39d22b01e2428" kindref="member">linphone_account_creator_test_validation</ref>(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator)<sp/>{</highlight></codeline>
<codeline lineno="344"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1ga7a93eeab19d58ffc25eff6254f995d53" kindref="member">LinphoneXmlRpcRequest</ref><sp/>*request;</highlight></codeline>
<codeline lineno="345"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*identity;</highlight></codeline>
<codeline lineno="346"><highlight class="normal"></highlight></codeline>
<codeline lineno="347"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!creator-&gt;username<sp/>||<sp/>!creator-&gt;domain)<sp/>{</highlight></codeline>
<codeline lineno="348"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(creator-&gt;callbacks-&gt;validation_tested<sp/>!=<sp/>NULL)<sp/>{</highlight></codeline>
<codeline lineno="349"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>creator-&gt;callbacks-&gt;validation_tested(creator,<sp/>LinphoneAccountCreatorFailed);</highlight></codeline>
<codeline lineno="350"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="351"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorFailed;</highlight></codeline>
<codeline lineno="352"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="353"><highlight class="normal"></highlight></codeline>
<codeline lineno="354"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>identity<sp/>=<sp/>ms_strdup_printf(</highlight><highlight class="stringliteral">&quot;%s@%s&quot;</highlight><highlight class="normal">,<sp/>creator-&gt;username,<sp/>creator-&gt;domain);</highlight></codeline>
<codeline lineno="355"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>request<sp/>=<sp/><ref refid="group__misc_1gac4a0a101d04903a406339315660ec4d3" kindref="member">linphone_xml_rpc_request_new_with_args</ref>(</highlight><highlight class="stringliteral">&quot;check_account_validated&quot;</highlight><highlight class="normal">,<sp/>LinphoneXmlRpcArgInt,</highlight></codeline>
<codeline lineno="356"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>LinphoneXmlRpcArgString,<sp/>identity,</highlight></codeline>
<codeline lineno="357"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>LinphoneXmlRpcArgNone);</highlight></codeline>
<codeline lineno="358"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1ga9e8431c4fda6517cb7f6d032100bd87d" kindref="member">linphone_xml_rpc_request_set_user_data</ref>(request,<sp/>creator);</highlight></codeline>
<codeline lineno="359"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1ga0de27af78035916a98ab886a61d5d770" kindref="member">linphone_xml_rpc_request_cbs_set_response</ref>(<ref refid="group__misc_1gacdd94b9dd3ac3ca10794772e2bbc8502" kindref="member">linphone_xml_rpc_request_get_callbacks</ref>(request),<sp/>_test_validation_cb);</highlight></codeline>
<codeline lineno="360"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1ga04d99efae20b1df40cf56505cd5aa0a5" kindref="member">linphone_xml_rpc_session_send_request</ref>(creator-&gt;xmlrpc_session,<sp/>request);</highlight></codeline>
<codeline lineno="361"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1gac86ca7658bc3d9216a4549f7a4591932" kindref="member">linphone_xml_rpc_request_unref</ref>(request);</highlight></codeline>
<codeline lineno="362"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ms_free(identity);</highlight></codeline>
<codeline lineno="363"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorOk;</highlight></codeline>
<codeline lineno="364"><highlight class="normal">}</highlight></codeline>
<codeline lineno="365"><highlight class="normal"></highlight></codeline>
<codeline lineno="366"><highlight class="normal"></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>_create_account_cb(<ref refid="group__misc_1ga7a93eeab19d58ffc25eff6254f995d53" kindref="member">LinphoneXmlRpcRequest</ref><sp/>*request)<sp/>{</highlight></codeline>
<codeline lineno="367"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator<sp/>=<sp/>(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*)<ref refid="group__misc_1gadbfd9726dbdbf5ff325b5b5707f739bb" kindref="member">linphone_xml_rpc_request_get_user_data</ref>(request);</highlight></codeline>
<codeline lineno="368"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(creator-&gt;callbacks-&gt;create_account<sp/>!=<sp/>NULL)<sp/>{</highlight></codeline>
<codeline lineno="369"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref><sp/>status<sp/>=<sp/>LinphoneAccountCreatorFailed;</highlight></codeline>
<codeline lineno="370"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>((<ref refid="group__misc_1gacee067f188ad31229c552091e221477d" kindref="member">linphone_xml_rpc_request_get_status</ref>(request)<sp/>==<sp/>LinphoneXmlRpcStatusOk)</highlight></codeline>
<codeline lineno="371"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>&amp;&amp;<sp/>(<ref refid="group__misc_1ga408683ade74e2c264cdfb632ffa9e7ed" kindref="member">linphone_xml_rpc_request_get_int_response</ref>(request)<sp/>==<sp/>0))<sp/>{</highlight></codeline>
<codeline lineno="372"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>status<sp/>=<sp/>LinphoneAccountCreatorOk;</highlight></codeline>
<codeline lineno="373"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="374"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>creator-&gt;callbacks-&gt;create_account(creator,<sp/>status);</highlight></codeline>
<codeline lineno="375"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="376"><highlight class="normal">}</highlight></codeline>
<codeline lineno="377"><highlight class="normal"></highlight></codeline>
<codeline lineno="378"><highlight class="normal"><ref refid="group__misc_1ga48d937b2f5157737a3ca24f20e6459bc" kindref="member">LinphoneAccountCreatorStatus</ref><sp/><ref refid="group__misc_1ga89929431634a64bbadbfc4eba1934153" kindref="member">linphone_account_creator_create_account</ref>(<ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator)<sp/>{</highlight></codeline>
<codeline lineno="379"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1ga7a93eeab19d58ffc25eff6254f995d53" kindref="member">LinphoneXmlRpcRequest</ref><sp/>*request;</highlight></codeline>
<codeline lineno="380"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*identity;</highlight></codeline>
<codeline lineno="381"><highlight class="normal"></highlight></codeline>
<codeline lineno="382"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(!creator-&gt;username<sp/>||<sp/>!creator-&gt;domain)<sp/>{</highlight></codeline>
<codeline lineno="383"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(creator-&gt;callbacks-&gt;create_account<sp/>!=<sp/>NULL)<sp/>{</highlight></codeline>
<codeline lineno="384"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>creator-&gt;callbacks-&gt;create_account(creator,<sp/>LinphoneAccountCreatorFailed);</highlight></codeline>
<codeline lineno="385"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="386"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorFailed;</highlight></codeline>
<codeline lineno="387"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="388"><highlight class="normal"></highlight></codeline>
<codeline lineno="389"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>identity<sp/>=<sp/>ms_strdup_printf(</highlight><highlight class="stringliteral">&quot;%s@%s&quot;</highlight><highlight class="normal">,<sp/>creator-&gt;username,<sp/>creator-&gt;domain);</highlight></codeline>
<codeline lineno="390"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>request<sp/>=<sp/><ref refid="group__misc_1gac4a0a101d04903a406339315660ec4d3" kindref="member">linphone_xml_rpc_request_new_with_args</ref>(</highlight><highlight class="stringliteral">&quot;create_account&quot;</highlight><highlight class="normal">,<sp/>LinphoneXmlRpcArgInt,</highlight></codeline>
<codeline lineno="391"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>LinphoneXmlRpcArgString,<sp/>identity,</highlight></codeline>
<codeline lineno="392"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>LinphoneXmlRpcArgString,<sp/>creator-&gt;password,</highlight></codeline>
<codeline lineno="393"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>LinphoneXmlRpcArgString,<sp/>creator-&gt;email,</highlight></codeline>
<codeline lineno="394"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>LinphoneXmlRpcArgInt,<sp/>(creator-&gt;subscribe_to_newsletter<sp/>==<sp/>TRUE)<sp/>?<sp/>1<sp/>:<sp/>0,</highlight></codeline>
<codeline lineno="395"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>LinphoneXmlRpcArgNone);</highlight></codeline>
<codeline lineno="396"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1ga9e8431c4fda6517cb7f6d032100bd87d" kindref="member">linphone_xml_rpc_request_set_user_data</ref>(request,<sp/>creator);</highlight></codeline>
<codeline lineno="397"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1ga0de27af78035916a98ab886a61d5d770" kindref="member">linphone_xml_rpc_request_cbs_set_response</ref>(<ref refid="group__misc_1gacdd94b9dd3ac3ca10794772e2bbc8502" kindref="member">linphone_xml_rpc_request_get_callbacks</ref>(request),<sp/>_create_account_cb);</highlight></codeline>
<codeline lineno="398"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1ga04d99efae20b1df40cf56505cd5aa0a5" kindref="member">linphone_xml_rpc_session_send_request</ref>(creator-&gt;xmlrpc_session,<sp/>request);</highlight></codeline>
<codeline lineno="399"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__misc_1gac86ca7658bc3d9216a4549f7a4591932" kindref="member">linphone_xml_rpc_request_unref</ref>(request);</highlight></codeline>
<codeline lineno="400"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ms_free(identity);</highlight></codeline>
<codeline lineno="401"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>LinphoneAccountCreatorOk;</highlight></codeline>
<codeline lineno="402"><highlight class="normal">}</highlight></codeline>
<codeline lineno="403"><highlight class="normal"></highlight></codeline>
<codeline lineno="404"><highlight class="normal"><ref refid="group__proxies_1ga1879a0d59e068457b688138da97f2d0b" kindref="member">LinphoneProxyConfig</ref><sp/>*<sp/><ref refid="group__misc_1ga6b5993a70bd49430b5a502a37ad3accf" kindref="member">linphone_account_creator_configure</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="group__misc_1gafd6720b4e4e8d51f02511196498238ef" kindref="member">LinphoneAccountCreator</ref><sp/>*creator)<sp/>{</highlight></codeline>
<codeline lineno="405"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>LinphoneAuthInfo<sp/>*info;</highlight></codeline>
<codeline lineno="406"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__proxies_1ga1879a0d59e068457b688138da97f2d0b" kindref="member">LinphoneProxyConfig</ref><sp/>*cfg<sp/>=<sp/><ref refid="group__proxies_1ga165451afd911ce954c3c7a0880fe52f5" kindref="member">linphone_core_create_proxy_config</ref>(creator-&gt;core);</highlight></codeline>
<codeline lineno="407"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*identity_str<sp/>=<sp/>ms_strdup_printf(</highlight><highlight class="stringliteral">&quot;sip:%s@%s&quot;</highlight><highlight class="normal">,<sp/>creator-&gt;username,<sp/>creator-&gt;domain);</highlight></codeline>
<codeline lineno="408"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__linphone__address_1ga5af5a516ac253e3cda4f51b599a5385b" kindref="member">LinphoneAddress</ref><sp/>*identity<sp/>=<sp/><ref refid="group__linphone__address_1ga301c9884c0bc8b1050fe790d424e0b49" kindref="member">linphone_address_new</ref>(identity_str);</highlight></codeline>
<codeline lineno="409"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(creator-&gt;display_name)<sp/>{</highlight></codeline>
<codeline lineno="410"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__linphone__address_1ga5814d2ca174257d5e25da1e0d9c84ae4" kindref="member">linphone_address_set_display_name</ref>(identity,<sp/>creator-&gt;display_name);</highlight></codeline>
<codeline lineno="411"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="412"><highlight class="normal"></highlight></codeline>
<codeline lineno="413"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__proxies_1ga340f07d8c1f20623ef311bbd1f112c7a" kindref="member">linphone_proxy_config_set_identity</ref>(cfg,<sp/><ref refid="group__linphone__address_1ga24c1a16f49f8b72f2bab65cc5d8a51af" kindref="member">linphone_address_as_string</ref>(identity));</highlight></codeline>
<codeline lineno="414"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__proxies_1ga6d3a26abf8bccc9341a856dde1906b2b" kindref="member">linphone_proxy_config_set_server_addr</ref>(cfg,<sp/>creator-&gt;domain);</highlight></codeline>
<codeline lineno="415"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__proxies_1ga18d183a882fa887abb0c4b710f24cd0c" kindref="member">linphone_proxy_config_set_route</ref>(cfg,<sp/>creator-&gt;route);</highlight></codeline>
<codeline lineno="416"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__proxies_1gaf21d29929d15256e0c993a4959d570cd" kindref="member">linphone_proxy_config_enable_publish</ref>(cfg,<sp/>FALSE);</highlight></codeline>
<codeline lineno="417"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__proxies_1gaea39579996645d4bc5e62e68ab097f17" kindref="member">linphone_proxy_config_enable_register</ref>(cfg,<sp/>TRUE);</highlight></codeline>
<codeline lineno="418"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ms_free(identity_str);</highlight></codeline>
<codeline lineno="419"><highlight class="normal"></highlight></codeline>
<codeline lineno="420"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(strcmp(creator-&gt;domain,<sp/></highlight><highlight class="stringliteral">&quot;sip.linphone.org&quot;</highlight><highlight class="normal">)<sp/>==<sp/>0)<sp/>{</highlight></codeline>
<codeline lineno="421"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__proxies_1ga3813a3e0e3ba76b84811300e2972605a" kindref="member">linphone_proxy_config_enable_avpf</ref>(cfg,<sp/>TRUE);</highlight></codeline>
<codeline lineno="422"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>If<sp/>account<sp/>created<sp/>on<sp/>sip.linphone.org,<sp/>we<sp/>configure<sp/>linphone<sp/>to<sp/>use<sp/>TLS<sp/>by<sp/>default</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="423"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(linphone_core_sip_transport_supported(creator-&gt;core,<sp/>LinphoneTransportTls))<sp/>{</highlight></codeline>
<codeline lineno="424"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__linphone__address_1ga5af5a516ac253e3cda4f51b599a5385b" kindref="member">LinphoneAddress</ref><sp/>*addr<sp/>=<sp/><ref refid="group__linphone__address_1ga301c9884c0bc8b1050fe790d424e0b49" kindref="member">linphone_address_new</ref>(<ref refid="group__proxies_1ga44a3fa191fd4d47999749e28b0158d6e" kindref="member">linphone_proxy_config_get_server_addr</ref>(cfg));</highlight></codeline>
<codeline lineno="425"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*tmp;</highlight></codeline>
<codeline lineno="426"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__linphone__address_1ga31a9181e542ea4f08d9aaca1b4998f8a" kindref="member">linphone_address_set_transport</ref>(addr,<sp/>LinphoneTransportTls);</highlight></codeline>
<codeline lineno="427"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>tmp<sp/>=<sp/><ref refid="group__linphone__address_1ga24c1a16f49f8b72f2bab65cc5d8a51af" kindref="member">linphone_address_as_string</ref>(addr);</highlight></codeline>
<codeline lineno="428"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__proxies_1ga6d3a26abf8bccc9341a856dde1906b2b" kindref="member">linphone_proxy_config_set_server_addr</ref>(cfg,<sp/>tmp);</highlight></codeline>
<codeline lineno="429"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__proxies_1ga18d183a882fa887abb0c4b710f24cd0c" kindref="member">linphone_proxy_config_set_route</ref>(cfg,<sp/>tmp);</highlight></codeline>
<codeline lineno="430"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ms_free(tmp);</highlight></codeline>
<codeline lineno="431"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__linphone__address_1ga5777f2976c71a48cf2b3f03c61818f13" kindref="member">linphone_address_destroy</ref>(addr);</highlight></codeline>
<codeline lineno="432"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="433"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__network__parameters_1ga8cef9cabe4bb39b0ec92c92430c628d4" kindref="member">linphone_core_set_stun_server</ref>(creator-&gt;core,<sp/></highlight><highlight class="stringliteral">&quot;stun.linphone.org&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="434"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__network__parameters_1ga73cc66cfaf24bfb1f150208e2e54076b" kindref="member">linphone_core_set_firewall_policy</ref>(creator-&gt;core,<sp/><ref refid="group__network__parameters_1ggadad0a1c27596017d9d9b3c30ef47f5beaeadfb66b915acd91af98e4d5cd47b17b" kindref="member">LinphonePolicyUseIce</ref>);</highlight></codeline>
<codeline lineno="435"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="436"><highlight class="normal"></highlight></codeline>
<codeline lineno="437"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>info<sp/>=<sp/><ref refid="group__authentication_1ga034dd18662e329c0dcd6a56d2b3d24fa" kindref="member">linphone_auth_info_new</ref>(<ref refid="group__linphone__address_1ga4fa5a4927c1d2f3a6b7c6824e35a87bf" kindref="member">linphone_address_get_username</ref>(identity),<sp/>NULL,<sp/>creator-&gt;password,<sp/>NULL,<sp/>NULL,<sp/><ref refid="group__linphone__address_1ga95a356f26c67ed4ee88db878b617c65f" kindref="member">linphone_address_get_domain</ref>(identity));</highlight></codeline>
<codeline lineno="438"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__authentication_1ga62ac5bb34f0342f7edc733c42473b7aa" kindref="member">linphone_core_add_auth_info</ref>(creator-&gt;core,<sp/>info);</highlight></codeline>
<codeline lineno="439"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__linphone__address_1ga5777f2976c71a48cf2b3f03c61818f13" kindref="member">linphone_address_destroy</ref>(identity);</highlight></codeline>
<codeline lineno="440"><highlight class="normal"></highlight></codeline>
<codeline lineno="441"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(<ref refid="group__proxies_1gad8690a56c39fcfb45eb8193ee575918b" kindref="member">linphone_core_add_proxy_config</ref>(creator-&gt;core,<sp/>cfg)<sp/>!=<sp/>-1)<sp/>{</highlight></codeline>
<codeline lineno="442"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__proxies_1ga2082f2c37ffbf5d46e8d20ae8bccc2a4" kindref="member">linphone_core_set_default_proxy</ref>(creator-&gt;core,<sp/>cfg);</highlight></codeline>
<codeline lineno="443"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>cfg;</highlight></codeline>
<codeline lineno="444"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline>
<codeline lineno="445"><highlight class="normal"></highlight></codeline>
<codeline lineno="446"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__authentication_1gafb8037a3bbee6f04458c354d8c1ca83e" kindref="member">linphone_core_remove_auth_info</ref>(creator-&gt;core,<sp/>info);</highlight></codeline>
<codeline lineno="447"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="group__proxies_1ga813af731d0baf61dd6b25590344b62a2" kindref="member">linphone_proxy_config_unref</ref>(cfg);</highlight></codeline>
<codeline lineno="448"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>NULL;</highlight></codeline>
<codeline lineno="449"><highlight class="normal">}</highlight></codeline>
    </programlisting>
    <location file="/usr/src/slapt-src/network/linphone/linphone-3.9.1/coreapi/account_creator.c"/>
  </compounddef>
</doxygen>
