AERMRE 1.5.1
AER modding framework for Hyper Light Drifter.
conf.h
Go to the documentation of this file.
1
24#ifndef AER_CONF_H
25#define AER_CONF_H
26
27#include <stdbool.h>
28#include <stddef.h>
29#include <stdint.h>
30
31/* ----- PUBLIC FUNCTIONS ----- */
32
49bool AERConfGetBool(const char* key);
50
79size_t AERConfGetBools(const char* key, size_t bufSize, bool* boolBuf);
80
97int64_t AERConfGetInt(const char* key);
98
127size_t AERConfGetInts(const char* key, size_t bufSize, int64_t* intBuf);
128
145double AERConfGetDouble(const char* key);
146
175size_t AERConfGetDoubles(const char* key, size_t bufSize, double* doubleBuf);
176
193const char* AERConfGetString(const char* key);
194
223size_t AERConfGetStrings(const char* key, size_t bufSize, const char** strBuf);
224
225#endif /* AER_CONF_H */
size_t AERConfGetStrings(const char *key, size_t bufSize, const char **strBuf)
Parse an array of strings from the configuration data.
bool AERConfGetBool(const char *key)
Parse a boolean value from the configuration data.
size_t AERConfGetDoubles(const char *key, size_t bufSize, double *doubleBuf)
Parse an array of double values from the configuration data.
size_t AERConfGetBools(const char *key, size_t bufSize, bool *boolBuf)
Parse an array of boolean values from the configuration data.
double AERConfGetDouble(const char *key)
Parse a double value from the configuration data.
int64_t AERConfGetInt(const char *key)
Parse an integer value from the configuration data.
size_t AERConfGetInts(const char *key, size_t bufSize, int64_t *intBuf)
Parse an array of integer values from the configuration data.
const char * AERConfGetString(const char *key)
Parse a string from the configuration data.