The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
frame.h File Reference

Implements basic Frame class. More...

#include <projectcommon.h>
#include <assimobj.h>
#include <generic_tlv_min.h>
Include dependency graph for frame.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _Frame
 This is the base Frame class object (in-memory TLV (type, length, value)) for every general component of a packet. More...
 

Typedefs

typedef struct _FrameSet FrameSet
 
typedef struct _Frame Frame
 
#define FRAME_INITSIZE   GENERICTLV_HDRSZ
 
WINEXPORT Frameframe_new (guint16 frame_type, gsize framesize)
 Construct a new frame - allowing for "derived" frame types... More...
 
WINEXPORT Frameframe_tlvconstructor (gpointer tlvstart, gconstpointer pktend, gpointer *, gpointer *)
 Given marshalled data corresponding to a Frame (basic binary frame), return that corresponding Frame In other words, un-marshall the data... More...
 
WINEXPORT void frame_default_valuefinalize (gpointer value)
 Finalize a Frame. More...
 

Detailed Description

Implements basic Frame class.

This Frame base class defines semantics for simple binary (blob) frames without any further refined semantics. It is used as the base class for several derived classes.

This file is part of the Assimilation Project.

Author
Copyright © 2011, 2012 - Alan Robertson alanr.nosp@m.@uni.nosp@m.x.sh
The Assimilation software is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The Assimilation software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the Assimilation Project software. If not, see http://www.gnu.org/licenses/

Definition in file frame.h.

Macro Definition Documentation

#define FRAME_INITSIZE   GENERICTLV_HDRSZ

Definition at line 59 of file frame.h.

Referenced by _compressframe_updatedata(), and _frame_dataspace().

Typedef Documentation

typedef struct _Frame Frame

Definition at line 33 of file frame.h.

typedef struct _FrameSet FrameSet

Definition at line 32 of file frame.h.