|
Defines |
| #define | MAX_MTIMESTAMP 999999 |
Functions |
| string | substituteEnvVars (string input) |
| | substitutes environment variables in a string
|
| string | maskChars (string str) |
| string * | strToUpr (string *src) |
| string | strToUpr (string src) |
| string * | strToLwr (string *src) |
| string | strToLwr (string src) |
| int | hexToInt (const char *in) |
| string | ucharToHex (unsigned char in) |
| string | getSimpleTimeString () |
| bool | getCurrentTimeBuffer (char *dtbuf, char *datebuf, char *timebuf, time_t *clock) |
| bool | getCurrentTimeString (string *dtstr, string *datestr, string *timestr, time_t *clock) |
| string | getDayOfWeek (time_t *clock) |
| static void | bufferDestroy (void *buffer) |
| static void | bufferKeyAlloc () |
| void | initLogging (char *Iam, char *logfile) |
| void | writeMessage (const char *ctrl,...) |
| int | strToInt (string s) |
| unsigned int | strToUInt (string s) |
| string | iToStr (int i) |
| string | fToStr (double i) |
| char * | scanForString (char *buf, char *toFind, char **ret, int offset, unsigned int length) |
| char * | scanForString (char *buf, char *toFind, string *ret, int offset, unsigned int length) |
| string | scanForString (string buf, string toFind, string *ret, int offset, unsigned int length) |
| void | split (string str, string delim, vector< string > &results, bool allowEmpty) |
| void | msleep (unsigned long msec) |
| bool | scanString (string toscan, string frontkey, string backkey, unsigned int offset, unsigned int length, string *result, unsigned int *nextpos) |
| string | cpToStr (char *str) |
| string | cToStr (char chr) |
| void | trim (string &str) |
| bool | strToBool (string s) |
| bool | dblSlash (char a, char b) |
| void | fixPathStr (string &path) |
| | Removes double slashes from strings containing filesystem paths.
|
| void | executeCmd (string cmd, pid_t *cpid) |
| bool | file_exist (string filename) |
| void | writeDebugMessage (const char *identity, const char *filename, const int lineno, const char *msg,...) |
| void | writeDebugMessage (const char *identity, const char *filename, const int lineno, const string &msg) |
| void | writeMessage2Stdout (const char *identity, const char *filename, const int lineno, const char *msg,...) |
| void | writeMessage2Stdout (const char *identity, const char *filename, const int lineno, const string &msg) |
| unsigned int | getMTimeStamp () |
| unsigned int | getMDiff (unsigned int start_ts, unsigned int end_ts) |
| int64_t | timespecDiff (struct timespec *timeA, struct timespec *timeB) |
| void | rotateUCharBuffer180 (unsigned char *buffer, int pitch, int w, int h) |
| void | rotateUShortIntBuffer180 (unsigned short int *buffer, int pitch, int w, int h) |
| void | rotateUIntBuffer180 (unsigned int *buffer, int pitch, int w, int h) |
| bool | convBidiString (const string &in_str, string &out_str, bool bArabic) |
| | Convert a bidirectional string.
|
| string | XMLencode (const string &source) |
Variables |
| static pthread_once_t | buffer_key_once = PTHREAD_ONCE_INIT |
| static pthread_key_t | key_iam |
| static pthread_key_t | key_logfile |
| static FILE * | fp = NULL |
| static MMSMutex | debugMsgMutex |