Fork me on GitHub
Loading...
Searching...
No Matches
Functions
options.c File Reference
#include "options.h"
Include dependency graph for options.c:

Functions

gboolean janus_options_parse (janus_options *options, 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.
 

Function Documentation

◆ janus_options_destroy()

void janus_options_destroy ( void )

Helper method to get rid of the options parser resources.

◆ janus_options_parse()

gboolean janus_options_parse ( janus_options * opts,
int argc,
char * argv[] )

Helper method to parse the command line options.

Parameters
optsA pointer to the janus_options instance to save the options to
argcThe number of arguments
argvThe command line arguments
Returns
TRUE if successful, FALSE otherwise