Muteki
EABI code execution on Besta® RTOS devices.
Toggle main menu visibility
Loading...
Searching...
No Matches
ini.h
Go to the documentation of this file.
1
/*
2
* Copyright 2024-present dogtopus
3
* SPDX-License-Identifier: MIT
4
*/
5
14
15
#ifndef __MUTEKI_INI_H__
16
#define __MUTEKI_INI_H__
17
18
#include "
common.h
"
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
33
extern
unsigned
int
_GetPrivateProfileInt
(
const
char
*section,
const
char
*key,
int
default_value,
const
char
*path);
34
53
extern
unsigned
int
_GetPrivateProfileString
(
54
const
char
*section,
55
const
char
*key,
56
const
char
*default_value,
57
char
*out,
58
size_t
outsize,
59
const
char
*path
60
);
61
74
extern
bool
_WritePrivateProfileString
(
const
char
*section,
const
char
*key,
const
char
*value,
const
char
*path);
75
76
#ifdef __cplusplus
77
}
// extern "C"
78
#endif
79
80
#endif
// __MUTEKI_INI_H__
common.h
Common include file for all muteki-shims headers.
_GetPrivateProfileInt
unsigned int _GetPrivateProfileInt(const char *section, const char *key, int default_value, const char *path)
Read a value from an INI file and parse it as an integer.
_GetPrivateProfileString
unsigned int _GetPrivateProfileString(const char *section, const char *key, const char *default_value, char *out, size_t outsize, const char *path)
Read a value from an INI file.
_WritePrivateProfileString
bool _WritePrivateProfileString(const char *section, const char *key, const char *value, const char *path)
Write a value to an INI file.
include
muteki
ini.h
Generated by
1.18.0