extern const char *surf_action_state_names[6];
-typedef enum {
- SURF_LINK_ON = 1, /* Ready */
- SURF_LINK_OFF = 0 /* Running */
-} e_surf_link_state_t;
-
typedef enum {
SURF_LINK_SHARED = 1,
SURF_LINK_FATPIPE = 0
*/
int __surf_is_absolute_file_path(const char *file_path);
+/*
+ * Routing logic
+ */
+struct s_routing {
+ const char *name;
+ xbt_dict_t host_id; /* char* -> int* */
+
+ xbt_dynar_t (*get_route)(int src, int dst);
+ void (*finalize)(void);
+ int host_count;
+};
+XBT_PUBLIC(void) routing_model_create(size_t size_of_link,void *loopback);
+
+
+/*
+ * Resource protected methods
+ */
+XBT_PUBLIC(xbt_dict_t) surf_resource_properties(const void *resource);
+
#endif /* _SURF_SURF_PRIVATE_H */