|
myMPD
Internal API documentation
|
Command line options handling. More...


Go to the source code of this file.
Enumerations | |
| enum | handle_options_rc { OPTIONS_RC_INVALID = -1 , OPTIONS_RC_OK = 0 , OPTIONS_RC_EXIT = 1 } |
Functions | |
| enum handle_options_rc | handle_options (struct t_config *config, int argc, char **argv) |
Command line options handling.
| enum handle_options_rc |
Return codes for options handler
| enum handle_options_rc handle_options | ( | struct t_config * | config, |
| int | argc, | ||
| char ** | argv | ||
| ) |
Handles the command line arguments
| config | pointer to myMPD static configuration |
| argc | from main function |
| argv | from main function |