X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4fef14624811a33d03bb19ceb48661d07a1720bb..649ff8bac9ec72bc9321a7b21843cd41f7b7e7bc:/src/xbt/setset_private.h diff --git a/src/xbt/setset_private.h b/src/xbt/setset_private.h index 8a4d4364e5..128db6364f 100644 --- a/src/xbt/setset_private.h +++ b/src/xbt/setset_private.h @@ -1,3 +1,9 @@ +/* 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. */ + #include "xbt/dict.h" #include "xbt/dynar.h" #include "xbt/setset.h" @@ -21,19 +27,19 @@ typedef union u_xbt_setset_elm_entry { } u_xbt_setset_elm_entry_t, *xbt_setset_elm_entry_t; typedef struct s_xbt_setset_set { - xbt_setset_t setset; /* setset that contains this set */ - unsigned int size; /* in integers */ - unsigned int *bitmap; /* the bit array */ + xbt_setset_t setset; /* setset that contains this set */ + unsigned int size; /* in integers */ + unsigned int *bitmap; /* the bit array */ } s_xbt_setset_set_t; typedef struct s_xbt_setset { - xbt_dynar_t elm_array; /* of s_xbt_setset_elm_entry_t, to find elements by index */ - xbt_fifo_t sets; /* of s_xbt_setset_set_t, memberships in actual sets of setset */ + xbt_dynar_t elm_array; /* of s_xbt_setset_elm_entry_t, to find elements by index */ + xbt_fifo_t sets; /* of s_xbt_setset_set_t, memberships in actual sets of setset */ } s_xbt_setset_t; typedef struct s_xbt_setset_cursor { - int idx; /* Actual postition of the cursor (bit number) */ - xbt_setset_set_t set; /* The set associated to the cursor */ + int idx; /* Actual postition of the cursor (bit number) */ + xbt_setset_set_t set; /* The set associated to the cursor */ } s_xbt_setset_cursor_t; /* Some internal functions */ @@ -51,10 +57,3 @@ void _set_bit(unsigned int bit, unsigned int *bitmap); /* Unset the nth bit of an array of integers */ void _unset_bit(unsigned int bit, unsigned int *bitmap); - - - - - - -