The Assimilation Monitoring Project
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
packetdecoder.h
Go to the documentation of this file.
1
23
#ifndef _PACKETDECODER_H
24
#define _PACKETDECODER_H
25
#include <
projectcommon.h
>
26
#include <
assimobj.h
>
27
#include <
frame.h
>
28
31
32
typedef
struct
_FrameTypeToFrame
FrameTypeToFrame
;
33
34
typedef
Frame
* (*FramePktConstructor) (gconstpointer tlvstart, gconstpointer pktend);
37
struct
_FrameTypeToFrame
{
38
int
frametype
;
39
40
FramePktConstructor
constructor
;
41
};
42
43
typedef
struct
_PacketDecoder
PacketDecoder
;
44
struct
_PacketDecoder
{
45
AssimObj
baseclass
;
46
void (*
_pfinalize
)(
AssimObj
*);
47
int
_framemaplen
;
48
const
FrameTypeToFrame
*
_framemap
;
49
int
_maxframetype
;
50
FramePktConstructor
*
_frametypemap
;
51
GSList* (*pktdata_to_framesetlist)(
PacketDecoder
*, gconstpointer pktstart, gconstpointer pktend);
52
};
53
54
WINEXPORT
PacketDecoder
*
packetdecoder_new
(guint objsize,
const
FrameTypeToFrame
* framemap, gint mapsize);
55
57
#endif
/* PACKETDECODER_H */
src
include
packetdecoder.h
Generated on Tue May 21 2013 16:22:53 for The Assimilation Monitoring Project by
1.8.3.1