Rizin
unix-like reverse engineering framework and cli tools
zip_compression_algorithm Struct Reference

#include <zipint.h>

Public Attributes

zip_uint64_t(* maximum_compressed_size )(zip_uint64_t uncompressed_size)
 
void *(* allocate )(zip_uint16_t method, int compression_flags, zip_error_t *error)
 
void(* deallocate )(void *ctx)
 
zip_uint16_t(* general_purpose_bit_flags )(void *ctx)
 
zip_uint8_t version_needed
 
bool(* start )(void *ctx, zip_stat_t *st, zip_file_attributes_t *attributes)
 
bool(* end )(void *ctx)
 
bool(* input )(void *ctx, zip_uint8_t *data, zip_uint64_t length)
 
void(* end_of_input )(void *ctx)
 
zip_compression_status_t(* process )(void *ctx, zip_uint8_t *data, zip_uint64_t *length)
 

Detailed Description

Definition at line 124 of file zipint.h.

Member Data Documentation

◆ allocate

void*(* zip_compression_algorithm::allocate) (zip_uint16_t method, int compression_flags, zip_error_t *error)

Definition at line 129 of file zipint.h.

◆ deallocate

void(* zip_compression_algorithm::deallocate) (void *ctx)

Definition at line 131 of file zipint.h.

◆ end

bool(* zip_compression_algorithm::end) (void *ctx)

Definition at line 141 of file zipint.h.

◆ end_of_input

void(* zip_compression_algorithm::end_of_input) (void *ctx)

Definition at line 147 of file zipint.h.

◆ general_purpose_bit_flags

zip_uint16_t(* zip_compression_algorithm::general_purpose_bit_flags) (void *ctx)

Definition at line 134 of file zipint.h.

◆ input

bool(* zip_compression_algorithm::input) (void *ctx, zip_uint8_t *data, zip_uint64_t length)

Definition at line 144 of file zipint.h.

◆ maximum_compressed_size

zip_uint64_t(* zip_compression_algorithm::maximum_compressed_size) (zip_uint64_t uncompressed_size)

Definition at line 126 of file zipint.h.

Referenced by add_data().

◆ process

zip_compression_status_t(* zip_compression_algorithm::process) (void *ctx, zip_uint8_t *data, zip_uint64_t *length)

Definition at line 150 of file zipint.h.

◆ start

bool(* zip_compression_algorithm::start) (void *ctx, zip_stat_t *st, zip_file_attributes_t *attributes)

Definition at line 139 of file zipint.h.

◆ version_needed

zip_uint8_t zip_compression_algorithm::version_needed

Definition at line 136 of file zipint.h.


The documentation for this struct was generated from the following file: