cr_CompressionTask Struct Reference
[Useful thread function to use in GThreadPool.]

#include <threads.h>

Data Fields

char * src
char * dst
cr_CompressionType type
cr_ContentStatstat
int delsrc
GError * err

Detailed Description

Object representing a single compression task

Definition at line 69 of file threads.h.


Field Documentation

int delsrc

Indicate if delete source file after successful compression.

Definition at line 79 of file threads.h.

char* dst

Path to the destination file. If NULL, src+compression suffix will be used and this will be filled.

Definition at line 72 of file threads.h.

GError* err

If error was encountered, it will be stored here, if no, then NULL

Definition at line 81 of file threads.h.

char* src

Path to the original file. Must be specified by user.

Definition at line 70 of file threads.h.

Stats of compressed file or NULL

Definition at line 77 of file threads.h.

Type of compression to use

Definition at line 75 of file threads.h.


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

Generated on 22 Oct 2014 for createrepo_c library by  doxygen 1.6.1