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_plugin_main.h File Reference
#include "extractor.h"
Include dependency graph for extractor_plugin_main.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


void EXTRACTOR_plugin_main_ (struct EXTRACTOR_PluginList *plugin, int in, int out)

Function Documentation

◆ EXTRACTOR_plugin_main_()

void EXTRACTOR_plugin_main_ ( struct EXTRACTOR_PluginList plugin,
int  in,
int  out 

'main' function of the child process. Loads the plugin, sets up its in and out pipes, then runs the request serving function.

pluginextractor plugin to use
instream to read from
outstream to write to

Definition at line 606 of file extractor_plugin_main.c.

References EXTRACTOR_plugin_load_(), ProcessingContext::in, INVALID_SHM_ID, LOG, LOG_STRERROR, NULL, open_dev_null(), ProcessingContext::out, ProcessingContext::plugin, process_requests(), ProcessingContext::shm, ProcessingContext::shm_id, ProcessingContext::shm_map_size, EXTRACTOR_PluginList::short_libname, and EXTRACTOR_PluginList::specials.

Referenced by EXTRACTOR_IPC_channel_create_().