i2pd/util.h
Meeh 633c9becd9 Adding more to the option parser.
Adding instruction on how to test it.
2014-01-31 01:39:16 +01:00

21 lines
358 B
C++

#ifndef UTIL_H
#define UTIL_H
#include <map>
#include <string>
namespace i2p
{
namespace util
{
extern std::map<std::string, std::string> mapArgs;
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);
}
}
#endif