libextractor  1.11
About: GNU libextractor is a library used to extract meta-data from files of arbitrary type.
  Fossies Dox: libextractor-1.11.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

EXTRACTOR_ExtractContext Struct Reference

#include <extractor.h>

Data Fields

void * cls
 
const char * config
 
ssize_t(* read )(void *cls, void **data, size_t size)
 
int64_t(* seek )(void *cls, int64_t pos, int whence)
 
uint64_t(* get_size )(void *cls)
 
EXTRACTOR_MetaDataProcessor proc
 

Detailed Description

Context provided for plugins that perform meta data extraction.

Definition at line 472 of file extractor.h.

Field Documentation

◆ cls

void* EXTRACTOR_ExtractContext::cls

Closure argument to pass to all callbacks.

Definition at line 478 of file extractor.h.

Referenced by auth_extract(), do_extract(), ec_read_file_func(), ec_seek_file_func(), ec_tell_file_func(), eof_cb(), extract_audio(), extract_image(), extract_video(), EXTRACTOR_archive_extract_method(), EXTRACTOR_deb_extract_method(), EXTRACTOR_dvi_extract_method(), EXTRACTOR_gif_extract_method(), EXTRACTOR_gstreamer_extract_method(), EXTRACTOR_html_extract_method(), EXTRACTOR_it_extract_method(), EXTRACTOR_jpeg_extract_method(), EXTRACTOR_man_extract_method(), EXTRACTOR_midi_extract_method(), EXTRACTOR_mime_extract_method(), EXTRACTOR_mpeg_extract_method(), EXTRACTOR_nsf_extract_method(), EXTRACTOR_nsfe_extract_method(), EXTRACTOR_odf_extract_method(), EXTRACTOR_ogg_extract_method(), EXTRACTOR_ole2_extract_method(), EXTRACTOR_pdf_extract_method(), EXTRACTOR_png_extract_method(), EXTRACTOR_previewopus_extract_method(), EXTRACTOR_ps_extract_method(), EXTRACTOR_riff_extract_method(), EXTRACTOR_rpm_extract_method(), EXTRACTOR_s3m_extract_method(), EXTRACTOR_sid_extract_method(), EXTRACTOR_thumbnailffmpeg_extract_method(), EXTRACTOR_thumbnailgtk_extract_method(), EXTRACTOR_tiff_extract_method(), EXTRACTOR_wav_extract_method(), EXTRACTOR_xm_extract_method(), EXTRACTOR_zip_extract_method(), feed_data(), flac_eof(), flac_length(), flac_metadata(), flac_read(), flac_seek(), flac_tell(), get_byte_cb(), ExtractorIO::getb(), gif_READ_func(), handle_start_message(), info_extract(), le_input_new(), le_input_read(), le_input_seek(), pipe_feeder(), processControlTGZ(), processIHDR(), processiTXt(), processtEXt(), processtIME(), processzTXt(), ExtractorIO::read(), read_cb(), read_ogg(), readline(), ExtractorIO::seek(), seek_cb(), seek_data(), seek_ogg(), send_audio_info(), send_info(), send_stream_info(), send_structure_foreach(), send_subtitle_info(), send_tag_foreach(), send_video_info(), ExtractorIO::size(), size_cb(), skip_cb(), ExtractorIO::tell(), tell_ogg(), tlbl_extract(), and unget_byte_cb().

◆ config

const char* EXTRACTOR_ExtractContext::config

Configuration string for the plugin.

Definition at line 483 of file extractor.h.

Referenced by do_extract(), EXTRACTOR_mime_extract_method(), and handle_start_message().

◆ get_size

uint64_t(* EXTRACTOR_ExtractContext::get_size) (void *cls)

◆ proc

◆ read

ssize_t(* EXTRACTOR_ExtractContext::read) (void *cls, void **data, size_t size)

◆ seek

int64_t(* EXTRACTOR_ExtractContext::seek) (void *cls, int64_t pos, int whence)

Seek in the file. Use SEEK_CUR for whence and pos of 0 to obtain the current position in the file.

Parameters
clsthe cls member of this struct
posposition to seek (see 'man lseek')
whencehow to see (absolute to start, relative, absolute to end)
Returns
new absolute position, -1 on error (i.e. desired position does not exist)

Definition at line 509 of file extractor.h.

Referenced by do_extract(), ec_seek_file_func(), ec_tell_file_func(), eof_cb(), EXTRACTOR_deb_extract_method(), EXTRACTOR_html_extract_method(), EXTRACTOR_mpeg_extract_method(), EXTRACTOR_nsfe_extract_method(), EXTRACTOR_ole2_extract_method(), EXTRACTOR_pdf_extract_method(), EXTRACTOR_png_extract_method(), EXTRACTOR_previewopus_extract_method(), EXTRACTOR_riff_extract_method(), EXTRACTOR_thumbnailffmpeg_extract_method(), flac_eof(), flac_seek(), flac_tell(), handle_start_message(), le_input_read(), le_input_seek(), readline(), ExtractorIO::seek(), seek_cb(), seek_data(), seek_ogg(), skip_cb(), ExtractorIO::tell(), tell_ogg(), and unget_byte_cb().


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