(edit_translate_keys): return gboolean instead of int.
[midnight-commander.git] / lib / serialize.h
blobac5725a98e07e527172e71d471dbde7101f17092
1 #ifndef MC__SERIALIZE_H
2 #define MC__SERIALIZE_H
4 #include <config.h>
6 #include "lib/global.h"
7 #include "lib/mcconfig.h"
9 /*** typedefs(not structures) and defined constants **********************************************/
11 /*** enums ***************************************************************************************/
13 /*** structures declarations (and typedefs of structures)*****************************************/
15 /*** global variables defined in .c file *********************************************************/
17 /*** declarations of public functions ************************************************************/
19 char *mc_serialize_str (const char prefix, const char *data, GError ** error);
20 char *mc_deserialize_str (const char prefix, const char *data, GError ** error);
22 char *mc_serialize_config (const mc_config_t * data, GError ** error);
23 mc_config_t *mc_deserialize_config (const char *data, GError ** error);
25 /*** inline functions ****************************************************************************/
27 #endif