|
|
| version 1.5, 2025/04/08 16:46:11 | version 1.6, 2025/04/08 20:00:56 |
|---|---|
| Line 24 | Line 24 |
| * along with FreeM. If not, see <https://www.gnu.org/licenses/>. | * along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
| * | * |
| * $Log$ | * $Log$ |
| * Revision 1.6 2025/04/08 20:00:56 snw | |
| * Global handler now uses a header file and maintains the last journaling transaction ID | |
| * | |
| * Revision 1.5 2025/04/08 16:46:11 snw | * Revision 1.5 2025/04/08 16:46:11 snw |
| * Add global file header and offsets | * Add global file header and offsets |
| * | * |
| Line 46 | Line 49 |
| #define GBL_FORMAT_VERSION 2 | #define GBL_FORMAT_VERSION 2 |
| #define GBL_MAGIC "FRMGL" | #define GBL_MAGIC "FRMGL" |
| #define GBL_HDR_OK 0 | |
| #define GBL_HDR_NOTOPEN 1 | |
| #define GBL_HDR_BADMAGIC 2 | |
| #define GBL_HDR_BADVERSION 3 | |
| #define GBL_HDR_BADBLOCKSIZE 4 | |
| typedef struct global_header { | typedef struct global_header { |
| char magic[5]; /* FRMGL */ | char magic[5]; /* FRMGL */ |