[PATCH] Renamed type names (DB_ -> DB1_) in comments and documentation.

Jan Janak jan at iptel.org
Thu Feb 12 20:22:10 CET 2009


---
 lib/srdb1/db_row.c |    2 +-
 lib/srdb1/db_val.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/srdb1/db_row.c b/lib/srdb1/db_row.c
index 83aca8f..ec1205c 100644
--- a/lib/srdb1/db_row.c
+++ b/lib/srdb1/db_row.c
@@ -52,7 +52,7 @@ inline int db_free_row(db_row_t* _r)
 	/*
 	 * Loop thru each columm, then check to determine if the storage pointed to
 	 * by db_val_t structure must be freed. This is required for all data types
-	 * which use a pointer to a buffer like DB_STRING, DB_STR and DB_BLOB and
+	 * which use a pointer to a buffer like DB1_STRING, DB1_STR and DB1_BLOB and
 	 * the database module copied them during the assignment.
 	 * If this is not done, a memory leak will happen.
 	 * Don't try to free the static dummy string (as indicated from the NULL value),
diff --git a/lib/srdb1/db_val.h b/lib/srdb1/db_val.h
index a8133c5..be0c4a8 100644
--- a/lib/srdb1/db_val.h
+++ b/lib/srdb1/db_val.h
@@ -27,7 +27,7 @@
  *
  * This file defines data structures that represents values in the database.
  * Several datatypes are recognized and converted by the database API.
- * Available types: DB_INT, DB_DOUBLE, DB_STRING, DB_STR, DB_DATETIME, DB_BLOB and DB_BITMAP
+ * Available types: DB1_INT, DB1_DOUBLE, DB1_STRING, DB1_STR, DB1_DATETIME, DB1_BLOB and DB1_BITMAP
  * It also provides some macros for convenient access to this values,
  * and a function to convert a str to a value.
  * \ingroup db
-- 
1.5.6.5


--7ZAtKRhVyVSsbBD2
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0007-Updated-the-value-of-file-doxygen-tags.patch"



More information about the sr-dev mailing list