kolibrios-fun/contrib/C_Layer/INCLUDE/kolibri_libini.h
Serhii Sakhno 38cd3c4ee4 C Layer: new project structure
git-svn-id: svn://kolibrios.org@6456 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-06-30 16:05:59 +00:00

30 lines
1.3 KiB
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__));
extern uint32_t (*LIBINI_get_color)(const char*, const char*, const char*, uint32_t) __attribute__((__stdcall__));
extern uint32_t (*LIBINI_set_color)(const char*, const char*, const char*, uint32_t) __attribute__((__stdcall__));
extern uint32_t (*LIBINI_get_shortcut)(const char*, const char*, const char*, uint32_t, const char*, uint32_t) __attribute__((__stdcall__));
#endif /* KOLIBRI_LIBINI_H */