The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cryptframe.h
Go to the documentation of this file.
1 
25 #ifndef _CRYPTFRAME_H
26 #define _CRYPTFRAME_H
27 #include <frame.h>
28 
31 typedef struct _CryptFrame CryptFrame;
32 
34 struct _CryptFrame {
38 };
39 
40 CryptFrame* cryptframe_new(guint16 frame_type, guint16 encryption_method, void* encryption_info);
41 WINEXPORT Frame* cryptframe_tlvconstructor(gconstpointer tlvstart, gconstpointer pktend, gpointer*,gpointer*);
42 
44 
45 #endif /* _CRYPTFRAME_H */
This is the base Frame class object (in-memory TLV (type, length, value)) for every general component...
Definition: frame.h:43
#define WINEXPORT
Definition: projectcommon.h:45
CryptFrame * cryptframe_new(guint16 frame_type, guint16 encryption_method, void *encryption_info)
Construct a new CryptFrame This can only be used directly for creating CryptFrame frames...
Definition: cryptframe.c:67
Implements basic Frame class.
Frame baseclass
Definition: cryptframe.h:35
int encryption_method
Definition: cryptframe.h:36
void * encryption_key_info
Definition: cryptframe.h:37
This is our CryptFrame class object - representing an encryption method.
Definition: cryptframe.h:34
WINEXPORT Frame * cryptframe_tlvconstructor(gconstpointer tlvstart, gconstpointer pktend, gpointer *, gpointer *)
Given marshalled packet data corresponding to an CryptFrame (C-style string), return the correspondin...
Definition: cryptframe.c:88