GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
set_data.c File Reference
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/vask.h>
#include <grass/edit.h>
#include "local_proto.h"
Include dependency graph for set_data.c:

Go to the source code of this file.

Macros

#define D_LOCATION_NAME   "spearfish"
#define D_GISDBASE   "/data"
#define GRASS_VERSION_NUMBER   ""

Functions

int main (int argc, char *argv[])
int list_locations (const char *gisdbase)
int list_mapsets (const char *location_name, const char *location)
int first_word (char *buf)
int hit_return (void)

Macro Definition Documentation

#define D_GISDBASE   "/data"

Definition at line 13 of file set_data.c.

Referenced by main().

#define D_LOCATION_NAME   "spearfish"

Definition at line 10 of file set_data.c.

Referenced by main().

#define GRASS_VERSION_NUMBER   ""

Definition at line 16 of file set_data.c.

Referenced by main().


Function Documentation

int first_word ( char *  buf)

Definition at line 329 of file set_data.c.

Referenced by main().

int hit_return ( void  )

Definition at line 340 of file set_data.c.

References G_gets(), and hit_return().

Referenced by hit_return(), main(), and mapset_message().

int list_locations ( const char *  gisdbase)

Definition at line 278 of file set_data.c.

References G_ls().

Referenced by main().

int list_mapsets ( const char *  location_name,
const char *  location 
)

Definition at line 287 of file set_data.c.

References G__ls(), mapset_permissions(), and python.core::mapsets().

Referenced by main().