The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CompressFrame class

Class for compressing FrameSets Subclass of Frame class. More...

Collaboration diagram for CompressFrame class:

Functions

FSTATIC gboolean _compressframe_default_isvalid (const Frame *self,gconstpointer tlvptr,gconstpointer pktend)
 CompressFrame class 'isvalid' member function (checks for valid compression method). More...
 
CompressFramecompressframe_new (guint16 frame_type, guint16 compression_method)
 Construct a new CompressFrame - derived frame types are not allowed. More...
 
WINEXPORT Framecompressframe_tlvconstructor (gconstpointer tlvstart, gconstpointer pktend)
 Given marshalled packet data corresponding to an CompressFrame (C-style string), return the corresponding Frame In other words, un-marshall the data... More...
 
typedef struct _CompressFrame CompressFrame
 

Detailed Description

Class for compressing FrameSets Subclass of Frame class.

Todo:
: Not yet implemented

Typedef Documentation

typedef struct _CompressFrame CompressFrame

Definition at line 31 of file compressframe.h.

Function Documentation

FSTATIC gboolean _compressframe_default_isvalid ( const Frame self,
gconstpointer  tlvptr,
gconstpointer  pktend 
)

CompressFrame class 'isvalid' member function (checks for valid compression method).

Todo:
: Not yet implemented.
Parameters
[in]selfCompressFrame object ('this')
[in]tlvptrPointer to the TLV for this CompressFrame
[in]pktendPointer to one byte past the end of the packet

Definition at line 45 of file compressframe.c.

References CASTTOCONSTCLASS, and _CompressFrame::compression_method.

Referenced by compressframe_new().

Here is the caller graph for this function:

CompressFrame* compressframe_new ( guint16  frame_type,
guint16  compression_method 
)

Construct a new CompressFrame - derived frame types are not allowed.

Todo:
: Not yet implemented.
Parameters
frame_typeTLV type of CompressFrame
compression_methodCompression method.

Definition at line 62 of file compressframe.c.

References _compressframe_default_isvalid(), CASTTOCLASS, _CompressFrame::compression_method, frame_new(), _Frame::isvalid, and proj_class_register_subclassed().

Here is the call graph for this function:

WINEXPORT Frame* compressframe_tlvconstructor ( gconstpointer  tlvstart,
gconstpointer  pktend 
)

Given marshalled packet data corresponding to an CompressFrame (C-style string), return the corresponding Frame In other words, un-marshall the data...

Todo:
: Not yet implemented.
Parameters
[in]tlvstartStart of marshalled CStringFrame data
[in]pktendPointer to first invalid byte past 'tlvstart'

Definition at line 82 of file compressframe.c.

References get_generic_tlv_len(), get_generic_tlv_type(), and get_generic_tlv_value().

Here is the call graph for this function: