1 #ifndef MC__SERIALIZE_H 2 #define MC__SERIALIZE_H 3 4 #include <config.h> 5 6 #include "lib/global.h" 7 #include "lib/mcconfig.h" 8 9 /*** typedefs(not structures) and defined constants **********************************************/ 10 11 /*** enums ***************************************************************************************/ 12 13 /*** structures declarations (and typedefs of structures)*****************************************/ 14 15 /*** global variables defined in .c file *********************************************************/ 16 17 /*** declarations of public functions ************************************************************/ 18 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); 21 22 char *mc_serialize_config (mc_config_t * data, GError ** error); 23 mc_config_t *mc_deserialize_config (const char *data, GError ** error); 24 25 /*** inline functions ****************************************************************************/ 26 27 #endif