X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a326f3588402d8813b4556d92e9266c9ed10215b..c27e00a13208f33b2df33ef93e12f9ada54bb0d2:/src/include/mc/datatypes.h?ds=inline diff --git a/src/include/mc/datatypes.h b/src/include/mc/datatypes.h index db6d8344a7..401969f990 100644 --- a/src/include/mc/datatypes.h +++ b/src/include/mc/datatypes.h @@ -1,40 +1,37 @@ -/* Copyright (c) 2008-2012. Da SimGrid Team. All rights reserved. */ +/* Copyright (c) 2008-2015. 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. */ #ifndef MC_DATATYPE_H #define MC_DATATYPE_H -#include "xbt/misc.h" -#include "xbt/swag.h" -#include "xbt/fifo.h" -SG_BEGIN_DECL() - -/******************************* Transitions **********************************/ +#include +#include -typedef struct s_mc_transition *mc_transition_t; +#ifdef _XBT_WIN32 +# include /* context relative declarations */ +#else +# include /* context relative declarations */ +#endif +#if HAVE_MC +#include +#endif -/*********** Structures for snapshot comparison **************************/ +SG_BEGIN_DECL() -typedef struct s_mc_ignore_region{ - int block; - int fragment; - void *address; - size_t size; -}s_mc_ignore_region_t, *mc_ignore_region_t; +typedef struct s_mc_transition *mc_transition_t; typedef struct s_stack_region{ void *address; - char *process_name; + ucontext_t* context; size_t size; + int block; + int process_index; }s_stack_region_t, *stack_region_t; -typedef struct s_heap_equality{ - void *address1; - void *address2; -}s_heap_equality_t, *heap_equality_t; - SG_END_DECL() + #endif /* _MC_MC_H */