• Main Page
  • Related Pages
  • Data Structures
  • Files
  • File List
  • Globals

format_helper.h

Go to the documentation of this file.
00001 /*
00002  * This file is part of libtrace
00003  *
00004  * Copyright (c) 2007,2008,2009,2010 The University of Waikato, Hamilton, 
00005  * New Zealand.
00006  *
00007  * Authors: Daniel Lawson 
00008  *          Perry Lorier
00009  *          Shane Alcock 
00010  *          
00011  * All rights reserved.
00012  *
00013  * This code has been developed by the University of Waikato WAND 
00014  * research group. For further information please see http://www.wand.net.nz/
00015  *
00016  * libtrace is free software; you can redistribute it and/or modify
00017  * it under the terms of the GNU General Public License as published by
00018  * the Free Software Foundation; either version 2 of the License, or
00019  * (at your option) any later version.
00020  *
00021  * libtrace is distributed in the hope that it will be useful,
00022  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00023  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00024  * GNU General Public License for more details.
00025  *
00026  * You should have received a copy of the GNU General Public License
00027  * along with libtrace; if not, write to the Free Software
00028  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00029  *
00030  * $Id: format_helper.h 1556 2010-04-14 03:26:28Z perry $
00031  *
00032  */
00033 
00034 #ifndef FORMAT_HELPER_H
00035 #define FORMAT_HELPER_H
00036 #include "common.h"
00037 #include "wandio.h"
00038 
00061 struct libtrace_eventobj_t trace_event_device(libtrace_t *trace, libtrace_packet_t *packet);
00062 
00073 struct libtrace_eventobj_t trace_event_trace(libtrace_t *trace, libtrace_packet_t *packet);
00074 
00081 io_t *trace_open_file(libtrace_t *libtrace);
00082 
00093 iow_t *trace_open_file_out(libtrace_out_t *libtrace,
00094                 int compress_type,
00095                 int level,
00096                 int filemode);
00097 #endif /* FORMAT_HELPER_H */

Generated on Tue Mar 6 2012 14:15:35 for WAND Trace processing by  doxygen 1.7.1