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)  

UpdateMessage Struct Reference

#include <extractor_ipc.h>

Data Fields

unsigned char opcode
 
unsigned char reserved
 
uint16_t reserved2
 
uint32_t shm_ready_bytes
 
uint64_t shm_off
 
uint64_t file_size
 

Detailed Description

IPC message send to plugin to notify it about a change in the SHM.

Definition at line 171 of file extractor_ipc.h.

Field Documentation

◆ file_size

uint64_t UpdateMessage::file_size

Overall size of the file.

Definition at line 201 of file extractor_ipc.h.

Referenced by plugin_env_seek(), and send_update_message().

◆ opcode

unsigned char UpdateMessage::opcode

Set to MESSAGE_UPDATED_SHM.

Definition at line 176 of file extractor_ipc.h.

Referenced by send_update_message().

◆ reserved

unsigned char UpdateMessage::reserved

Always zero.

Definition at line 181 of file extractor_ipc.h.

Referenced by plugin_env_seek(), and send_update_message().

◆ reserved2

uint16_t UpdateMessage::reserved2

Always zero.

Definition at line 186 of file extractor_ipc.h.

Referenced by send_update_message().

◆ shm_off

uint64_t UpdateMessage::shm_off

Offset of the shm in the overall file.

Definition at line 196 of file extractor_ipc.h.

Referenced by plugin_env_seek(), and send_update_message().

◆ shm_ready_bytes

uint32_t UpdateMessage::shm_ready_bytes

Number of bytes ready in SHM.

Definition at line 191 of file extractor_ipc.h.

Referenced by plugin_env_seek(), and send_update_message().


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