/*! * \brief Delete contact from the database * \param _c deleted contact * \return 0 on success, -1 on failure */ int db_delete_ucontact(ucontact_t* _c) { if(ul_db_ops_ruid==0) return db_delete_ucontact_addr(_c); else return db_delete_ucontact_ruid(_c); }
/*! * \brief Delete contact from the database * \param _c deleted contact * \return 0 on success, -1 on failure */ int db_delete_ucontact(ucontact_t* _c) { if (cfg_get(p_usrloc, p_usrloc_cfg, db_ops_ruid) == 0) return db_delete_ucontact_addr(_c); else return db_delete_ucontact_ruid(_c); }