X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ab2f258eb5e0f714e4219125e51c118d958bb66d..d656f9465e7b1c36319f86eeafdcec58fe9551a4:/include/simgrid/forward.h diff --git a/include/simgrid/forward.h b/include/simgrid/forward.h index 21826783fe..e2cdeab06b 100644 --- a/include/simgrid/forward.h +++ b/include/simgrid/forward.h @@ -55,6 +55,7 @@ namespace surf { class LinkImpl; class HostImpl; class StorageImpl; + class StorageType; class FileImpl; } namespace trace_mgr { @@ -99,6 +100,7 @@ typedef struct s_smx_context* smx_context_t; typedef struct s_smx_actor* smx_actor_t; typedef struct s_smx_mutex* smx_mutex_t; typedef struct s_smx_mailbox* smx_mailbox_t; +typedef struct s_surf_file* surf_file_t; #endif @@ -117,26 +119,25 @@ typedef tmgr_Trace *tmgr_trace_t; /**< Opaque structure defining an availability typedef struct s_smx_simcall s_smx_simcall_t; typedef struct s_smx_simcall* smx_simcall_t; -typedef enum { +typedef enum { // FIXME: move this to s4u::Link; make it an enum class SURF_LINK_FULLDUPLEX = 2, - SURF_LINK_SHARED = 1, - SURF_LINK_FATPIPE = 0 + SURF_LINK_SHARED = 1, + SURF_LINK_FATPIPE = 0 } e_surf_link_sharing_policy_t; -typedef enum { +typedef enum { // FIXME: move this away; make it an enum class SURF_TRACE_CONNECT_KIND_HOST_AVAIL = 4, - SURF_TRACE_CONNECT_KIND_SPEED = 3, + SURF_TRACE_CONNECT_KIND_SPEED = 3, SURF_TRACE_CONNECT_KIND_LINK_AVAIL = 2, - SURF_TRACE_CONNECT_KIND_BANDWIDTH = 1, - SURF_TRACE_CONNECT_KIND_LATENCY = 0 + SURF_TRACE_CONNECT_KIND_BANDWIDTH = 1, + SURF_TRACE_CONNECT_KIND_LATENCY = 0 } e_surf_trace_connect_kind_t; -typedef enum { - SURF_ACTOR_ON_FAILURE_DIE = 1, +typedef enum { // FIXME: move this to s4u::Actor; make it an enum class + SURF_ACTOR_ON_FAILURE_DIE = 1, SURF_ACTOR_ON_FAILURE_RESTART = 0 } e_surf_process_on_failure_t; - /** @ingroup m_datatypes_management_details * @brief Type for any simgrid size */