Files
RustRaptor/raptor/src/setup/prefapi.h
T
raptorreplica f7c9b7a02d Vendor raptor source files (was embedded gitlink)
Tree vendored at upstream 0019c5dd; origin + license recorded in
raptor/VENDOR.txt. Windows SDL dev packages excluded via .gitignore.
2026-08-25 22:08:42 +10:00

17 lines
929 B
C

#pragma once
int INI_InitPreference(const char *section);
int INI_GetPreferenceLong(const char* section, const char* key, int defValue);
int INI_GetPreferenceHex(const char* section, const char* key, int defValue);
int INI_GetPreferenceBool(const char* section, const char* key, short defValue);
char* INI_GetPreference(const char* section, const char* key, char* retValue, int length, const char* defValue);
int INI_PutPreferenceLong(const char* section, const char* key, int value);
int INI_PutPreferenceHex(const char* section, const char* key, int value);
int INI_PutPreferenceBool(const char* section, const char* key, short value);
int INI_PutPreference(const char* section, const char* key, const char* value);
int INI_DeletePreference(const char* section, const char* key);
int M_snprintf(char* buf, size_t buf_len, const char* s, ...);
int M_StringCopy(char* dest, const char* src, size_t dest_size);