myMPD
Internal API documentation
Loading...
Searching...
No Matches
handle_options.h
Go to the documentation of this file.
1
/*
2
SPDX-License-Identifier: GPL-3.0-or-later
3
myMPD (c) 2018-2025 Juergen Mang <mail@jcgames.de>
4
https://github.com/jcorporation/mympd
5
*/
6
11
#ifndef MYMPD_HANDLE_OPTIONS_H
12
#define MYMPD_HANDLE_OPTIONS_H
13
14
#include "
src/lib/config_def.h
"
15
16
#include <stdbool.h>
17
21
enum
handle_options_rc
{
22
OPTIONS_RC_INVALID = -1,
23
OPTIONS_RC_OK = 0,
24
OPTIONS_RC_EXIT = 1
25
};
26
27
enum
handle_options_rc
handle_options
(
struct
t_config
*config,
int
argc,
char
**argv);
28
29
#endif
config_def.h
Central myMPD configuration definitions.
handle_options
enum handle_options_rc handle_options(struct t_config *config, int argc, char **argv)
Definition
handle_options.c:110
handle_options_rc
handle_options_rc
Definition
handle_options.h:21
t_config
Definition
config_def.h:22
src
lib
handle_options.h
Generated by
1.9.8