Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix the breakages that were hidden because some tests were disabled
[simgrid.git] / src / surf / network_ns3_private.h
1 /* Copyright (c) 2007, 2008, 2009, 2010. 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 _SURF_NETWORK_NS3_PRIVATE_H
8 #define _SURF_NETWORK_NS3_PRIVATE_H
9
10 #include "surf_private.h"
11 #include "xbt/dict.h"
12
13 typedef struct ns3_link{
14         char * id;
15         char * lat;
16         char * bdw;
17 }s_ns3_link_t, *ns3_link_t;
18
19 typedef struct surf_ns3_link{
20         s_surf_resource_t generic_resource;
21         ns3_link_t data;
22         int created;
23 }s_surf_ns3_link_t, *surf_ns3_link_t;
24
25 typedef struct surf_action_network_ns3 {
26   s_surf_action_t generic_action;
27 #ifdef HAVE_TRACING
28   double last_sent;
29   char *src_name;
30   char *dst_name;
31 #endif //HAVE_TRACING
32 } s_surf_action_network_ns3_t, *surf_action_network_ns3_t;
33
34
35 #endif                          /* _SURF_NETWORK_NS3_PRIVATE_H */