|
Stun Server
Compliant with the latest RFCs including 5389, 5769, and 5780
discover the local host's own external IP address
|
#include <cmdlineparser.h>
Classes | |
| struct | OptionDetail |
Public Member Functions | |
| HRESULT | AddOption (const char *pszName, int has_arg, std::string *pStrResult) |
| HRESULT | AddNonOption (std::string *pStrResult) |
| HRESULT | ParseCommandLine (int argc, char **argv, int startindex, bool *fParseError) |
Private Member Functions | |
| const option * | GenerateOptions () |
Private Attributes | |
| std::vector< option > | _options |
| std::vector< std::string * > | _namelessArgs |
| std::vector< OptionDetail > | _listOptionDetails |
Definition at line 23 of file cmdlineparser.h.
| HRESULT CCmdLineParser::AddNonOption | ( | std::string * | pStrResult | ) |
Definition at line 71 of file cmdlineparser.cpp.
| HRESULT CCmdLineParser::AddOption | ( | const char * | pszName, |
| int | has_arg, | ||
| std::string * | pStrResult | ||
| ) |
Definition at line 50 of file cmdlineparser.cpp.
|
private |
Definition at line 24 of file cmdlineparser.cpp.
| HRESULT CCmdLineParser::ParseCommandLine | ( | int | argc, |
| char ** | argv, | ||
| int | startindex, | ||
| bool * | fParseError | ||
| ) |
Definition at line 78 of file cmdlineparser.cpp.
|
private |
Definition at line 39 of file cmdlineparser.h.
|
private |
Definition at line 29 of file cmdlineparser.h.
|
private |
Definition at line 27 of file cmdlineparser.h.