creeper
argumentParser.h
Go to the documentation of this file.
1#ifndef ARGUMENTPARSER_H
2#define ARGUMENTPARSER_H
3
38int initArgumentParser(int argc, char* argv[]);
39
44char* getCommand(void);
45
56char* getValueForOption(const char* keyName);
57
60
67char* getArgument(int index);
68
69#endif // ARGUMENTPARSER_H
int getNumberOfArguments(void)
char * getValueForOption(const char *keyName)
Gets the corresponding value for a given option key ("-key=value")
char * getCommand(void)
Retrieves the program name.
int initArgumentParser(int argc, char *argv[])
Initializes the simple command-line parsing module.
char * getArgument(int index)
Retrieves an argument.