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

Implements basic stupid-level dumping capabilities for the server side of things. More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <glib.h>
#include <lldp.h>
#include <server_dump.h>
Include dependency graph for dump.c:

Go to the source code of this file.

Functions

WINEXPORT gboolean is_all_ascii (const void *vmem, const void *vend)
 return TRUE if this memory is all printable ASCII More...
 
void dump_mem (const void *vstart, const void *vend)
 Dump out memory. More...
 

Detailed Description

Implements basic stupid-level dumping capabilities for the server side of things.

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

Function Documentation

void dump_mem ( const void *  vstart,
const void *  vend 
)

Dump out memory.

Definition at line 60 of file dump.c.

References is_all_ascii().

Referenced by dump_cdp_packet(), dump_lldp_packet(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:

WINEXPORT gboolean is_all_ascii ( const void *  vmem,
const void *  vend 
)

return TRUE if this memory is all printable ASCII

Definition at line 36 of file dump.c.

Referenced by dump_mem().

Here is the caller graph for this function: