ReactOS 0.4.15-dev-7918-g2a2556c
sdbtypes.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS Application compatibility module
3 * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4 * PURPOSE: Sdb core definitions
5 * COPYRIGHT: Copyright 2013 Mislav Blažević
6 * Copyright 2015-2019 Mark Jansen (mark.jansen@reactos.org)
7 */
8
9#ifndef SDBTYPES_H
10#define SDBTYPES_H
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16typedef WORD TAG;
17typedef DWORD TAGID;
18typedef DWORD TAGREF;
19typedef UINT64 QWORD;
20
21#define TAGREF_NULL (0)
22#define TAGREF_ROOT (0)
23
24typedef struct _DB {
37} DB, *PDB;
38
39typedef enum _PATH_TYPE {
43
44
45#ifdef __cplusplus
46} // extern "C"
47#endif
48
49#endif // SDBTYPES_H
unsigned long long UINT64
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
DWORD TAGID
Definition: sdbtypes.h:17
_PATH_TYPE
Definition: sdbtypes.h:39
@ NT_PATH
Definition: sdbtypes.h:41
@ DOS_PATH
Definition: sdbtypes.h:40
enum _PATH_TYPE PATH_TYPE
DWORD TAGREF
Definition: sdbtypes.h:18
UINT64 QWORD
Definition: sdbtypes.h:19
struct _DB * PDB
struct _DB DB
WORD TAG
Definition: sdbtypes.h:16
Definition: sdbtypes.h:24
HANDLE file
Definition: sdbtypes.h:25
PCWSTR database_name
Definition: sdbtypes.h:33
GUID database_id
Definition: sdbtypes.h:32
struct _DB * string_buffer
Definition: sdbtypes.h:36
DWORD major
Definition: sdbtypes.h:30
DWORD write_iter
Definition: sdbtypes.h:29
BYTE * data
Definition: sdbtypes.h:27
BOOL for_write
Definition: sdbtypes.h:34
TAGID stringtable
Definition: sdbtypes.h:28
struct SdbStringHashTable * string_lookup
Definition: sdbtypes.h:35
DWORD minor
Definition: sdbtypes.h:31
DWORD size
Definition: sdbtypes.h:26
const uint16_t * PCWSTR
Definition: typedefs.h:57
unsigned char BYTE
Definition: xxhash.c:193