createrepo_c library 1.1.4
C library for metadata manipulation
Loading...
Searching...
No Matches
cr_CompressionTask Struct Reference

#include <threads.h>

Data Fields

char * src
 
char * dst
 
cr_CompressionType type
 
cr_ContentStatstat
 
char * zck_dict_dir
 
gboolean zck_auto_chunk
 
int delsrc
 
GError * err
 

Detailed Description

Object representing a single compression task

Definition at line 69 of file threads.h.

Field Documentation

◆ delsrc

int delsrc

Indicate if delete source file after successful compression.

Definition at line 83 of file threads.h.

◆ dst

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.

◆ err

GError* err

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

Definition at line 85 of file threads.h.

◆ src

char* src

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

Definition at line 70 of file threads.h.

◆ stat

Stats of compressed file or NULL

Definition at line 77 of file threads.h.

◆ type

Type of compression to use

Definition at line 75 of file threads.h.

◆ zck_auto_chunk

gboolean zck_auto_chunk

Whether zchunk file should be auto-chunked

Definition at line 81 of file threads.h.

◆ zck_dict_dir

char* zck_dict_dir

Location of zchunk dictionaries

Definition at line 79 of file threads.h.


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