3 /* Copyright (c) 2004 Arnaud Legrand. All rights reserved. */
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. */
8 #ifndef _SURF_NETWORK_GTNETS_PRIVATE_H
9 #define _SURF_NETWORK_GTNETS_PRIVATE_H
11 #include "surf_private.h"
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 */
21 /*holds the properties associated witht the link */
22 xbt_dict_t properties;
23 } s_network_link_GTNETS_t, *network_link_GTNETS_t;
26 typedef struct network_card_GTNETS {
29 /*holds the properties associated witht the card */
30 xbt_dict_t properties;
31 } s_network_card_GTNETS_t, *network_card_GTNETS_t;
33 typedef struct surf_action_network_GTNETS {
34 s_surf_action_t generic_action;
37 lmm_variable_t variable;
40 network_card_GTNETS_t src;
41 network_card_GTNETS_t dst;
42 } s_surf_action_network_GTNETS_t, *surf_action_network_GTNETS_t;
44 //extern xbt_dict_t network_card_set;
47 #endif /* _SURF_NETWORK_PRIVATE_H */