extern const char *surf_action_state_names[6];
-typedef enum {
- SURF_LINK_SHARED = 1,
- SURF_LINK_FATPIPE = 0
-} e_surf_link_sharing_policy_t;
-
typedef struct surf_model_private {
int (*resource_used) (void *resource_id);
/* Share the resources to the actions and return in how much time
void surf_config(const char *name, va_list pa);
+void net_action_recycle(surf_action_t action);
+double net_action_get_remains(surf_action_t action);
+int net_get_link_latency(surf_action_t action);
+void net_action_set_max_duration(surf_action_t action, double duration);
+
/*
* Returns the initial path. On Windows the initial path is
* the current directory for the current process in the other