modules/compress/compress.h File Reference

Go to the source code of this file.

Defines

#define UFF_COMPRESS   0x000008
#define compress_to_file   ((int (*)(char *, char *, int))(compress_funcs[4]))
#define compress_file   ((int (*)(char *, int))(compress_funcs[5]))
#define uncompress_to_file   ((int (*)(char *, char *))(uncompress_funcs[6]))
#define uncompress_file   ((int (*)(char *))(uncompress_funcs[7]))
#define is_compressedfile   ((int (*)(char *))(uncompress_funcs[8]))

Enumerations

enum  compf_result { COMPF_ERROR, COMPF_SUCCESS }
enum  compf_type { COMPF_UNCOMPRESSED, COMPF_COMPRESSED, COMPF_FAILED }


Define Documentation

#define compress_file   ((int (*)(char *, int))(compress_funcs[5]))

Definition at line 47 of file compress.h.

Referenced by tcl_compress_file().

#define compress_to_file   ((int (*)(char *, char *, int))(compress_funcs[4]))

Definition at line 46 of file compress.h.

Referenced by compress_file(), and tcl_compress_file().

#define is_compressedfile   ((int (*)(char *))(uncompress_funcs[8]))

Definition at line 51 of file compress.h.

Referenced by tcl_iscompressed().

#define UFF_COMPRESS   0x000008

Definition at line 30 of file compress.h.

#define uncompress_file   ((int (*)(char *))(uncompress_funcs[7]))

Definition at line 49 of file compress.h.

Referenced by tcl_uncompress_file().

#define uncompress_to_file   ((int (*)(char *, char *))(uncompress_funcs[6]))

Definition at line 48 of file compress.h.

Referenced by tcl_uncompress_file(), and uncompress_file().


Enumeration Type Documentation

Enumerator:
COMPF_ERROR 
COMPF_SUCCESS 

Definition at line 32 of file compress.h.

00032              {
00033   COMPF_ERROR,    /* Compression failed.      */
00034   COMPF_SUCCESS   /* Compression succeeded.   */
00035 } compf_result;

enum compf_type

Enumerator:
COMPF_UNCOMPRESSED 
COMPF_COMPRESSED 
COMPF_FAILED 

Definition at line 37 of file compress.h.

00037              {
00038   COMPF_UNCOMPRESSED, /* File is uncompressed.    */
00039   COMPF_COMPRESSED, /* File is compressed.      */
00040   COMPF_FAILED    /* Could not determine file type. */
00041 } compf_type;


Generated on Sun Nov 30 18:43:35 2008 for eggdrop1.9 by  doxygen 1.5.6