The Assimilation Project  based on Assimilation version 0.5.1427809010
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
authlistener.h File Reference

Defines Listener interfaces for packets coming from the Collective Authority. More...

#include <projectcommon.h>
#include <netaddr.h>
#include <listener.h>
#include <netgsource.h>
Include dependency graph for authlistener.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _AuthListener
 This is the AuthListener class. object - which (authorizes and) obeys packets from the Authority. More...
 
struct  _ObeyFrameSetTypeMap
 Structure associating FrameSet class types with actions to perform when they're received. More...
 

Typedefs

typedef struct _AuthListener AuthListener
 
typedef struct _ObeyFrameSetTypeMap ObeyFrameSetTypeMap
 
typedef void(* AuthListenerAction )(AuthListener *, FrameSet *, NetAddr *)
 
WINEXPORT AuthListenerauthlistener_new (gsize listen_objsize, ObeyFrameSetTypeMap *map, ConfigContext *config, gboolean autoack, gboolean(*authenticator)(const FrameSet *fs, NetAddr *))
 Create an AuthListener. More...
 

Detailed Description

Defines Listener interfaces for packets coming from the Collective Authority.

Each of the packets thus received are acted on appropriately.

Todo:
It should authorize the sender of the FrameSet.

This file is part of the Assimilation Project.

Author
Copyright © 2011, 2012 - Alan Robertson alanr.nosp@m.@uni.nosp@m.x.sh
The Assimilation software is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The Assimilation software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the Assimilation Project software. If not, see http://www.gnu.org/licenses/

Definition in file authlistener.h.

Typedef Documentation

typedef struct _AuthListener AuthListener

Definition at line 31 of file authlistener.h.