+/* Copyright (c) 2010, 2014. The SimGrid Team.
+ * All rights reserved. */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
void xbt_setset_elm_add(xbt_setset_t setset, void *obj);
/* Remove an object from the setset */
void xbt_setset_elm_add(xbt_setset_t setset, void *obj);
/* Remove an object from the setset */
void xbt_setset_intersect(xbt_setset_set_t set1, xbt_setset_set_t set2);
/* Get the cursor to point to the first element of a set */
void xbt_setset_intersect(xbt_setset_set_t set1, xbt_setset_set_t set2);
/* Get the cursor to point to the first element of a set */
/* Get the data pointed by a cursor */
int xbt_setset_cursor_get_data(xbt_setset_cursor_t cursor, void **data);
/* Get the data pointed by a cursor */
int xbt_setset_cursor_get_data(xbt_setset_cursor_t cursor, void **data);
#define xbt_setset_foreach(set, cursor, data) \
for(xbt_setset_cursor_first(set, &cursor); \
xbt_setset_cursor_get_data(cursor, (void **)&data); \
#define xbt_setset_foreach(set, cursor, data) \
for(xbt_setset_cursor_first(set, &cursor); \
xbt_setset_cursor_get_data(cursor, (void **)&data); \