The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
signframe.h
Go to the documentation of this file.
1 
26 #ifndef _SIGNFRAME_H
27 #define _SIGNFRAME_H
28 #include <glib.h>
29 #include <frame.h>
32 
33 typedef struct _SignFrame SignFrame;
34 
40 struct _SignFrame {
42  GChecksumType signaturetype;
43 };
44 
45 WINEXPORT SignFrame* signframe_new(GChecksumType sigtype, gsize framesize);
46 WINEXPORT Frame* signframe_tlvconstructor(gconstpointer tlvstart, gconstpointer pktend, gpointer*,gpointer*);
47 
49 
50 #endif /* _SIGNFRAME_H */
This is the base Frame class object (in-memory TLV (type, length, value)) for every general component...
Definition: frame.h:43
The SignFrame class object - implements digital signatures for FrameSets.
Definition: signframe.h:40
#define WINEXPORT
Definition: projectcommon.h:45
Implements basic Frame class.
GChecksumType signaturetype
Type of signature...
Definition: signframe.h:42
WINEXPORT SignFrame * signframe_new(GChecksumType sigtype, gsize framesize)
Construct a new SignFrame - allowing for "derived" frame types...
Definition: signframe.c:208
WINEXPORT Frame * signframe_tlvconstructor(gconstpointer tlvstart, gconstpointer pktend, gpointer *, gpointer *)
Given marshalled data corresponding to a SignFrame (signature frame), return that corresponding Frame...
Definition: signframe.c:241
Frame baseclass
Base Frame class object.
Definition: signframe.h:41