Browse Source

modules_k/p_usrloc fixed compilation

Marius Zbihlei 14 years ago
parent
commit
b6ece81f1b
1 changed files with 9 additions and 0 deletions
  1. 9 0
      modules_k/p_usrloc/ucontact.h

+ 9 - 0
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