The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
frameset.c File Reference

Implements minimal client-oriented FrameSet capabilities. More...

#include <string.h>
#include <projectcommon.h>
#include <frameset.h>
#include <frametypes.h>
#include <generic_tlv_min.h>
#include <tlvhelper.h>
Include dependency graph for frameset.c:

Go to the source code of this file.

Functions

FSTATIC void _frameset_indir_finalize (void *f)
 static: finalize (free) frame More...
 
FSTATIC void _frameset_finalize (AssimObj *obj)
 static: finalize (free) frameset and all its constituent frames... More...
 
FSTATIC char * _frameset_toString (gconstpointer)
 
FSTATIC SeqnoFrame_frameset_getseqno (FrameSet *self)
 
FrameSetframeset_new (guint16 frameset_type)
 Construct a new frameset of the given type. More...
 
void frameset_prepend_frame (FrameSet *fs, Frame *f)
 Prepend frame to the front of the frame list. More...
 
void frameset_append_frame (FrameSet *fs, Frame *f)
 Append frame to the front of the end of the frame list. More...
 
void frameset_construct_packet (FrameSet *fs, SignFrame *sigframe, Frame *cryptframe, Frame *compressframe)
 Construct packet to go correspond to this frameset. More...
 
guint16 frameset_get_flags (FrameSet *fs)
 Return the flags currently set on this FrameSet. More...
 
guint16 frameset_set_flags (FrameSet *fs, guint16 flagbits)
 Set (OR in) the given set of FrameSet flags. More...
 
guint16 frameset_clear_flags (FrameSet *fs, guint16 flagbits)
 Clear the given set of FrameSet flags (& ~flagbits) More...
 
gpointer frame_append_to_frameset_packet (FrameSet *fs, Frame *f, gpointer curpktpos)
 Append the given Frame to a FrameSet packet. More...
 
void frameset_dump (const FrameSet *fs)
 Dump out a FrameSet. More...
 

Detailed Description

Implements minimal client-oriented FrameSet capabilities.

This file contains the minimal FrameSet capabilities for a client - enough for it to be able to manage a FrameSet (ordered collection of Frames).

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 frameset.c.