Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make sure that gtnets model still compiles after all changes in models. I cannot...
[simgrid.git] / src / surf / network_gtnets_private.h
1 /*      $Id$     */
2
3 /* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
4
5 /* This program is free software; you can redistribute it and/or modify it
6  * under the terms of the license (GNU LGPL) which comes with this package. */
7
8 #ifndef _SURF_NETWORK_GTNETS_PRIVATE_H
9 #define _SURF_NETWORK_GTNETS_PRIVATE_H
10
11 #include "surf_private.h"
12 #include "xbt/dict.h"
13
14 typedef struct network_link_GTNETS {
15   s_surf_resource_t generic_resource; /* Must remain first to allow casting */
16   /* Using this object with the public part of
17      model does not make sense */
18   double bw_current;
19   double lat_current;
20   int id;
21 } s_network_link_GTNETS_t, *network_link_GTNETS_t;
22
23 typedef struct network_card_GTNETS {
24   char *name;
25   int id;
26 } s_network_card_GTNETS_t, *network_card_GTNETS_t;
27
28 typedef struct surf_action_network_GTNETS {
29   s_surf_action_t generic_action;
30   double latency;
31   double lat_current;
32   lmm_variable_t variable;
33   double rate;
34   int suspended;
35 #ifdef KILLME
36   network_card_GTNETS_t src;
37   network_card_GTNETS_t dst;
38 #endif
39 } s_surf_action_network_GTNETS_t, *surf_action_network_GTNETS_t;
40
41 //extern xbt_dict_t network_card_set;
42
43
44 #endif /* _SURF_NETWORK_PRIVATE_H */