Main Page | Data Structures | Directories | File List | Data Fields | Globals

libtraceio.h

Go to the documentation of this file.
00001 
00004 #ifndef LIBTRACEIO_H
00005 #define LIBTRACEIO_H 1
00006 #include "config.h"
00007 #ifndef WIN32
00008 #include <inttypes.h>
00009 #include <unistd.h>
00010 #endif
00011 
00012 
00013 typedef struct libtrace_io_t libtrace_io_t;
00014 
00023 ssize_t libtrace_io_read(libtrace_io_t *io, void *buf, size_t len);
00030 libtrace_io_t *libtrace_io_fdopen(int fd, const char *mode);
00037 libtrace_io_t *libtrace_io_open(const char *path, const char *mode);
00044 void libtrace_io_close(libtrace_io_t *io);
00045 
00054 ssize_t libtrace_io_write(libtrace_io_t *io, const void *buf, size_t len);
00055 int64_t libtrace_io_seek(libtrace_io_t *io, int64_t offset, int whence);
00056 ssize_t libtrace_io_tell(libtrace_io_t *io);
00057 
00058 #endif

Generated on Wed Sep 5 17:48:05 2007 for WAND Trace processing by  doxygen 1.4.2