The Assimilation Project
 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 
33 
34 typedef Frame* (*FramePktConstructor) (gconstpointer tlvstart, gconstpointer pktend);
38  int frametype;
41 };
42 
46  void (*_pfinalize)(AssimObj*);
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 */