Prechádzať zdrojové kódy

usrloc: doxygen docs fixes

Henning Westerholt 7 rokov pred
rodič
commit
6b39875c2f

+ 3 - 3
src/modules/usrloc/dlist.c

@@ -85,7 +85,7 @@ static inline int find_dlist(str* _n, dlist_t** _d)
  * \param flags contact flags
  * \param flags contact flags
  * \param part_idx part index
  * \param part_idx part index
  * \param part_max maximal part
  * \param part_max maximal part
- * \param GAU options
+ * \param options options
  * \return 0 on success, positive if buffer size was not sufficient, negative on failure
  * \return 0 on success, positive if buffer size was not sufficient, negative on failure
  */
  */
 static inline int get_all_db_ucontacts(void *buf, int len, unsigned int flags,
 static inline int get_all_db_ucontacts(void *buf, int len, unsigned int flags,
@@ -333,7 +333,7 @@ static inline int get_all_db_ucontacts(void *buf, int len, unsigned int flags,
  * \param flags contact flags
  * \param flags contact flags
  * \param part_idx part index
  * \param part_idx part index
  * \param part_max maximal part
  * \param part_max maximal part
- * \param GAU options
+ * \param options options
  * \return 0 on success, positive if buffer size was not sufficient, negative on failure
  * \return 0 on success, positive if buffer size was not sufficient, negative on failure
  */
  */
 static inline int get_all_mem_ucontacts(void *buf, int len, unsigned int flags,
 static inline int get_all_mem_ucontacts(void *buf, int len, unsigned int flags,
@@ -483,7 +483,7 @@ static inline int get_all_mem_ucontacts(void *buf, int len, unsigned int flags,
  * \param flags contact flags
  * \param flags contact flags
  * \param part_idx part index
  * \param part_idx part index
  * \param part_max maximal part
  * \param part_max maximal part
- * \param GAU options
+ * \param options options
  * \return 0 on success, positive if buffer size was not sufficient, negative on failure
  * \return 0 on success, positive if buffer size was not sufficient, negative on failure
  */
  */
 int get_all_ucontacts(void *buf, int len, unsigned int flags,
 int get_all_ucontacts(void *buf, int len, unsigned int flags,

+ 1 - 1
src/modules/usrloc/dlist.h

@@ -109,7 +109,7 @@ int synchronize_all_udomains(int istart, int istep);
  * \param flags contact flags
  * \param flags contact flags
  * \param part_idx part index
  * \param part_idx part index
  * \param part_max maximal part
  * \param part_max maximal part
- * \param GAU options
+ * \param options options
  * \return 0 on success, positive if buffer size was not sufficient, negative on failure
  * \return 0 on success, positive if buffer size was not sufficient, negative on failure
  */
  */
 int get_all_ucontacts(void *buf, int len, unsigned int flags,
 int get_all_ucontacts(void *buf, int len, unsigned int flags,

+ 4 - 2
src/modules/usrloc/udomain.c

@@ -764,7 +764,7 @@ done:
  * \brief Loads from DB all contacts for a RUID
  * \brief Loads from DB all contacts for a RUID
  * \param _c database connection
  * \param _c database connection
  * \param _d domain
  * \param _d domain
- * \param _aor address of record
+ * \param _ruid record unique id
  * \return pointer to the record on success, 0 on errors or if nothing is found
  * \return pointer to the record on success, 0 on errors or if nothing is found
  */
  */
 urecord_t* db_load_urecord_by_ruid(db1_con_t* _c, udomain_t* _d, str *_ruid)
 urecord_t* db_load_urecord_by_ruid(db1_con_t* _c, udomain_t* _d, str *_ruid)
@@ -1010,8 +1010,10 @@ void mem_delete_urecord(udomain_t* _d, struct urecord* _r)
 
 
 
 
 /*!
 /*!
- * \brief Run timer handler for given domain
+ * \brief Run timer handler for given domain, delete urecords
  * \param _d domain
  * \param _d domain
+ * \param istart start of run
+ * \param istep loop steps
  */
  */
 void mem_timer_udomain(udomain_t* _d, int istart, int istep)
 void mem_timer_udomain(udomain_t* _d, int istart, int istep)
 {
 {

+ 1 - 1
src/modules/usrloc/urecord.c

@@ -735,7 +735,7 @@ static inline struct ucontact* contact_path_match( ucontact_t* ptr, str* _c, str
 /*!
 /*!
  * \brief Match a contact record to a Call-ID only
  * \brief Match a contact record to a Call-ID only
  * \param ptr contact record
  * \param ptr contact record
- * \param _c contact string
+ * \param _callid callid string
  * \return ptr on successfull match, 0 when they not match
  * \return ptr on successfull match, 0 when they not match
  */
  */
 static inline struct ucontact* contact_match_callidonly( ucontact_t* ptr, str* _callid)
 static inline struct ucontact* contact_match_callidonly( ucontact_t* ptr, str* _callid)