ArvZip

ArvZip — A simple zip extractor

Synopsis

                    ArvZip;
ArvZip * 	          arv_zip_new                         (const void *buffer,
                                                         size_t size);
void                arv_zip_free                        (ArvZip *zip);
void *		            arv_zip_get_file                    (ArvZip *zip,
                                                         const char *name,
                                                         size_t *size);
const GSList *	     arv_zip_get_file_list               (ArvZip *zip);
const char *	       arv_zip_file_get_name               (ArvZipFile *zip_file);
size_t              arv_zip_file_get_uncompressed_size  (ArvZipFile *zip_file);

Description

Details

ArvZip

typedef struct _ArvZip ArvZip;

arv_zip_new ()

ArvZip * 	          arv_zip_new                         (const void *buffer,
                                                         size_t size);

buffer :

zipped data

size :

size of the zipped data Return value: a new ArvZip instance

arv_zip_free ()

void                arv_zip_free                        (ArvZip *zip);

arv_zip_get_file ()

void *		            arv_zip_get_file                    (ArvZip *zip,
                                                         const char *name,
                                                         size_t *size);

arv_zip_get_file_list ()

const GSList *	     arv_zip_get_file_list               (ArvZip *zip);

arv_zip_file_get_name ()

const char *	       arv_zip_file_get_name               (ArvZipFile *zip_file);

arv_zip_file_get_uncompressed_size ()

size_t              arv_zip_file_get_uncompressed_size  (ArvZipFile *zip_file);