xorriso  1.5.4.pl02
About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.
  Fossies Dox: xorriso-1.5.4.pl02.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

filter.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  filter_context
 

Macros

#define XOR_ENCRYPT_DEV_ID   1
 
#define ISO_FILTER_EXTERNAL_DEV_ID   2
 
#define ISO_FILTER_ZISOFS_DEV_ID   3
 
#define ISO_FILTER_GZIP_DEV_ID   4
 

Typedefs

typedef struct filter_context FilterContext
 

Functions

int iso_file_add_filter (IsoFile *file, FilterContext *filter, int flag)
 
void iso_filter_ref (FilterContext *filter)
 
void iso_filter_unref (FilterContext *filter)
 

Macro Definition Documentation

◆ ISO_FILTER_EXTERNAL_DEV_ID

#define ISO_FILTER_EXTERNAL_DEV_ID   2

Definition at line 23 of file filter.h.

◆ ISO_FILTER_GZIP_DEV_ID

#define ISO_FILTER_GZIP_DEV_ID   4

Definition at line 29 of file filter.h.

◆ ISO_FILTER_ZISOFS_DEV_ID

#define ISO_FILTER_ZISOFS_DEV_ID   3

Definition at line 26 of file filter.h.

◆ XOR_ENCRYPT_DEV_ID

#define XOR_ENCRYPT_DEV_ID   1

Definition at line 20 of file filter.h.

Typedef Documentation

◆ FilterContext

typedef struct filter_context FilterContext

Definition at line 1 of file filter.h.

Function Documentation

◆ iso_file_add_filter()

int iso_file_add_filter ( IsoFile file,
FilterContext filter,
int  flag 
)
Parameters
flagReserved for future usage, pass always 0 for now. TODO in a future a different value can mean filter caching, where the filter is applied once and the filtered file is stored in a temp dir. This prevent filter to be applied several times.

Definition at line 33 of file filter.c.

References filter_context::get_filter, ISO_NULL_POINTER, iso_stream_is_repeatable(), iso_stream_unref(), ISO_SUCCESS, ISO_WRONG_ARG_VALUE, and Iso_File::stream.

Referenced by gzip_add_filter(), iso_file_add_external_filter(), and ziso_add_filter().

◆ iso_filter_ref()

void iso_filter_ref ( FilterContext filter)

Definition at line 20 of file filter.c.

References filter_context::refcount.

◆ iso_filter_unref()

void iso_filter_unref ( FilterContext filter)

Definition at line 25 of file filter.c.

References filter_context::free, and filter_context::refcount.