3b1f3301d6
Changes: - Added SharedMemory module for file-backed memory-mapped storage - Added MappingInfo, FileHeader, RecordState and TrackedRecord infrastructure - Replaced CSV-based serialization with binary struct serialization - Added DataStore initialization and shutdown lifecycle management - Added datastore mutex synchronization for multi-process access - Added shared-memory mapping configuration for all datastore entities - Added generic loadRecords and saveRecords template infrastructure - Added automatic datastore directory creation and .dat file storage - Updated configuration to use binary datastore files and initial capacities - Added enum underlying types for serialization compatibility - Added password masking support for login, registration and password change flows - Added Visual Studio project configuration for shared-memory components - Added datastore-owned record caches for runtime object management - Updated datastore APIs to return cached tracked-record collections by reference - Added generic cache refresh and cleanup infrastructure - Updated save operations to persist datastore caches directly - Added automatic cache cleanup during datastore destruction - Prepared datastore for multi-process shared-memory persistence
17 lines
321 B
C
17 lines
321 B
C
/*
|
|
File: FileHeader.h
|
|
Description: Defines the FileHeader structure used to store
|
|
metadata for binary record files, including
|
|
record count and capacity.
|
|
Author: Trenser
|
|
Created: 10-June-2026
|
|
*/
|
|
|
|
#pragma once
|
|
#include <cstddef>
|
|
|
|
struct FileHeader
|
|
{
|
|
size_t recordCount;
|
|
size_t capacity;
|
|
}; |