Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Allow to declare a log category and not use it right away; add XBT_LOG_EXTERNAL_DEFAU...
[simgrid.git] / include / xbt / misc.h
index 8c2709a..a3a9e7f 100644 (file)
@@ -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()