[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

17.4 Global Storage

FreeM globals are stored in $PREFIX/var/freem/<environment-name>/<namespace-name>/globals in a binary format.

Global files have a header of the following format:

typedef struct global_header {
    
    char magic[5]; /* FRMGL */
    int format_version;
    char host_triplet[40];
    char host_id[256];
    
    unsigned long block_size;
    unsigned long last_transaction_id;

    long created;
    long last_backup;
    
} global_header;

This document was generated on May 5, 2025 using texi2html 5.0.