فهرست منبع

gislib: cosmetics in doxygen documentation

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46977 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 سال پیش
والد
کامیت
5c454c7ad2
3فایلهای تغییر یافته به همراه26 افزوده شده و 11 حذف شده
  1. 5 3
      lib/gis/env.c
  2. 1 1
      lib/gis/parser.c
  3. 20 7
      lib/gis/putenv.c

+ 5 - 3
lib/gis/env.c

@@ -1,9 +1,9 @@
 /*!
-  \file gis/env.c
+  \file lib/gis/env.c
 
   \brief GIS library - environment routines
   
-  (C) 2001-2009 by the GRASS Development Team
+  (C) 2001-2009, 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.
@@ -377,10 +377,12 @@ void G_setenv(const char *name, const char *value)
   
   If value is NULL, becomes an G_unsetenv().
   Updates .gisrc
+
   
   \param name variable name
   \param value variable value
-  \param loc location id
+  \param loc location (G_VAR_GISRC, G_VAR_MAPSET)
+
 */
 void G_setenv2(const char *name, const char *value, int loc)
 {

+ 1 - 1
lib/gis/parser.c

@@ -687,7 +687,7 @@ char *G_recreate_command(void)
 	opt = opt->next_opt;
     }
 
-    return (buff);
+    return buff;
 }
 
 /*!

+ 20 - 7
lib/gis/putenv.c

@@ -1,20 +1,33 @@
+/*!
+  \file lib/gis/putenv.c
+
+  \brief GIS library - environment routines
+  
+  (C) 2001-2009, 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 Original author CERL
+  \author Updated for GRASS7 by Glynn Clements
+*/
+
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <grass/config.h>
 #include <grass/gis.h>
 
-/*******************************************************************
- * G_putenv (name, value)
- *   const char *name, *value
- *
- * this routine sets the UNIX environment variable name to value
- ******************************************************************/
-
 #if !defined(HAVE_PUTENV) && !defined(HAVE_SETENV)
 extern char **environ;
 #endif
 
+/*!
+  \brief Sets the UNIX environment variable name to value
+  
+  \param name env name
+  \param value env value
+*/
 void G_putenv(const char *name, const char *value)
 {
     char buf[1024];