From 1784bdccf796c18fbf46d8359c0d6b9bddb4b195 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Sat, 8 Mar 2014 18:41:06 +0100 Subject: [PATCH] Fix doxygen warnings. --- doc/doxygen/module-surf.doc | 18 +++++++++--------- include/msg/datatypes.h | 16 +++++++--------- src/msg/msg_io.c | 2 +- src/surf/storage_interface.hpp | 10 ++++++++-- 4 files changed, 25 insertions(+), 21 deletions(-) diff --git a/doc/doxygen/module-surf.doc b/doc/doxygen/module-surf.doc index 7e3733f7ad..e4aed28d19 100644 --- a/doc/doxygen/module-surf.doc +++ b/doc/doxygen/module-surf.doc @@ -3,9 +3,8 @@ \section SURF_doc Surf documentation Surf is composed several components: - \ref SURF_simulation - - \ref SURF_actions - - \ref SURF_resources - \ref SURF_build_api + - \ref SURF_c_bindings - \ref SURF_interface - \ref SURF_routing_interface - \ref SURF_cpu_interface @@ -13,6 +12,7 @@ - \ref SURF_storage_interface - \ref SURF_workstation_interface - \ref SURF_vm_workstation_interface + - \ref SURF_lmm - \ref SURF_callbacks - \ref SURF_plugin_energy @@ -90,19 +90,19 @@ */ /** -@defgroup SURF_routing_interface SURF Routing Interface +@defgroup SURF_interface SURF Interface @ingroup SURF_API -@brief Describes the routing interface +@brief Describes the general interface for all components (Cpu, Network, Storage, Workstation, WorkstationVM) -@htmlonly @endhtmlonly +@htmlonly @endhtmlonly */ /** -@defgroup SURF_interface SURF Interface +@defgroup SURF_routing_interface SURF Routing Interface @ingroup SURF_API -@brief Describes the general interface for all components (Cpu, Network, Storage, Workstation, WorkstationVM) +@brief Describes the routing interface -@htmlonly @endhtmlonly +@htmlonly @endhtmlonly */ /** @@ -167,4 +167,4 @@ @brief Describes how to use the energy plugin. @htmlonly @endhtmlonly -*/ \ No newline at end of file +*/ diff --git a/include/msg/datatypes.h b/include/msg/datatypes.h index d4e254bf52..d898c4df15 100644 --- a/include/msg/datatypes.h +++ b/include/msg/datatypes.h @@ -99,18 +99,16 @@ static inline msg_vm_priv_t MSG_vm_priv(msg_vm_t vm){ /** ******************************** File ************************************ */ /** @brief File datatype. -// * @ingroup msg_file_management -// * -// * You should consider this as an opaque object. -// */ -// -//typedef struct msg_file *msg_file_t; -extern int MSG_FILE_LEVEL; -typedef struct simdata_file *simdata_file_t; - +* @ingroup msg_file_management +* +* You should consider this as an opaque object. +*/ typedef xbt_dictelm_t msg_file_t; typedef s_xbt_dictelm_t s_msg_file_t; +extern int MSG_FILE_LEVEL; +typedef struct simdata_file *simdata_file_t; + typedef struct msg_file_priv { const char *fullname; sg_size_t size; diff --git a/src/msg/msg_io.c b/src/msg/msg_io.c index 36361fc130..d0b77c5251 100644 --- a/src/msg/msg_io.c +++ b/src/msg/msg_io.c @@ -209,7 +209,7 @@ xbt_dict_t MSG_file_ls(const char *mount, const char *path) * \param fd : file object that identifies the stream * \param offset : number of bytes to offset from origin * \param origin : Position used as reference for the offset. It is specified by - * one of the following constants defined in exclusively to be used as + * one of the following constants defined in \ exclusively to be used as * arguments for this function (SEEK_SET = beginning of file, SEEK_CUR = current * position of the file pointer, SEEK_END = end of file) * diff --git a/src/surf/storage_interface.hpp b/src/surf/storage_interface.hpp index ca24eb7b65..d70771c2f0 100644 --- a/src/surf/storage_interface.hpp +++ b/src/surf/storage_interface.hpp @@ -85,10 +85,15 @@ public: * @param content_name [description] * @param content_type [description] * @param properties [description] + * @param attach [description] * @return The created Storage */ - virtual StoragePtr createResource(const char* id, const char* type_id, - const char* content_name, const char* content_type, xbt_dict_t properties,const char *attach)=0; + virtual StoragePtr createResource(const char* id, + const char* type_id, + const char* content_name, + const char* content_type, + xbt_dict_t properties, + const char *attach) = 0; xbt_dynar_t p_storageList; }; @@ -131,6 +136,7 @@ public: * @param content_name [description] * @param content_type [description] * @param size [description] + * @param attach [description] */ Storage(ModelPtr model, const char *name, xbt_dict_t props, lmm_system_t maxminSystem, double bread, double bwrite, -- 2.20.1