Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
0a677a9718679636f1604968f336107a3556abbb
[simgrid.git] / src / gras / Virtu / virtu_private.h
1 /* $Id$ */
2
3 /* virtu[alization] - speciafic parts for each OS and for SG                */
4
5 /* module's private interface.                                              */
6
7 /* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
8
9 /* This program is free software; you can redistribute it and/or modify it
10  * under the terms of the license (GNU LGPL) which comes with this package. */
11
12
13 #ifndef GRAS_VIRTU_PRIVATE_H
14 #define GRAS_VIRTU_PRIVATE_H
15
16 #include "gras/Virtu/virtu_interface.h"
17
18 /** @brief Data for each process */
19 typedef struct {
20   /* globals of the process */
21   void *userdata;
22
23   /* data specific to each process for each module. 
24      Registered with gras_procdata_add(), retrieved with gras_libdata_get() */
25   xbt_dict_t libdata;
26 } gras_procdata_t;
27
28 gras_procdata_t *gras_procdata_get(void);
29
30 #endif  /* GRAS_VIRTU_PRIVATE_H */