kolibrios/contrib/C_Layer/libini/kolibri_libini.h
Serhii Sakhno 043992e730 add wrapper for libini
git-svn-id: svn://kolibrios.org@6448 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-06-20 02:23:22 +00:00

27 lines
990 B
C

#ifndef KOLIBRI_LIBINI_H
#define KOLIBRI_LIBINI_H
extern int init_libini_asm(void);
int kolibri_libini_init(void)
{
int asm_init_status = init_libini_asm();
/* just return asm_init_status? or return init_boxlib_asm() ?*/
if(asm_init_status == 0)
return 0;
else
return 1;
}
extern uint32_t (*LIBINI_enum_sections)(const char*, void*) __attribute__((__stdcall__));
extern uint32_t (*LIBINI_enum_keys)(const char*, const char*, void*) __attribute__((__stdcall__));
extern uint32_t (*LIBINI_get_str)(const char*, const char*, const char*, char*, uint32_t) __attribute__((__stdcall__));
extern uint32_t (*LIBINI_set_str)(const char*, const char*, const char*, const char*, uint32_t) __attribute__((__stdcall__));
extern uint32_t (*LIBINI_get_int)(const char*, const char*, const char*, uint32_t) __attribute__((__stdcall__));
extern uint32_t (*LIBINI_set_int)(const char*, const char*, const char*, uint32_t) __attribute__((__stdcall__));
#endif /* KOLIBRI_LIBINI_H */