[GRASS-SVN] r46777 - grass/trunk/lib/db/dbmi_client

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jun 25 09:52:47 EDT 2011


Author: martinl
Date: 2011-06-25 06:52:47 -0700 (Sat, 25 Jun 2011)
New Revision: 46777

Modified:
   grass/trunk/lib/db/dbmi_client/column.c
Log:
libdb: client/columns.c note supported type in dox documentation


Modified: grass/trunk/lib/db/dbmi_client/column.c
===================================================================
--- grass/trunk/lib/db/dbmi_client/column.c	2011-06-25 10:30:35 UTC (rev 46776)
+++ grass/trunk/lib/db/dbmi_client/column.c	2011-06-25 13:52:47 UTC (rev 46777)
@@ -1,18 +1,18 @@
 /*!
- * \file db/dbmi_client/column.c
- * 
- * \brief DBMI Library (client) - column info
- *
- * (C) 1999-2008 by the GRASS Development Team
- *
- * This program is free software under the GNU General Public
- * License (>=v2). Read the file COPYING that comes with GRASS
- * for details.
- *
- * \author Joel Jones (CERL/UIUC), Radim Blazek
- * \author Update by Glynn Clement <glynn gclements.plus.com>
- * and Martin Landa <landa.martin gmail.com>
- */
+  \file lib/db/dbmi_client/column.c
+  
+  \brief DBMI Library (client) - column info
+  
+  (C) 1999-2008, 2011 by the GRASS Development Team
+  
+  This program is free software under the GNU General Public
+  License (>=v2). Read the file COPYING that comes with GRASS
+  for details.
+  
+  \author Joel Jones (CERL/UIUC), Radim Blazek
+  \author Update by Glynn Clement <glynn gclements.plus.com>
+  \author Martin Landa <landa.martin gmail.com>
+*/
 
 #include <stdlib.h>
 #include <string.h>
@@ -25,6 +25,22 @@
 
   See db_sqltype_name().
 
+  Supported types:
+   - DB_SQL_TYPE_UNKNOWN
+   - DB_SQL_TYPE_CHARACTER
+   - DB_SQL_TYPE_SMALLINT
+   - DB_SQL_TYPE_INTEGER
+   - DB_SQL_TYPE_REAL
+   - DB_SQL_TYPE_DOUBLE_PRECISION
+   - DB_SQL_TYPE_DECIMAL
+   - DB_SQL_TYPE_NUMERIC
+   - DB_SQL_TYPE_DATE
+   - DB_SQL_TYPE_TIME
+   - DB_SQL_TYPE_TIMESTAMP
+   - DB_SQL_TYPE_INTERVAL
+   - DB_SQL_TYPE_TEXT
+   - DB_SQL_TYPE_SERIAL
+
   \param driver DB driver
   \param tab table name
   \param col column name
@@ -63,6 +79,12 @@
 
   See db_sqltype_to_Ctype().
 
+  Supported types:
+   - DB_C_TYPE_STRING
+   - DB_C_TYPE_INT
+   - DB_C_TYPE_DOUBLE
+   - DB_C_TYPE_DATETIME
+
   \param driver DB driver
   \param tab table name
   \param col column name



More information about the grass-commit mailing list