Command line options parser for Janus. More...
#include <glib.h>
Go to the source code of this file.
Data Structures | |
struct | janus_options |
Struct containing the parsed command line options for Janus. More... | |
Typedefs | |
typedef struct janus_options | janus_options |
Struct containing the parsed command line options for Janus. | |
Functions | |
gboolean | janus_options_parse (janus_options *opts, int argc, char *argv[]) |
Helper method to parse the command line options. | |
void | janus_options_destroy (void) |
Helper method to get rid of the options parser resources. | |
Command line options parser for Janus.
Command line options parser for Janus (headers)
Helper code to parse the Janus command line options using GOptionEntry.
typedef struct janus_options janus_options |
Struct containing the parsed command line options for Janus.
void janus_options_destroy | ( | void | ) |
Helper method to get rid of the options parser resources.
gboolean janus_options_parse | ( | janus_options * | opts, |
int | argc, | ||
char * | argv[] ) |
Helper method to parse the command line options.
opts | A pointer to the janus_options instance to save the options to |
argc | The number of arguments |
argv | The command line arguments |