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

Functions

gboolean janus_pprec_options_parse (janus_pprec_options *options, int argc, char *argv[])
 Helper method to parse the command line options. More...
 
void janus_pprec_options_help (void)
 Helper method to print the command line options help summary. More...
 
void janus_pprec_options_destroy (void)
 Helper method to get rid of the options parser resources. More...
 

Function Documentation

◆ janus_pprec_options_destroy()

void janus_pprec_options_destroy ( void  )

Helper method to get rid of the options parser resources.

◆ janus_pprec_options_help()

void janus_pprec_options_help ( void  )

Helper method to print the command line options help summary.

◆ janus_pprec_options_parse()

gboolean janus_pprec_options_parse ( janus_pprec_options opts,
int  argc,
char *  argv[] 
)

Helper method to parse the command line options.

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