ipcq 0.12.0
Loading...
Searching...
No Matches
ipcq::detail::config Namespace Reference

Variables

constexpr std::array< uint8_t, 7 > MAGIC_NUMBER = {0x69, 0x70, 0x63, 0x71, 0xF0, 0x6A, 0x9C}
 File magic number that identifies ipcq shared objects.
 
constexpr std::string_view SHM_OBJECT_NAME_PREFIX = "ipcq-"
 Prefix used for shared object names.
 
constexpr auto BIT_COUNT = 21u
 Number of bits making up first, last and size each for a total of 63 bits.
 
constexpr auto BIT_MASK = 0x1f'ffffu
 Bitmask for bit count.
 
constexpr auto MAX_VALUE = 2097151u
 Maximum number of elements in queue.
 
constexpr auto BIT_IS_CLOSED = 0x8000'0000'0000'0000u
 Bit indicating if queue is closed (highest bit).
 
constexpr size_t TYPENAME_SEQ_LEN = 128
 Length of typename character sequences.
 

Variable Documentation

◆ MAGIC_NUMBER

std::array<uint8_t, 7> ipcq::detail::config::MAGIC_NUMBER = {0x69, 0x70, 0x63, 0x71, 0xF0, 0x6A, 0x9C}
constexpr

File magic number that identifies ipcq shared objects.

Definition at line 75 of file shm.hpp.

◆ SHM_OBJECT_NAME_PREFIX

std::string_view ipcq::detail::config::SHM_OBJECT_NAME_PREFIX = "ipcq-"
constexpr

Prefix used for shared object names.

Definition at line 80 of file shm.hpp.