Module: sip-router
Branch: mariuszbihlei/p_usrloc
Commit: 8a92cf78e8fa94f2ab4ed382b5d61a0712327898
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8a92cf7…
Author: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Date: Thu Jan 20 13:35:59 2011 +0200
modules_k/p_usrloc fixed compilation
---
modules_k/p_usrloc/ucontact.h | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/modules_k/p_usrloc/ucontact.h b/modules_k/p_usrloc/ucontact.h
index b8cf662..8bff5f4 100644
--- a/modules_k/p_usrloc/ucontact.h
+++ b/modules_k/p_usrloc/ucontact.h
@@ -145,6 +145,15 @@ int db_delete_ucontact(ucontact_t* _c);
struct urecord;
+/*!
+ * \brief Update ucontact with new values
+ * \param _r record the contact belongs to
+ * \param _c updated contact
+ * \param _ci new contact informations
+ * \return 0 on success, -1 on failure
+ */
+int update_ucontact(struct urecord* _r, ucontact_t* _c, ucontact_info_t* _ci);
+
#endif