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)  

SeekRequestMessage Struct Reference

#include <extractor_ipc.h>

Data Fields

unsigned char opcode
 
unsigned char reserved
 
uint16_t whence
 
uint32_t requested_bytes
 
uint64_t file_offset
 

Detailed Description

IPC message send to plugin to start extracting.

Definition at line 221 of file extractor_ipc.h.

Field Documentation

◆ file_offset

uint64_t SeekRequestMessage::file_offset

Requested offset; a positive value from the end of the file is used of 'whence' is SEEK_END; a postive value from the start is used of 'whence' is SEEK_SET. 'SEEK_CUR' is never used.

Definition at line 251 of file extractor_ipc.h.

Referenced by EXTRACTOR_IPC_process_reply_(), and plugin_env_seek().

◆ opcode

unsigned char SeekRequestMessage::opcode

Set to MESSAGE_SEEK.

Definition at line 226 of file extractor_ipc.h.

Referenced by plugin_env_seek().

◆ requested_bytes

uint32_t SeekRequestMessage::requested_bytes

Number of bytes requested for SHM.

Definition at line 243 of file extractor_ipc.h.

Referenced by plugin_env_seek().

◆ reserved

unsigned char SeekRequestMessage::reserved

Always zero.

Definition at line 231 of file extractor_ipc.h.

Referenced by plugin_env_seek().

◆ whence

uint16_t SeekRequestMessage::whence

'whence' value for the seek operation; 0 = SEEK_SET, 1 = SEEK_CUR, 2 = SEEK_END. Note that 'SEEK_CUR' is never used here.

Definition at line 238 of file extractor_ipc.h.

Referenced by EXTRACTOR_IPC_process_reply_(), and plugin_env_seek().


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