[GRASS-SVN] r35468 - grass/trunk/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 17 14:15:47 EST 2009
Author: martinl
Date: 2009-01-17 14:15:47 -0500 (Sat, 17 Jan 2009)
New Revision: 35468
Modified:
grass/trunk/lib/gis/env.c
Log:
fix doxygen documentation
Modified: grass/trunk/lib/gis/env.c
===================================================================
--- grass/trunk/lib/gis/env.c 2009-01-17 19:01:49 UTC (rev 35467)
+++ grass/trunk/lib/gis/env.c 2009-01-17 19:15:47 UTC (rev 35468)
@@ -1,17 +1,15 @@
-
/**
- \file env.c
+ \file lib/gis/env.c
\brief GIS library - environment routines
- (C) 2001-2008 by the GRASS Development Team
+ (C) 2001-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.
+ This program is free software under the GNU General Public License
+ (>=v2). Read the file COPYING that comes with GRASS for details.
\author Original author CERL
+ \author Updated for GRASS7 by Glynn Clements
*/
#include <signal.h>
@@ -70,8 +68,6 @@
/**
\brief Get info where variables are stored
- \param
-
\return mode
*/
int G_get_gisrc_mode(void)
@@ -79,6 +75,11 @@
return (st->varmode);
}
+/**
+ \brief Initialize variables
+
+ \return
+*/
void G_init_env(void)
{
read_env(G_VAR_GISRC);
@@ -366,7 +367,7 @@
\param name variable name
\param value variable value
- \return 0
+ \return
*/
void G_setenv(const char *name, const char *value)
{
@@ -385,7 +386,7 @@
\param value variable value
\param loc location id
- \return 0
+ \return
*/
void G_setenv2(const char *name, const char *value, int loc)
{
@@ -400,7 +401,7 @@
\param name variable name
\param value variable value
- \return 0
+ \return
*/
void G__setenv(const char *name, const char *value)
{
@@ -415,7 +416,7 @@
\param value variable value
\param loc location id
- \return 0
+ \return
*/
void G__setenv2(const char *name, const char *value, int loc)
{
@@ -430,7 +431,7 @@
\param name variable name
- \return 0
+ \return
*/
void G_unsetenv(const char *name)
{
@@ -445,8 +446,9 @@
Updates .gisrc
\param name variable name
-
- \return 0
+ \param loc location id
+
+ \return
*/
void G_unsetenv2(const char *name, int loc)
{
@@ -458,9 +460,7 @@
/**
\brief Writes current environment to .gisrc
- \param
-
- \return 0
+ \return
*/
void G__write_env(void)
{
@@ -481,6 +481,7 @@
\param n index of variable
\return pointer to variable name
+ \return NULL not found
*/
const char *G__env_name(int n)
{
@@ -497,9 +498,7 @@
/**
\brief Initialize init array for G_VAR_GISRC.
- \param
-
- \return 0
+ \return
*/
void G__read_env(void)
{
@@ -509,9 +508,7 @@
/**
\brief Set up alternative environment variables
- \param
-
- \return 0
+ \return
*/
void G__create_alt_env(void)
{
@@ -534,9 +531,7 @@
/**
\brief Switch environments
- \param
-
- \return 0
+ \return
*/
void G__switch_env(void)
{
More information about the grass-commit
mailing list