Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
do not throw an exception if category is already created (use INFO instead, with...
[simgrid.git] / include / instr / instr.h
index 3615359..d1a8f5a 100644 (file)
@@ -37,9 +37,9 @@
 
 XBT_PUBLIC(int) TRACE_start_with_mask (const char *filename, int mask);
 XBT_PUBLIC(int) TRACE_end (void);
-XBT_PUBLIC(void) TRACE_category (const char *category);
+XBT_PUBLIC(int) TRACE_category (const char *category);
 XBT_PUBLIC(void) TRACE_define_type (const char *type, const char *parent_type, int final);
-XBT_PUBLIC(void) TRACE_create_category (const char *category, const char *type, const char *parent_category);
+XBT_PUBLIC(int) TRACE_create_category (const char *category, const char *type, const char *parent_category);
 XBT_PUBLIC(void) TRACE_msg_set_task_category (m_task_t task, const char *category);
 XBT_PUBLIC(void) TRACE_msg_set_process_category (m_process_t process, const char *category);
 XBT_PUBLIC(void) TRACE_set_mask (int mask);