1 #ifndef PMI2_UTILS_H 2 #define PMI2_UTILS_H 3 4 #include <stdlib.h> 5 #include <stdint.h> 6 #include <inttypes.h> 7 8 char *pmi_encode(const void *val, size_t vallen); 9 uint8_t *pmi_decode (const char *data, size_t *retlen); 10 11 #endif // PMI2_UTILS_H