X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2ea5ad4f724dff9bcb6f4c4f73783d2dae1c0211..02201118960697772e289bddc4ad32b78973fe36:/include/xbt/misc.h diff --git a/include/xbt/misc.h b/include/xbt/misc.h index 8c2709aab6..a3a9e7ffe6 100644 --- a/include/xbt/misc.h +++ b/include/xbt/misc.h @@ -80,7 +80,7 @@ SG_BEGIN_DECL() typedef struct { char *name; int port; -} xbt_host_t; +} s_xbt_host_t, *xbt_host_t; const char *xbt_procname(void); @@ -89,10 +89,13 @@ const char *xbt_procname(void); typedef void (void_f_ppvoid_t)(void**); typedef void (void_f_pvoid_t) (void*); + typedef void (*void_f_void_t) (void); typedef int (int_f_pvoid_pvoid_t) (void*,void*); typedef int (*int_f_void_t) (void); /* FIXME: rename it to int_pf_void_t */ + +#define XBT_BACKTRACE_SIZE 10 /* FIXME: better place? Do document */ SG_END_DECL()