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 155 of file SIPClient.cpp.

References NULL.

00155                                         {
00156   // returns the start of the next line, or NULL if none
00157   for (char* ptr = startOfLine; *ptr != '\0'; ++ptr) {
00158     if (*ptr == '\r' || *ptr == '\n') {
00159       // We found the end of the line
00160       *ptr++ = '\0';
00161       if (*ptr == '\n') ++ptr;
00162       return ptr;
00163     }
00164   }
00165 
00166   return NULL;
00167 }


Variable Documentation

unsigned const timerAFires = 0xAAAAAAAA

Definition at line 328 of file SIPClient.cpp.

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

unsigned const timerBFires = 0xBBBBBBBB

Definition at line 329 of file SIPClient.cpp.

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

unsigned const timerDFires = 0xDDDDDDDD

Definition at line 330 of file SIPClient.cpp.

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


Generated on Tue Oct 7 15:39:14 2008 for live by  doxygen 1.5.2