i2pd/util.h

21 lines
358 B
C
Raw Normal View History

2014-01-30 07:28:07 +04:00
#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[]);
2014-01-30 07:28:07 +04:00
int GetIntArg(const std::string& strArg, int nDefault);
const char* GetCharArg(const std::string& strArg, const std::string& nDefault);
2014-01-30 07:28:07 +04:00
}
}
#endif