Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rework the hexadecimal displayer I use to debug the Transport layer, and give it...
[simgrid.git] / src / portable.h
index 8db6630..3596f34 100644 (file)
@@ -177,4 +177,10 @@ extern int vasnprintf(char **ptr, size_t str_m, const char *fmt, va_list ap);
 #  include <execinfo.h>
 #endif
 
+/*
+ * Some debugging functions. Can't we find a better place for this??
+ */
+void hexa_print(const char*name, unsigned char *data, int size);
+const char *hexa_str(unsigned char *data, int size);
+
 #endif /* GRAS_PORTABLE_H */