GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
opt.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "opt.h"
Include dependency graph for opt.c:

Go to the source code of this file.

Functions

int GnoParse (int argc, char **argv, GnoOption_s *pOpt)
void GnoFree (GnoOption_s *pOpt)
void GnoHelp (char *pszHead, GnoOption_s *pOpt)

Function Documentation

void GnoFree ( GnoOption_s pOpt)

Definition at line 320 of file opt.c.

References NULL, GnoOption::ppszValue, GnoOption::pszLong, and GnoOption::pszShort.

void GnoHelp ( char *  pszHead,
GnoOption_s pOpt 
)

Definition at line 346 of file opt.c.

References GNO_FLG_SWITCH, GnoOption::pszLong, and GnoOption::pszShort.

int GnoParse ( int  argc,
char **  argv,
GnoOption_s pOpt 
)