[GRASS-SVN] r39614 - grass/trunk/lib/db/dbmi_base
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Oct 22 17:02:23 EDT 2009
Author: martinl
Date: 2009-10-22 17:02:22 -0400 (Thu, 22 Oct 2009)
New Revision: 39614
Modified:
grass/trunk/lib/db/dbmi_base/token.c
Log:
doxygen strings for token.c
Modified: grass/trunk/lib/db/dbmi_base/token.c
===================================================================
--- grass/trunk/lib/db/dbmi_base/token.c 2009-10-22 20:14:46 UTC (rev 39613)
+++ grass/trunk/lib/db/dbmi_base/token.c 2009-10-22 21:02:22 UTC (rev 39614)
@@ -1,3 +1,16 @@
+/*!
+ \file db/dbmi_base/token.c
+
+ \brief DBMI Library (base) - tokens management
+
+ (C) 1999-2009 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
+*/
#include <grass/dbmi.h>
/* these routines manage a mapping between tokens (ints) and memory addresses */
@@ -7,11 +20,13 @@
static dbToken count = 0;
/*!
- \fn
- \brief
- \return
- \param
- */
+ \brief Find token
+
+ \param token pointer to dbToken
+
+ \return dbAddress
+ \return NULL if no token found
+*/
dbAddress db_find_token(dbToken token)
{
if (token >= 0 && token < count)
@@ -20,11 +35,10 @@
}
/*!
- \fn
- \brief
- \return
- \param
- */
+ \brief Drop token
+
+ \param token pointer to dbToken
+*/
void db_drop_token(dbToken token)
{
if (token >= 0 && token < count)
@@ -32,10 +46,11 @@
}
/*!
- \fn
- \brief
- \return
- \param
+ \brief Add new token
+
+ \param address dbAddress of token to be added
+
+ \return dbToken
*/
dbToken db_new_token(dbAddress address)
{
More information about the grass-commit
mailing list