[v0.01] Update LICENSE and source code extensions
This commit is contained in:
19
src/common/args.hpp
Normal file
19
src/common/args.hpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef __ARGS__
|
||||
#define __ARGS__
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
enum {
|
||||
ARG_HELP,
|
||||
ARG_VERSION
|
||||
};
|
||||
|
||||
extern const char args_chr[];
|
||||
extern const char *args_str[];
|
||||
|
||||
int max_arg_str_length();
|
||||
bool parse_args(int argc, char* argv[]);
|
||||
bool show_help();
|
||||
bool show_version();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user