Stun Server  Compliant with the latest RFCs including 5389, 5769, and 5780
discover the local host's own external IP address
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
stringhelper.cpp File Reference
#include "commonincludes.hpp"
#include <stdlib.h>
#include <vector>
#include <string>
#include "stringhelper.h"
Include dependency graph for stringhelper.cpp:

Go to the source code of this file.

Namespaces

 StringHelper
 

Macros

#define ISWHITESPACE(ch)   (((ch >= 9)&&(ch<=0xd))||(ch== ' '))
 

Functions

bool StringHelper::IsNullOrEmpty (const char *psz)
 
void StringHelper::ToLower (std::string &str)
 
void StringHelper::Trim (std::string &str)
 
int StringHelper::ValidateNumberString (const char *psz, int nMinValue, int nMaxValue, int *pnResult)
 

Macro Definition Documentation

#define ISWHITESPACE (   ch)    (((ch >= 9)&&(ch<=0xd))||(ch== ' '))

Definition at line 27 of file stringhelper.cpp.