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

Implements the CompressFrame class class - A Frame for C-style null-terminated strings. More...

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

Go to the source code of this file.


FSTATIC gboolean _compressframe_default_isvalid (const Frame *self,gconstpointer tlvptr,gconstpointer pktend)
 CompressFrame class 'isvalid' member function (checks for valid compression method). More...
CompressFramecompressframe_new (guint16 frame_type, guint16 compression_method)
 Construct a new CompressFrame - derived frame types are not allowed. More...
WINEXPORT Framecompressframe_tlvconstructor (gconstpointer tlvstart, gconstpointer pktend)
 Given marshalled packet data corresponding to an CompressFrame (C-style string), return the corresponding Frame In other words, un-marshall the data... More...

Detailed Description

Implements the CompressFrame class class - A Frame for C-style null-terminated strings.

All we really add above basic Frame objects is validation that they have exactly one zero, and that one at the end - normal 'C' string semantics.

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