#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "opt.h"
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) |
void GnoFree | ( | GnoOption_s * | pOpt | ) |
Definition at line 357 of file opt.c.
References GnoOption::ppszValue, GnoOption::pszLong, and GnoOption::pszShort.
void GnoHelp | ( | char * | pszHead, | |
GnoOption_s * | pOpt | |||
) |
Definition at line 390 of file opt.c.
References GNO_FLG_SWITCH, GnoOption::pszLong, and GnoOption::pszShort.
int GnoParse | ( | int | argc, | |
char ** | argv, | |||
GnoOption_s * | pOpt | |||
) |
Definition at line 190 of file opt.c.
References False, GnoOption::fDef, GNO_FLG_SWITCH, GnoOption::pfValue, GnoOption::ppszValue, GnoOption::pszLong, GnoOption::pszShort, and True.