X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5e354afe3a3a6acf85db8987075cf6143778b0ae..ab2f9ddbfa677b1ce7b50c0e8dbe73cd3140f931:/src/portable.h diff --git a/src/portable.h b/src/portable.h index 8db663048e..2afe77c683 100644 --- a/src/portable.h +++ b/src/portable.h @@ -34,6 +34,7 @@ # include /* TCP_NODELAY */ # include /* getprotobyname() */ # include /* inet_ntoa() */ +# include /* sometimes required for fd_set */ # endif #ifdef HAVE_WINSOCK2_H @@ -177,4 +178,10 @@ extern int vasnprintf(char **ptr, size_t str_m, const char *fmt, va_list ap); # include #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 */