typedef struct s_routing_platf s_routing_platf_t, *routing_platf_t;
XBT_PUBLIC_DATA(routing_platf_t) routing_platf;
-/**
+/*******************************************
* TUTORIAL: New model
* New model extension public
* Public functions specific to a New model.
*/
-
typedef struct surf_new_model_extension_public {
surf_action_t(*fct) ();
void* (*create_resource) ();
} s_surf_model_extension_new_model_t;
-
+/*******************************************/
/** \ingroup SURF_models
* \brief Private data available on all models
s_surf_model_extension_network_t network;
s_surf_model_extension_storage_t storage;
s_surf_model_extension_workstation_t workstation;
+ /*******************************************/
+ /* TUTORIAL: New model */
s_surf_model_extension_new_model_t new_model;
+ /*******************************************/
} extension;
} s_surf_model_t;
XBT_PUBLIC_DATA(s_surf_model_description_t)
surf_workstation_model_description[];
+/*******************************************
+ * TUTORIAL: New model
+ */
+XBT_PUBLIC(void) surf_new_model_init_default(void);
+XBT_PUBLIC_DATA(s_surf_model_description_t) surf_new_model_description[];
+/*******************************************/
+
/** \ingroup SURF_models
* \brief List of initialized models
*/