The Assimilation Project  based on Assimilation version
authlistener.c File Reference

Implements the AuthListener class. class - for listening to heartbeats. More...

#include <projectcommon.h>
#include <memory.h>
#include <glib.h>
#include <frame.h>
#include <frameset.h>
#include <authlistener.h>
Include dependency graph for authlistener.c:

Go to the source code of this file.


#define ONESEC   1000000


FSTATIC void _authlistener_finalize (AssimObj *aself)
 Finalize a Listener. More...
FSTATIC gboolean _authlistener_got_frameset (Listener *self, FrameSet *fs, NetAddr *addr)
 Function called when a FrameSet class arrived from the given NetAddr class. More...
FSTATIC void _authlistener_associate (Listener *self, NetGSource *transport)
FSTATIC void _authlistener_dissociate (Listener *self)
AuthListenerauthlistener_new (gsize objsize, ObeyFrameSetTypeMap *map, ConfigContext *config, gboolean autoack, gboolean(*authenticator)(const FrameSet *fs, NetAddr *))
 Construct a new Listener - setting up GSource and timeout data structures for it. More...

Detailed Description

Implements the AuthListener class. class - for listening to heartbeats.

We obey incoming packets from the Collective Authority.

This file is part of the Assimilation Project.

Copyright © 2011, 2012 - Alan Robertson
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

Definition in file authlistener.c.

Macro Definition Documentation


Definition at line 28 of file authlistener.c.