GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
form.c File Reference
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/time.h>
#include <sys/types.h>
#include <tcl.h>
#include <tk.h>
#include <locale.h>
#include <grass/gis.h>
#include <grass/dbmi.h>
#include <grass/form.h>
Include dependency graph for form.c:

Go to the source code of this file.

Data Structures

struct  COLUMN

Macros

#define USE_INTERP_RESULT

Functions

int reset_values (ClientData cdata, Tcl_Interp *interp, int argc, char *argv[])
int set_value (ClientData cdata, Tcl_Interp *interp, int argc, char *argv[])
int submit (ClientData cdata, Tcl_Interp *interp, int argc, char *argv[])
int Tcl_AppInit (Tcl_Interp *interp)
int main (int argc, char *argv[])

Macro Definition Documentation

#define USE_INTERP_RESULT

Definition at line 10 of file form.c.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 306 of file form.c.

References G_debug(), and Tcl_AppInit().

int reset_values ( ClientData  cdata,
Tcl_Interp *  interp,
int  argc,
char *  argv[] 
)

Definition at line 34 of file form.c.

References NULL.

Referenced by Tcl_AppInit().

int set_value ( ClientData  cdata,
Tcl_Interp *  interp,
int  argc,
char *  argv[] 
)

Definition at line 46 of file form.c.

References COLUMN, G_debug(), G_store(), COLUMN::name, and COLUMN::value.

Referenced by Tcl_AppInit().

int Tcl_AppInit ( Tcl_Interp *  interp)

Definition at line 272 of file form.c.

References NULL, reset_values(), set_value(), and submit().

Referenced by main().