$darkmode
Suckless OGL
1.0.0
A lean, high-performance C11 PBR Renderer
Back to Docs
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
cli.h
Go to the documentation of this file.
1
6
#ifndef CLI_H
7
#define CLI_H
8
13
typedef
enum
{
14
CLI_ACTION_CONTINUE
,
16
CLI_ACTION_EXIT_SUCCESS
,
17
CLI_ACTION_EXIT_FAILURE
19
}
CliAction
;
20
30
CliAction
cli_handle_args
(
int
argc,
char
* argv[]);
31
32
#endif
/* CLI_H */
cli_handle_args
CliAction cli_handle_args(int argc, char *argv[])
Parses command-line arguments and determines the next action.
Definition:
cli.c:18
CliAction
CliAction
Directive for the application after parsing arguments.
Definition:
cli.h:13
CLI_ACTION_CONTINUE
@ CLI_ACTION_CONTINUE
Definition:
cli.h:14
CLI_ACTION_EXIT_SUCCESS
@ CLI_ACTION_EXIT_SUCCESS
Definition:
cli.h:16
CLI_ACTION_EXIT_FAILURE
@ CLI_ACTION_EXIT_FAILURE
Definition:
cli.h:17
include
cli.h
Generated by
1.9.1