- Timestamp:
- 06/27/06 14:04:37 (16 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 1e52a3c
- Parents:
- 496864e
- Location:
- lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_helper.c
re5c2bc4 r306f91c 196 196 assert(level<10); 197 197 assert(level>=0); 198 #ifdef HAVE_ ZLIB198 #ifdef HAVE_LIBZ 199 199 sprintf(filemode,"wb%d",level); 200 200 #else -
lib/format_wag.c
re5c2bc4 r306f91c 161 161 void *value) { 162 162 switch(option) { 163 #ifdef HAVE_ ZLIB163 #ifdef HAVE_LIBZ 164 164 case TRACE_OPTION_OUTPUT_COMPRESS: 165 165 OPTIONS.zlib.level = *(int*)value; -
lib/libtraceio.h
re5c2bc4 r306f91c 5 5 #define LIBTRACEIO_H 1 6 6 #include "config.h" 7 #ifdef HAVE_ZLIB 8 #include <zlib.h> 9 #else 10 #include <stdio.h> 11 #endif 7 #include <inttypes.h> 12 8 13 9 #include <unistd.h> … … 55 51 */ 56 52 ssize_t libtrace_io_write(libtrace_io_t *io, const void *buf, size_t len); 57 off_t libtrace_io_seek(libtrace_io_t *io, off_t offset, int whence);53 int64_t libtrace_io_seek(libtrace_io_t *io, int64_t offset, int whence); 58 54 ssize_t libtrace_io_tell(libtrace_io_t *io); 59 55
Note: See TracChangeset
for help on using the changeset viewer.