re_writeparm(), re_writeparm2(), re_writeparm3(),
re_wwriteparm(), re_wwriteparm2(), re_wwriteparm3()

extern KADMOS_ERROR KADMOS_API re_writeparm
(const ReParm *reparm, unsigned char reject_level,
const char *file_title, const char *section);

extern KADMOS_ERROR KADMOS_API re_wwriteparm
(const ReParm *reparm, unsigned char reject_level,
const wchar_t *file_title, const char *section);

extern KADMOS_ERROR KADMOS_API re_writeparm2
(const ReParm *reparm,
const ReSpellParm *rsp, unsigned char reject_level,
const char *file_title, const char *section);

extern KADMOS_ERROR KADMOS_API re_wwriteparm2
(const ReParm *reparm,
const ReSpellParm *rsp, unsigned char reject_level,
const wchar_t *file_title, const char *section);

extern KADMOS_ERROR KADMOS_API re_writeparm3
(const ReParm *reparm, const ReSpellParm *rsp,
const ReSpellParm *rsp2, unsigned char reject_level,
const char *file_title, const char *section);

extern KADMOS_ERROR KADMOS_API re_wwriteparm3
(const ReParm *reparm, const ReSpellParm *rsp,
const ReSpellParm *rsp2, unsigned char reject_level,
const wchar_t *file_title, const char *section);

Parameter:

reparm
Pointer to a structure ReParm with the parameters to be written.
rsp, rsp2
Pointer to a structure ReSpellParm with the parameters to be written.
reject_level
An associated rejection level can be issued.
file_title
Name of the output INI file.
section
Section to write the data.

Return value:

RE_SUCCESS or KADMOS error type.

Comment:

With this functions it is possible to write parameters of the structures ReParm and ReSpellParm into an INI file. The values of single parameters are stored in the related data type. The output of values using names (for example ALC_NUMERIC), is not yet implemented. Instead of ALC_NUMERIC | ALC_UCALPHA the value 0x00000006 will be written.

Reference: