The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
authlistener.h
Go to the documentation of this file.
1 
26 #ifndef _AUTHLISTENER_H
27 #define _AUTHLISTENER_H
28 #include <projectcommon.h>
29 #include <netaddr.h>
30 #include <listener.h>
31 typedef struct _AuthListener AuthListener;
32 #include <netgsource.h>
33 
37 
38 
40 //
41 struct _AuthListener {
43  GHashTable* actionmap;
44  gboolean autoack;
45 };
46 
47 
53 };
54 
55 
58 , ConfigContext* config, gboolean autoack);
60 #endif /* _AUTHLISTENER_H */
Listener baseclass
Definition: authlistener.h:42
int framesettype
FrameSet class type
Definition: authlistener.h:51
Structure associating FrameSet class types with actions to perform when they're received.
Definition: authlistener.h:50
Defines Generic Listener interfaces.
void(* AuthListenerAction)(AuthListener *, FrameSet *, NetAddr *)
Definition: authlistener.h:48
#define WINEXPORT
Definition: projectcommon.h:45
This is the AuthListener class. object - which (authorizes and) obeys packets from the Authority...
Definition: authlistener.h:41
gboolean autoack
Definition: authlistener.h:44
GHashTable * actionmap
Definition: authlistener.h:43
Project common header file.
AuthListenerAction action
What to do when we get it.
Definition: authlistener.h:52
The NetAddr class class represents a general network address - whether IP, MAC, or any other type of ...
Definition: netaddr.h:43
WINEXPORT AuthListener * authlistener_new(gsize listen_objsize, ObeyFrameSetTypeMap *map, ConfigContext *config, gboolean autoack)
Create an AuthListener.
Definition: authlistener.c:123
Defines interfaces for the NetAddr (network address) object.
FrameSet class - used for collecting Frames when not on the wire, and for marshalling/demarshalling t...
Definition: frameset.h:45
Implements NetIO GSource object.
This is the Listener class. object - which generically listens for packets.
Definition: listener.h:41