Ver Fonte

modules_k/p_usrloc fixed compilation

Marius Zbihlei há 14 anos atrás
pai
commit
b6ece81f1b
1 ficheiros alterados com 9 adições e 0 exclusões
  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