16 lines
365 B
C
16 lines
365 B
C
|
#ifndef ARGS_H
|
||
|
#define ARGS_H
|
||
|
|
||
|
#include <stdbool.h>
|
||
|
|
||
|
typedef struct CommandLineArguments {
|
||
|
int argc;
|
||
|
char** argv;
|
||
|
} CommandLineArguments;
|
||
|
|
||
|
void argsInit(CommandLineArguments* commandLineArguments);
|
||
|
bool argsParse(CommandLineArguments* commandLineArguments, char* commandLine);
|
||
|
void argsFree(CommandLineArguments* commandLineArguments);
|
||
|
|
||
|
#endif /* ARGS_H */
|