1 #ifndef MC__SERIALIZE_H
2 #define MC__SERIALIZE_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 (mc_config_t
* data
, GError
** error
);
23 mc_config_t
*mc_deserialize_config (const char *data
, GError
** error
);
25 /*** inline functions ****************************************************************************/