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_SharedMemory Struct Reference

Data Fields

void * shm_ptr
 
size_t shm_size
 
int shm_id
 
char shm_name [255+1]
 
unsigned int rc
 
HANDLE map
 
void * ptr
 
int64_t pos
 
int64_t shm_size
 
size_t shm_buf_size
 
size_t shm_map_size
 

Detailed Description

A shared memory resource (often shared with several other processes).

Definition at line 45 of file extractor_ipc_gnu.c.

Field Documentation

◆ map

HANDLE EXTRACTOR_SharedMemory::map

W32 handle of the shm into which data is uncompressed

Definition at line 38 of file extractor_ipc_w32.c.

Referenced by EXTRACTOR_IPC_shared_memory_create_(), and EXTRACTOR_IPC_shared_memory_destroy_().

◆ pos

int64_t EXTRACTOR_SharedMemory::pos

Position within shm

Definition at line 53 of file extractor_ipc_w32.c.

Referenced by EXTRACTOR_datasource_get_pos_().

◆ ptr

void* EXTRACTOR_SharedMemory::ptr

Pointer to the mapped region of the shm (covers the whole shm)

Definition at line 48 of file extractor_ipc_w32.c.

Referenced by EXTRACTOR_IPC_shared_memory_create_(), EXTRACTOR_IPC_shared_memory_destroy_(), EXTRACTOR_IPC_shared_memory_set_(), and write_plugin_data().

◆ rc

unsigned int EXTRACTOR_SharedMemory::rc

Reference counter describing how many references share this SHM.

Definition at line 70 of file extractor_ipc_gnu.c.

Referenced by EXTRACTOR_IPC_shared_memory_change_rc_(), and EXTRACTOR_IPC_shared_memory_create_().

◆ shm_buf_size

size_t EXTRACTOR_SharedMemory::shm_buf_size

Number of bytes in shm (<= shm_size)

Definition at line 63 of file extractor_ipc_w32.c.

◆ shm_id

int EXTRACTOR_SharedMemory::shm_id

POSIX id of the shm into which data is uncompressed

Definition at line 60 of file extractor_ipc_gnu.c.

Referenced by EXTRACTOR_IPC_shared_memory_create_(), and EXTRACTOR_IPC_shared_memory_destroy_().

◆ shm_map_size

size_t EXTRACTOR_SharedMemory::shm_map_size

Definition at line 65 of file extractor_ipc_w32.c.

◆ shm_name

char EXTRACTOR_SharedMemory::shm_name

◆ shm_ptr

void* EXTRACTOR_SharedMemory::shm_ptr

Pointer to the mapped region of the shm (covers the whole shm)

Definition at line 50 of file extractor_ipc_gnu.c.

Referenced by EXTRACTOR_IPC_shared_memory_create_(), EXTRACTOR_IPC_shared_memory_destroy_(), and EXTRACTOR_IPC_shared_memory_set_().

◆ shm_size [1/2]

size_t EXTRACTOR_SharedMemory::shm_size

◆ shm_size [2/2]

int64_t EXTRACTOR_SharedMemory::shm_size

Allocated size of the shm

Definition at line 58 of file extractor_ipc_w32.c.


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