[PATCH] Renamed db_res_t to db1_res_t in doxygen documentation.

Jan Janak jan at iptel.org
Thu Feb 12 20:18:57 CET 2009


---
 lib/srdb1/db.h     |    4 ++--
 lib/srdb1/db_res.h |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/srdb1/db.h b/lib/srdb1/db.h
index 1064ed3..5b2c0e8 100644
--- a/lib/srdb1/db.h
+++ b/lib/srdb1/db.h
@@ -171,10 +171,10 @@ typedef int (*db_raw_query_f) (const db1_con_t* _h, const str* _s, db1_res_t** _
  * \brief Free a result allocated by db_query.
  *
  * This function frees all memory allocated previously in db_query. Its
- * neccessary to call this function on a db_res_t structure if you don't need the
+ * neccessary to call this function on a db1_res_t structure if you don't need the
  * structure anymore. You must call this function before you call db_query again!
  * \param _h database connection handle
- * \param _r pointer to db_res_t structure to destroy
+ * \param _r pointer to db1_res_t structure to destroy
  * \return returns 0 if everything is OK, otherwise returns value < 0
  */
 typedef int (*db_free_result_f) (db1_con_t* _h, db1_res_t* _r);
diff --git a/lib/srdb1/db_res.h b/lib/srdb1/db_res.h
index 40eb09c..aeab717 100644
--- a/lib/srdb1/db_res.h
+++ b/lib/srdb1/db_res.h
@@ -44,11 +44,11 @@ struct db_row;
  * This type represents a result returned by db_query function (see below). The 
  * result can consist of zero or more rows (see db_row_t description).
  *
- * Note: A variable of type db_res_t returned by db_query function uses dynamicaly
+ * Note: A variable of type db1_res_t returned by db_query function uses dynamicaly
  * allocated memory, don't forget to call db_free_result if you don't need the
  * variable anymore. You will encounter memory leaks if you fail to do this!
  *
- * In addition to zero or more rows, each db_res_t object contains also an array
+ * In addition to zero or more rows, each db1_res_t object contains also an array
  * of db_key_t objects. The objects represent keys (names of columns). *
  */
 typedef struct db1_res {
-- 
1.5.6.5


--7ZAtKRhVyVSsbBD2
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0005-Database-type-enum-values-such-as-DB_INT-renamed-t.patch"



More information about the sr-dev mailing list