HEX
Server: nginx/1.30.4
System: Linux d-twindigital-web-1.host-ed.eu 4.18.0-553.141.2.el8_10.x86_64 #1 SMP Wed Jul 8 10:28:18 EDT 2026 x86_64
User: u_twindigital_html (1009)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: //usr/src/file_protector-1.1-1589/si_fp_properties.h
/**
@file     si_fp_properties.h
@brief    Properties glue between fileprotector and si 
@details  Copyright (c) 2024 Acronis International GmbH
@author   Denis Kopyrin (denis.kopyrin@acronis.com)
@since    $Id: $
*/

#pragma once

#include "si_fp_value_types.h"

// fp_si_property_id_t is used for a convenient matching from fileprotector types.
// For example like file_protector 'path' limited to PAGE_SIZE to SiPropertyId like 'SI_PI_OBJECT_NAME'
// It also removes all 'holes' so it can be easier used as a key in arrays
typedef enum {
#define SI_FP_PROP(prop, propPub, vt, type, name) prop,
#define SI_FP_PROP_SIZED(...) SI_FP_PROP(__VA_ARGS__)
#define SI_FP_PROP_HANDLE(...)  SI_FP_PROP(__VA_ARGS__)
#include "si_fp_properties_x.h"
#undef SI_FP_PROP_HANDLE
#undef SI_FP_PROP_SIZED
#undef SI_FP_PROP

  FP_SI_PI_MAX_PROPERTY_ID,
} fp_si_property_id_t;