|
The Assimilation Monitoring Project
|
Implements the CstringFrame class class - A Frame for C-style null-terminated strings. More...
#include <string.h>#include <projectcommon.h>#include <frameset.h>#include <cstringframe.h>#include <frametypes.h>#include <generic_tlv_min.h>#include <tlvhelper.h>
Go to the source code of this file.
Functions | |
| FSTATIC gboolean | _cstringframe_default_isvalid (const Frame *self,gconstpointer tlvptr,gconstpointer pktend) |
| CstringFrame class 'isvalid' member function (checks for valid C-style string) More... | |
| FSTATIC gchar * | _cstringframe_toString (gconstpointer) |
| WINEXPORT CstringFrame * | cstringframe_new (guint16 frame_type, gsize framesize) |
| Construct a new CstringFrame - allowing for "derived" frame types... More... | |
| WINEXPORT Frame * | cstringframe_tlvconstructor (gconstpointer tlvstart, gconstpointer pktend) |
| Given marshalled packet data corresponding to an CstringFrame (C-style string), return the corresponding Frame In other words, un-marshall the data... More... | |
Variables | |
| DEBUGDECLARATIONS | |
Implements the CstringFrame 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.
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 cstringframe.c.
| DEBUGDECLARATIONS |
Definition at line 34 of file cstringframe.c.