dvbci.cpp File Reference

Go to the source code of this file.

Classes

class  cTPDU
class  cCiTransportConnection
class  cCiTransportLayer
class  cCiSession
class  cCiResourceManager
class  cCiApplicationInformation
class  cCiConditionalAccessSupport
class  cCiDateTime
class  cCiMMI

Enumerations

enum  eState { stIDLE, stCREATION, stACTIVE, stDELETION }

Functions

ssize_t safe_read (int filedes, void *buffer, size_t size)
static const uint8_t * GetLength (const uint8_t *Data, int &Length)
static uint8_t * SetLength (uint8_t *Data, int Length)
static char * CopyString (int Length, const uint8_t *Data)
static char * GetString (int &Length, const uint8_t **Data)

Variables

static bool DumpTPDUDataTransfer = false
static bool DebugProtocol = false
static bool _connected = false


Enumeration Type Documentation

enum eState

Enumerator:
stIDLE 
stCREATION 
stACTIVE 
stDELETION 

Definition at line 355 of file dvbci.cpp.


Function Documentation

ssize_t safe_read ( int  filedes,
void *  buffer,
size_t  size 
)

Definition at line 78 of file dvbci.cpp.

Referenced by cTPDU::Read().

static const uint8_t* GetLength ( const uint8_t *  Data,
int &  Length 
) [static]

Parameters:
Length  Gets the length field from the beginning of Data.
Returns:
Returns a pointer to the first byte after the length and stores the length value in Length.

Definition at line 90 of file dvbci.cpp.

Referenced by cCiSession::GetData(), cTPDU::GetData(), and GetString().

static uint8_t* SetLength ( uint8_t *  Data,
int  Length 
) [static]

Parameters:
Length  Sets the length field at the beginning of Data.
Returns:
Returns a pointer to the first byte after the length.

Definition at line 105 of file dvbci.cpp.

Referenced by cTPDU::cTPDU(), and cCiSession::SendData().

static char* CopyString ( int  Length,
const uint8_t *  Data 
) [static]

Parameters:
Data  Copies the string at Data.
Returns:
Returns a pointer to a newly allocated string.

Definition at line 125 of file dvbci.cpp.

Referenced by GetString(), and cCiMMI::Process().

static char* GetString ( int &  Length,
const uint8_t **  Data 
) [static]

Parameters:
Data  Gets the string at Data.
Returns:
Returns a pointer to a newly allocated string, or NULL in case of error. Upon return Length and Data represent the remaining data after the string has been skipped.

Definition at line 135 of file dvbci.cpp.


Variable Documentation

bool DumpTPDUDataTransfer = false [static]

Definition at line 58 of file dvbci.cpp.

Referenced by cTPDU::Dump().

bool DebugProtocol = false [static]

Definition at line 59 of file dvbci.cpp.

bool _connected = false [static]

Definition at line 60 of file dvbci.cpp.

Referenced by cLlCiHandler::connected(), and cCiTransportConnection::CreateConnection().


Generated on Sat Dec 18 05:15:51 2010 for MythTV by  doxygen 1.5.5