X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/aa2bc3b93a6e6f6de5b753b5298ea809f26d3ffe..9cca09ad88fcaeb49f2637de97df519c3920aaa4:/src/include/surf/datatypes.h diff --git a/src/include/surf/datatypes.h b/src/include/surf/datatypes.h index 3171b355f0..445ddc1c60 100644 --- a/src/include/surf/datatypes.h +++ b/src/include/surf/datatypes.h @@ -1,5 +1,4 @@ -/* Copyright (c) 2009, 2010. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2009-2017. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -7,32 +6,10 @@ #ifndef MAXMIN_DATATYPES_H #define MAXMIN_DATATYPES_H -/** \ingroup SURF_models - * \brief Model datatype - * - * Generic data structure for a model. The workstations, - * the CPUs and the network links are examples of models. - */ -typedef struct surf_model *surf_model_t; +typedef struct s_lmm_element_t* lmm_element_t; +typedef struct s_lmm_variable_t* lmm_variable_t; +typedef struct s_lmm_constraint_t* lmm_constraint_t; +typedef struct s_lmm_constraint_light_t* lmm_constraint_light_t; +typedef struct s_lmm_system_t* lmm_system_t; -/** \ingroup SURF_actions - * \brief Action datatype - * - * An action is some working amount on a model. - * It is represented as a cost, a priority, a duration and a state. - */ -typedef struct surf_action *surf_action_t; -typedef struct surf_file *surf_file_t; -typedef struct surf_stat *surf_stat_t; - -typedef struct lmm_element *lmm_element_t; -typedef struct lmm_variable *lmm_variable_t; -typedef struct lmm_constraint *lmm_constraint_t; -typedef struct lmm_constraint_light *lmm_constraint_light_t; -typedef struct lmm_system *lmm_system_t; - -typedef struct tmgr_history *tmgr_history_t; -typedef struct tmgr_trace_event *tmgr_trace_event_t; - - -#endif /* MAXMIN_DATATYPES_H */ +#endif