From ef58b79b0d9295257d42207996fd3d91d1d232b7 Mon Sep 17 00:00:00 2001 From: alegrand Date: Mon, 31 Jan 2005 16:52:40 +0000 Subject: [PATCH] Updating the documentation git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@820 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- examples/msg/Makefile.am | 2 +- examples/msg/small_deployment.xml | 19 +++++++++++++++++++ examples/msg/small_platform.xml | 1 + src/msg/deployment.c | 11 ++++++++++- 4 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 examples/msg/small_deployment.xml diff --git a/examples/msg/Makefile.am b/examples/msg/Makefile.am index 9deaf09918..c78cc576f5 100644 --- a/examples/msg/Makefile.am +++ b/examples/msg/Makefile.am @@ -1,6 +1,6 @@ INCLUDES= -I$(top_srcdir)/include AM_CFLAGS=-g -EXTRA_DIST= msg_deployment.xml msg_platform.xml +EXTRA_DIST= msg_deployment.xml msg_platform.xml small_platform.xml small_deployment.xml check_PROGRAMS=msg_test diff --git a/examples/msg/small_deployment.xml b/examples/msg/small_deployment.xml new file mode 100644 index 0000000000..9063eeee46 --- /dev/null +++ b/examples/msg/small_deployment.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/examples/msg/small_platform.xml b/examples/msg/small_platform.xml index 2ba0ef558f..826b6f2a69 100644 --- a/examples/msg/small_platform.xml +++ b/examples/msg/small_platform.xml @@ -1,6 +1,7 @@ + diff --git a/src/msg/deployment.c b/src/msg/deployment.c index dc8e961bda..4f61e3a4f5 100644 --- a/src/msg/deployment.c +++ b/src/msg/deployment.c @@ -47,7 +47,16 @@ static void parse_process_finalize(void) * \brief An application deployer. * * Creates the process described in \a file. - * @param file a file containing an XML description of the application. + * \param file a filename of a xml description of the application. This file + * follows this DTD : + * + * \include surfxml.dtd + * + * Here is a small example of such a platform + * + * \include small_deployment.xml + * + * Have a look in the directory examples/msg/ to have a bigger example. */ void MSG_launch_application(const char *file) { -- 2.20.1