Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
2ae50636a1fbd72b19bb059f28a25f5f3c808b01
[simgrid.git] / src / include / mc / datatypes.h
1 /* Copyright (c) 2008-2015. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #ifndef MC_DATATYPE_H
8 #define MC_DATATYPE_H
9
10 #include <simgrid_config.h>
11 #include <xbt/base.h>
12 #include <ucontext.h>           /* context relative declarations */
13
14 #if HAVE_MC
15 #include <dwarf.h>
16 #endif 
17
18 SG_BEGIN_DECL()
19
20 typedef struct s_mc_transition *mc_transition_t;
21
22 typedef struct s_stack_region{
23   void *address;
24   ucontext_t* context;
25   size_t size;
26   int block;
27   int process_index;
28 }s_stack_region_t, *stack_region_t;
29
30 SG_END_DECL()
31
32 #endif                          /* _MC_MC_H */