GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#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"
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) |
#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().
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 buf, G_gets(), and hit_return().
Referenced by hit_return(), main(), and mapset_message().
int list_locations | ( | const char * | gisdbase | ) |
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().
Definition at line 53 of file set_data.c.
References can_make_location(), D_GISDBASE, D_LOCATION_NAME, E_edit_cellhd(), first_word(), G__getenv(), G__put_window(), G__setenv(), G__write_env(), G_get_default_window(), G_getenv(), G_legal_filename(), G_strip(), G_unsetenv(), G_whoami(), G_yes(), getenv(), GRASS_VERSION_NUMBER, hit_return(), list_locations(), list_mapsets(), make_location(), make_mapset(), mapset_message(), mapset_permissions(), mapset_question(), sprintf(), V_call(), V_clear(), V_intrpt_ok(), V_line(), V_ques(), and python.core::version().