21#ifndef _RTSP_COMMON_HH
22#define _RTSP_COMMON_HH
32#if defined(__WIN32__) || defined(_WIN32) || defined(_QNX4)
33#define _strncasecmp _strnicmp
34#define snprintf _snprintf
36#define _strncasecmp strncasecmp
39#define RTSP_PARAM_STRING_MAX 200
43 unsigned resultCmdNameMaxSize,
44 char* resultURLPreSuffix,
45 unsigned resultURLPreSuffixMaxSize,
46 char* resultURLSuffix,
47 unsigned resultURLSuffixMaxSize,
49 unsigned resultCSeqMaxSize,
50 char* resultSessionId,
51 unsigned resultSessionIdMaxSize,
52 unsigned& contentLength,
Boolean& urlIsRTSPS);
Boolean parseRangeHeader(char const *buf, double &rangeStart, double &rangeEnd, char *&absStartTime, char *&absEndTime, Boolean &startTimeIsNow)
Boolean parseRangeParam(char const *paramStr, double &rangeStart, double &rangeEnd, char *&absStartTime, char *&absEndTime, Boolean &startTimeIsNow)
Boolean parseScaleHeader(char const *buf, float &scale)
Boolean parseRTSPRequestString(char const *reqStr, unsigned reqStrSize, char *resultCmdName, unsigned resultCmdNameMaxSize, char *resultURLPreSuffix, unsigned resultURLPreSuffixMaxSize, char *resultURLSuffix, unsigned resultURLSuffixMaxSize, char *resultCSeq, unsigned resultCSeqMaxSize, char *resultSessionId, unsigned resultSessionIdMaxSize, unsigned &contentLength, Boolean &urlIsRTSPS)
Boolean RTSPOptionIsSupported(char const *commandName, char const *optionsResponseString)
char const * dateHeader()