mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-05-11 03:11:49 +00:00
* server console with commands * better unicode support and japanese translation * Update README.md * restore unneeded changes * missed this * extra * restore * remove extra line * spacing * japanese aliased * language display names * Update .gitignore * japanese language support * more common kanji * merging new images * fix line conflicts * again * redefinition removal * Update djui_font.c * Update djui_font.c * Update djui_font.c * separated japanese glyphs and images * Update .gitignore * Update djui_font.c * Revert "Update djui_font.c" This reverts commitab2ad8c189. * Revert "separated japanese glyphs and images" This reverts commitc3d0fd40e3. * recombined sheets * Update djui_font.c * Update djui_font.c * Update djui_font.c * separated japanese glyphs and images * Update Japanese.ini --------- Co-authored-by: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com>
26 lines
No EOL
652 B
C
26 lines
No EOL
652 B
C
/**
|
|
* Copyright (c) 2016 rxi
|
|
*
|
|
* This library is free software; you can redistribute it and/or modify it
|
|
* under the terms of the MIT license. See `ini.c` for details.
|
|
*/
|
|
|
|
#ifndef INI_H
|
|
#define INI_H
|
|
|
|
#define INI_VERSION "0.1.1"
|
|
|
|
typedef struct ini_t ini_t;
|
|
|
|
struct ini_t {
|
|
char *data;
|
|
char *end;
|
|
};
|
|
|
|
ini_t* ini_load(const char *filename);
|
|
void ini_free(ini_t *ini);
|
|
const char* ini_get(ini_t *ini, const char *section, const char *key);
|
|
int ini_sget(ini_t *ini, const char *section, const char *key, const char *scanfmt, void *dst);
|
|
const char* ini_find_key(ini_t *ini, const char* section, const char* value);
|
|
|
|
#endif |