Logo Search packages:      
Sourcecode: t38modem version File versions  Download package

Public Member Functions | Private Types | Private Member Functions | Private Attributes

HDLC Class Reference

Collaboration diagram for HDLC:
Collaboration graph
[legend]

List of all members.

Public Member Functions

int GetData (void *pBuf, PINDEX count)
void GetHdlcStart (BOOL sync)
int getLastChar ()
PINDEX getRawCount ()
void GetRawStart (PINDEX flags=0)
BOOL isFcsOK ()
void PutHdlcData (DataStream *_inData)
void PutRawData (DataStream *_inData)
void resetRawCount ()

Private Types

enum  { stEof, stSync, stSkipFlags, stData }

Private Member Functions

int GetHdlcData (void *pBuf, PINDEX count)
int GetInData (void *pBuf, PINDEX count)
int GetRawData (void *pBuf, PINDEX count)
void pack (const void *pBuf, PINDEX count, BOOL flag=FALSE)
BOOL skipFlag (BYTE b)
BOOL sync (BYTE b)
BOOL unpack (BYTE b)

Private Attributes

FCS fcs
DWORD hdlcChunk
int hdlcChunkLen
enum HDLC:: { ... }  hdlcState
DataStreaminData
int inDataType
int lastChar
DataStream outData
int outDataType
BYTE rawByte
int rawByteLen
PINDEX rawCount
int rawOnes

Detailed Description

Definition at line 39 of file hdlc.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index