Changeset 5e26f1d for lib


Ignore:
Timestamp:
03/12/10 13:48:43 (12 years ago)
Author:
Perry Lorier <perry@…>
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:
b4fd5bc
Parents:
aa0c5c5
Message:

Add support for lzo write compression

Location:
lib
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • lib/Makefile.am

    rc66068d r5e26f1d  
    2727endif
    2828
     29if HAVE_LZO
     30LIBTRACEIO_LZO=iow-lzo.c
     31else
     32LIBTRACEIO_LZO=
     33endif
     34
    2935if HAVE_DAG
    3036if DAG2_4
     
    4854                protocols_transport.c protocols.h \
    4955                $(DAGSOURCE) format_erf.h \
    50                 $(LIBTRACEIO_ZLIB) $(LIBTRACEIO_BZLIB) ior-peek.c ior-stdio.c ior-thread.c \
     56                $(LIBTRACEIO_ZLIB) $(LIBTRACEIO_BZLIB) $(LIBTRACEIO_LZO) \
     57                ior-peek.c ior-stdio.c ior-thread.c \
    5158                iow-stdio.c iow-thread.c wandio.c \
    5259                wandio.h
  • lib/wandio.h

    r29d4438 r5e26f1d  
    162162        /** Bzip compression */
    163163        WANDIO_COMPRESS_BZ2     = 2,
     164        /** LZO compression */
     165        WANDIO_COMPRESS_LZO     = 3,
    164166        /** All supported methods - used as a bitmask */
    165167        WANDIO_COMPRESS_MASK    = 7
     
    182184iow_t *zlib_wopen(iow_t *child, int compress_level);
    183185iow_t *bz_wopen(iow_t *child, int compress_level);
     186iow_t *lzo_wopen(iow_t *child, int compress_level);
    184187iow_t *thread_wopen(iow_t *child);
    185188iow_t *stdio_wopen(const char *filename);
Note: See TracChangeset for help on using the changeset viewer.