| Gnome Library Reference Manual | |||
|---|---|---|---|
| <<< Previous Page | Home | Up | Next Page >>> |
#include <gnome.h> void gnomelib_register_popt_table (const struct poptOption *options, const char *description); poptContext gnomelib_parse_args (int argc, char *argv[], int popt_flags); |
void gnomelib_register_popt_table (const struct poptOption *options,
const char *description); |
Registers the options table of command line options for the GNOME command line argument parser.
| options : | a poptOption table to register |
| description : | description for this table of options. |
poptContext gnomelib_parse_args (int argc,
char *argv[],
int popt_flags); |
Parses the arguments in argv according to all of the registered tables.
| argc : | the argument count to parse |
| argv : | a vector with the argument values |
| popt_flags : | popt flags that control the parse process |
| Returns : | a poptContext to the remaining arguments. |