src/lzoconf.h
branchcpp_gui
changeset 6298 c30fe89622df
parent 6285 187e3ef04cc9
equal deleted inserted replaced
6297:4bf29d14edba 6298:c30fe89622df
    27    along with the LZO library; see the file COPYING.
    27    along with the LZO library; see the file COPYING.
    28    If not, write to the Free Software Foundation, Inc.,
    28    If not, write to the Free Software Foundation, Inc.,
    29    59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    29    59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    30 
    30 
    31    Markus F.X.J. Oberhumer
    31    Markus F.X.J. Oberhumer
    32    <markus@oberhumer.com>
    32    <markus@oberhumer.com>   http://www.oberhumer.com/opensource/lzo/
    33    http://www.oberhumer.com/opensource/lzo/
       
    34  */
    33  */
    35 
    34 
    36 
    35 
    37 #ifndef LZOCONF_H
    36 #ifndef LZOCONF_H
    38 #define LZOCONF_H
    37 #define LZOCONF_H
   405     (int)lzo_sizeof_dict_t,(int)sizeof(char *),(int)sizeof(lzo_voidp),\
   404     (int)lzo_sizeof_dict_t,(int)sizeof(char *),(int)sizeof(lzo_voidp),\
   406     (int)sizeof(lzo_compress_t))
   405     (int)sizeof(lzo_compress_t))
   407 LZO_EXTERN(int) __lzo_init2(unsigned,int,int,int,int,int,int,int,int,int);
   406 LZO_EXTERN(int) __lzo_init2(unsigned,int,int,int,int,int,int,int,int,int);
   408 
   407 
   409 /* version functions (useful for shared libraries) */
   408 /* version functions (useful for shared libraries) */
   410 LZO_EXTERN(unsigned) lzo_version(void);
   409 LZO_EXTERN(unsigned) lzo_version();
   411 LZO_EXTERN(const char *) lzo_version_string(void);
   410 LZO_EXTERN(const char *) lzo_version_string();
   412 LZO_EXTERN(const char *) lzo_version_date(void);
   411 LZO_EXTERN(const char *) lzo_version_date();
   413 LZO_EXTERN(const lzo_charp) _lzo_version_string(void);
   412 LZO_EXTERN(const lzo_charp) _lzo_version_string();
   414 LZO_EXTERN(const lzo_charp) _lzo_version_date(void);
   413 LZO_EXTERN(const lzo_charp) _lzo_version_date();
   415 
   414 
   416 /* string functions */
   415 /* string functions */
   417 LZO_EXTERN(int)
   416 LZO_EXTERN(int)
   418 lzo_memcmp(const lzo_voidp _s1, const lzo_voidp _s2, lzo_uint _len);
   417 lzo_memcmp(const lzo_voidp _s1, const lzo_voidp _s2, lzo_uint _len);
   419 LZO_EXTERN(lzo_voidp)
   418 LZO_EXTERN(lzo_voidp)
   429 LZO_EXTERN(lzo_uint32)
   428 LZO_EXTERN(lzo_uint32)
   430 lzo_crc32(lzo_uint32 _c, const lzo_byte *_buf, lzo_uint _len);
   429 lzo_crc32(lzo_uint32 _c, const lzo_byte *_buf, lzo_uint _len);
   431 
   430 
   432 /* misc. */
   431 /* misc. */
   433 LZO_EXTERN(lzo_bool) lzo_assert(int _expr);
   432 LZO_EXTERN(lzo_bool) lzo_assert(int _expr);
   434 LZO_EXTERN(int) _lzo_config_check(void);
   433 LZO_EXTERN(int) _lzo_config_check();
   435 typedef union { lzo_bytep p; lzo_uint u; } __lzo_pu_u;
   434 typedef union { lzo_bytep p; lzo_uint u; } __lzo_pu_u;
   436 typedef union { lzo_bytep p; lzo_uint32 u32; } __lzo_pu32_u;
   435 typedef union { lzo_bytep p; lzo_uint32 u32; } __lzo_pu32_u;
   437 typedef union { void *vp; lzo_bytep bp; lzo_uint32 u32; long l; } lzo_align_t;
   436 typedef union { void *vp; lzo_bytep bp; lzo_uint32 u32; long l; } lzo_align_t;
   438 
   437 
   439 /* align a char pointer on a boundary that is a multiple of `size' */
   438 /* align a char pointer on a boundary that is a multiple of `size' */