Adding more to the option parser.

Adding instruction on how to test it.
This commit is contained in:
Meeh 2014-01-31 01:39:16 +01:00
parent 732b17a368
commit 633c9becd9
4 changed files with 40 additions and 6 deletions

3
util.h
View file

@ -9,8 +9,9 @@ namespace i2p
namespace util
{
extern std::map<std::string, std::string> mapArgs;
void ParseArguments(int argc, const char* const argv[]);
void OptionParser(int argc, const char* const argv[]);
int GetIntArg(const std::string& strArg, int nDefault);
const char* GetCharArg(const std::string& strArg, const std::string& nDefault);
}
}