liveMedia/SIPClient.cpp File Reference

#include "SIPClient.hh"
#include "GroupsockHelper.hh"

Include dependency graph for SIPClient.cpp:

Go to the source code of this file.

Defines

#define _strncasecmp   strncasecmp

Functions

static char * getLine (char *startOfLine)

Variables

unsigned const timerAFires = 0xAAAAAAAA
unsigned const timerBFires = 0xBBBBBBBB
unsigned const timerDFires = 0xDDDDDDDD


Define Documentation

#define _strncasecmp   strncasecmp

Definition at line 27 of file SIPClient.cpp.


Function Documentation

static char* getLine ( char *  startOfLine  )  [static]

Definition at line 164 of file SIPClient.cpp.

References NULL.

00164                                         {
00165   // returns the start of the next line, or NULL if none
00166   for (char* ptr = startOfLine; *ptr != '\0'; ++ptr) {
00167     if (*ptr == '\r' || *ptr == '\n') {
00168       // We found the end of the line
00169       *ptr++ = '\0';
00170       if (*ptr == '\n') ++ptr;
00171       return ptr;
00172     }
00173   }
00174 
00175   return NULL;
00176 }


Variable Documentation

unsigned const timerAFires = 0xAAAAAAAA

Definition at line 336 of file SIPClient.cpp.

Referenced by SIPClient::doInviteStateMachine(), and SIPClient::timerAHandler().

unsigned const timerBFires = 0xBBBBBBBB

Definition at line 337 of file SIPClient.cpp.

Referenced by SIPClient::doInviteStateMachine(), and SIPClient::timerBHandler().

unsigned const timerDFires = 0xDDDDDDDD

Definition at line 338 of file SIPClient.cpp.

Referenced by SIPClient::doInviteStateMachine(), and SIPClient::timerDHandler().


Generated on Tue Mar 25 14:38:29 2014 for live by  doxygen 1.5.2