OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Macros | Typedefs | Functions
comp.h File Reference
#include <openssl/crypto.h>

Go to the source code of this file.

Classes

struct  comp_method_st
 
struct  comp_ctx_st
 

Macros

#define COMP_F_BIO_ZLIB_FLUSH   99
 
#define COMP_F_BIO_ZLIB_NEW   100
 
#define COMP_F_BIO_ZLIB_READ   101
 
#define COMP_F_BIO_ZLIB_WRITE   102
 
#define COMP_R_ZLIB_DEFLATE_ERROR   99
 
#define COMP_R_ZLIB_INFLATE_ERROR   100
 
#define COMP_R_ZLIB_NOT_SUPPORTED   101
 

Typedefs

typedef struct comp_ctx_st COMP_CTX
 
typedef struct comp_method_st COMP_METHOD
 

Functions

COMP_CTXCOMP_CTX_new (COMP_METHOD *meth)
 
void COMP_CTX_free (COMP_CTX *ctx)
 
int COMP_compress_block (COMP_CTX *ctx, unsigned char *out, int olen, unsigned char *in, int ilen)
 
int COMP_expand_block (COMP_CTX *ctx, unsigned char *out, int olen, unsigned char *in, int ilen)
 
COMP_METHODCOMP_rle (void)
 
COMP_METHODCOMP_zlib (void)
 
void COMP_zlib_cleanup (void)
 
void ERR_load_COMP_strings (void)
 

Macro Definition Documentation

#define COMP_F_BIO_ZLIB_FLUSH   99

Definition at line 67 of file comp.h.

#define COMP_F_BIO_ZLIB_NEW   100

Definition at line 68 of file comp.h.

#define COMP_F_BIO_ZLIB_READ   101

Definition at line 69 of file comp.h.

#define COMP_F_BIO_ZLIB_WRITE   102

Definition at line 70 of file comp.h.

#define COMP_R_ZLIB_DEFLATE_ERROR   99

Definition at line 73 of file comp.h.

#define COMP_R_ZLIB_INFLATE_ERROR   100

Definition at line 74 of file comp.h.

#define COMP_R_ZLIB_NOT_SUPPORTED   101

Definition at line 75 of file comp.h.

Typedef Documentation

typedef struct comp_ctx_st COMP_CTX

Definition at line 11 of file comp.h.

typedef struct comp_method_st COMP_METHOD

Function Documentation

int COMP_compress_block ( COMP_CTX ctx,
unsigned char *  out,
int  olen,
unsigned char *  in,
int  ilen 
)

Definition at line 37 of file comp_lib.c.

void COMP_CTX_free ( COMP_CTX ctx)

Definition at line 26 of file comp_lib.c.

COMP_CTX* COMP_CTX_new ( COMP_METHOD meth)

Definition at line 7 of file comp_lib.c.

int COMP_expand_block ( COMP_CTX ctx,
unsigned char *  out,
int  olen,
unsigned char *  in,
int  ilen 
)

Definition at line 55 of file comp_lib.c.

COMP_METHOD* COMP_rle ( void  )

Definition at line 23 of file c_rle.c.

COMP_METHOD* COMP_zlib ( void  )

Definition at line 341 of file c_zlib.c.

void COMP_zlib_cleanup ( void  )

Definition at line 416 of file c_zlib.c.

void ERR_load_COMP_strings ( void  )

Definition at line 90 of file comp_err.c.