<h1>Project "FreeSWITCH Source" received a push.</h1>
<h2>branch: master updated</h2>
<pre>
via: f202328effa33588b3766a63ca0a7f6ab835ef76 (commit)
from: 0dcdd78cb5ba84f940fdcf0dfefcfb7ee17cc0c6 (commit)
</pre>= COMMIT LOG ===========================================================
<div class="highlight"><pre>committer: Mathieu Parent
comments:
Doc: somes details on user registration functions
<span style="color: #000080; font-weight: bold">diff --git a/src/include/switch_core.h b/src/include/switch_core.h</span>
<span style="color: #000080; font-weight: bold">index 984b54f..9505fe4 100644</span>
<span style="color: #A00000">--- a/src/include/switch_core.h</span>
<span style="color: #00A000">+++ b/src/include/switch_core.h</span>
<span style="color: #800080; font-weight: bold">@@ -2227,9 +2227,33 @@ SWITCH_DECLARE(const char *) switch_core_banner(void);</span>
SWITCH_DECLARE(switch_bool_t) switch_core_session_in_thread(switch_core_session_t *session);
SWITCH_DECLARE(uint32_t) switch_default_ptime(const char *name, uint32_t number);
<span style="color: #00A000">+/*!</span>
<span style="color: #00A000">+ \brief Add user registration</span>
<span style="color: #00A000">+ \param [in] user</span>
<span style="color: #00A000">+ \param [in] realm</span>
<span style="color: #00A000">+ \param [in] token</span>
<span style="color: #00A000">+ \param [in] url - a freeswitch dial string</span>
<span style="color: #00A000">+ \param [in] expires</span>
<span style="color: #00A000">+ \param [in] network_ip</span>
<span style="color: #00A000">+ \param [in] network_port</span>
<span style="color: #00A000">+ \param [in] network_proto - one of tls, tcp, udp</span>
<span style="color: #00A000">+ \param [out] err - Error if it exists</span>
<span style="color: #00A000">+*/</span>
SWITCH_DECLARE(switch_status_t) switch_core_add_registration(const char *user, const char *realm, const char *token, const char *url, uint32_t expires,
                                                                                                                         const char *network_ip, const char *network_port, const char *network_proto);
<span style="color: #00A000">+/*!</span>
<span style="color: #00A000">+ \brief Delete user registration</span>
<span style="color: #00A000">+ \param [in] user</span>
<span style="color: #00A000">+ \param [in] realm</span>
<span style="color: #00A000">+ \param [in] token</span>
<span style="color: #00A000">+ \param [out] err - Error if it exists</span>
<span style="color: #00A000">+*/</span>
SWITCH_DECLARE(switch_status_t) switch_core_del_registration(const char *user, const char *realm, const char *token);
<span style="color: #00A000">+/*!</span>
<span style="color: #00A000">+ \brief Expire user registrations</span>
<span style="color: #00A000">+ \param [in] force delete all registrations</span>
<span style="color: #00A000">+ \param [out] err - Error if it exists</span>
<span style="color: #00A000">+*/</span>
SWITCH_DECLARE(switch_status_t) switch_core_expire_registration(int force);
SWITCH_END_EXTERN_C
</pre></div>
========================================================================<pre>
Summary of changes:
src/include/switch_core.h | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
</pre>
<p>this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email<br />
For more info, see <a href="http://blog.chomperstomp.com/?p=630">http://blog.chomperstomp.com/?p=630</a>
-- <br />
FreeSWITCH Source</p>