Go to the documentation of this file.
16 #ifndef _RL_INI_FILE_H_
17 #define _RL_INI_FILE_H_
31 int write(
const char *filename);
33 const char *
text(
const char *section,
const char *name);
34 void setText(
const char *section,
const char *name,
const char *text);
35 int printf(
const char *section,
const char *name,
const char *format, ...);
36 void remove(
const char *section);
37 void remove(
const char *section,
const char *name);
40 const char *
firstName(
const char *section);
41 const char *
nextName(
const char *section);
51 const char *
i18n(
const char *tag,
const char *default_text=
"");
88 const char *
tr(
const char *txt);
105 void copyName(
char *buf,
const char *line);
106 void copyParam(
char *buf,
const char *line);
116 const char *
rltranslate(
const char *txt,
const char **mytext=NULL);
117 const char *
rltranslate2(
const char *section,
const char *txt,
char **mytext=NULL);
118 #define rltr(txt) rltranslate(txt)
123 #define pvtr(txt) rltranslate2(p->lang_section,txt,&p->mytext2)