A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Indent the rest of the code (examples, buildtools, doc...) except for examples/SMPI...
[simgrid.git]
/
tools
/
tesh2
/
include
/
com.h
diff --git
a/tools/tesh2/include/com.h
b/tools/tesh2/include/com.h
index
6c78a63
..
71a19b3
100644
(file)
--- a/
tools/tesh2/include/com.h
+++ b/
tools/tesh2/include/com.h
@@
-14,112
+14,91
@@
* This file contains all the declarations common declarations and definitions
\r
* and global variables of tesh.
\r
*
\r
* This file contains all the declarations common declarations and definitions
\r
* and global variables of tesh.
\r
*
\r
- */
\r
-
\r
+ */
\r
+
\r
#include <types.h>
\r
#include <ctype.h>
\r
#include <types.h>
\r
#include <ctype.h>
\r
-
\r
+
\r
#ifdef __cplusplus
\r
#ifdef __cplusplus
\r
-extern "C" {
\r
-#endif
\r
-
\r
+extern "C" {
+
\r
+#endif /*
\r
*/
+
\r
/*
\r
* the semaphore used by the runner to wait the end of all the units
\r
/*
\r
* the semaphore used by the runner to wait the end of all the units
\r
- */
\r
-extern xbt_os_sem_t
\r
-units_sem;
\r
-
\r
+ */
\r
+ extern xbt_os_sem_t
\r
units_sem;
+
\r
\r
/*
\r
* the semaphore used to synchronize the jobs
\r
/*
\r
* the semaphore used to synchronize the jobs
\r
- */
\r
-extern xbt_os_sem_t
\r
-jobs_sem;
\r
-
\r
-
\r
-/* the list of tesh include directories */
\r
-extern xbt_dynar_t
\r
-include_dirs;
\r
-
\r
+ */
\r
+ extern xbt_os_sem_t
\r
jobs_sem;
+
\r
\r
\r
+/* the list of tesh include directories */
\r
+ extern xbt_dynar_t
\r
include_dirs;
+
\r
\r
/*
\r
* if 1, an interruption was requested by a command or a
\r
* unit.
\r
/*
\r
* if 1, an interruption was requested by a command or a
\r
* unit.
\r
- */
\r
-extern int
\r
-interrupted;
\r
-
\r
+ */
\r
+ extern int
\r
interrupted;
+
\r
\r
/*
\r
* if 1, tesh doesn't display the commands launched.
\r
/*
\r
* if 1, tesh doesn't display the commands launched.
\r
- */
\r
-extern int
\r
-silent_flag;
\r
-
\r
+ */
\r
+ extern int
\r
silent_flag;
+
\r
\r
/*
\r
* if 1, tesh simulates the run.
\r
/*
\r
* if 1, tesh simulates the run.
\r
- */
\r
-extern int
\r
-dry_run_flag;
\r
-
\r
-/* ? */
\r
-extern int
\r
-just_print_flag;
\r
-
\r
+ */
\r
+ extern int
\r
dry_run_flag;
+
\r
\r
+/* ? */
\r
+ extern int
\r
just_print_flag;
+
\r
\r
/* if 1, tesh diplay the current directory.
\r
/* if 1, tesh diplay the current directory.
\r
-*/
\r
-extern int
\r
-print_directory_flag;
\r
-
\r
+*/
\r
+ extern int
\r
print_directory_flag;
+
\r
\r
/*
\r
* this directory object represents the root directory.
\r
/*
\r
* this directory object represents the root directory.
\r
- */
\r
-extern directory_t
\r
-root_directory;
\r
-
\r
+ */
\r
+ extern directory_t
\r
root_directory;
+
\r
\r
/*
\r
* if 1, the summary is detailed.
\r
/*
\r
* if 1, the summary is detailed.
\r
- */
\r
-extern int
\r
-detail_summary_flag;
\r
-
\r
+ */
\r
+ extern int
\r
detail_summary_flag;
+
\r
\r
/*
\r
* the tesh exit code.
\r
/*
\r
* the tesh exit code.
\r
- */
\r
-extern int
\r
-exit_code;
\r
-
\r
-extern int
\r
-err_kind;
\r
-
\r
-extern char*
\r
-err_line;
\r
-
\r
+ */
\r
+ extern int
\r
exit_code;
+
\r
\r
extern int
\r
err_kind;
+
\r
\r
extern char *
\r
err_line;
+
\r
\r
/*
\r
* the list of the errors of the run.
\r
/*
\r
* the list of the errors of the run.
\r
- */
\r
-extern xbt_dynar_t
\r
-errors;
\r
-
\r
+ */
\r
+ extern xbt_dynar_t
\r
errors;
+
\r
\r
/*
\r
* if 1, it's the tesh root (the parent of all tesh processes).
\r
/*
\r
* if 1, it's the tesh root (the parent of all tesh processes).
\r
- */
\r
-extern int
\r
-is_tesh_root;
\r
-
\r
+ */
\r
+ extern int
\r
is_tesh_root;
+
\r
\r
/*
\r
* if 1, keep going when some commands can't be founded
\r
/*
\r
* if 1, keep going when some commands can't be founded
\r
- */
\r
-extern int
\r
-keep_going_flag;
\r
-
\r
+ */
\r
+ extern int
\r
keep_going_flag;
+
\r
\r
/*
\r
* if 1, ignore failures of units or commands.
\r
/*
\r
* if 1, ignore failures of units or commands.
\r
- */
\r
-extern int
\r
-keep_going_unit_flag;
\r
-
\r
-
\r
-
\r
+ */
\r
+ extern int
\r
keep_going_unit_flag;
+
\r
\r
\r
\r
#ifdef __cplusplus
\r
#ifdef __cplusplus
\r
-}
\r
-#endif
\r
+}
\r
+#endif
/*
\r
*/
\r
\r
-#endif /* !__COM_H */
\r
+#endif
/* !__COM_H */
\r