mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
Adding more to the option parser.
Adding instruction on how to test it.
This commit is contained in:
parent
732b17a368
commit
633c9becd9
4 changed files with 40 additions and 6 deletions
3
util.h
3
util.h
|
@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue