X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0f5e8daaa6e9f74521068aa75837200bcd182ea6..cc01c6a871dbbfd0cc84e26eb9f94aeb539e613e:/tools/tesh2/include/com.h diff --git a/tools/tesh2/include/com.h b/tools/tesh2/include/com.h index 6c78a63a8c..71a19b3dc0 100644 --- 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 * and global variables of tesh. * - */ - + */ + #include #include - + #ifdef __cplusplus -extern "C" { -#endif - +extern "C" { + +#endif /* */ + /* * the semaphore used by the runner to wait the end of all the units - */ -extern xbt_os_sem_t -units_sem; - + */ + extern xbt_os_sem_t units_sem; + /* * the semaphore used to synchronize the jobs - */ -extern xbt_os_sem_t -jobs_sem; - - -/* the list of tesh include directories */ -extern xbt_dynar_t -include_dirs; - + */ + extern xbt_os_sem_t jobs_sem; + +/* the list of tesh include directories */ + extern xbt_dynar_t include_dirs; + /* * if 1, an interruption was requested by a command or a * unit. - */ -extern int -interrupted; - + */ + extern int interrupted; + /* * if 1, tesh doesn't display the commands launched. - */ -extern int -silent_flag; - + */ + extern int silent_flag; + /* * if 1, tesh simulates the run. - */ -extern int -dry_run_flag; - -/* ? */ -extern int -just_print_flag; - + */ + extern int dry_run_flag; + +/* ? */ + extern int just_print_flag; + /* if 1, tesh diplay the current directory. -*/ -extern int -print_directory_flag; - +*/ + extern int print_directory_flag; + /* * this directory object represents the root directory. - */ -extern directory_t -root_directory; - + */ + extern directory_t root_directory; + /* * if 1, the summary is detailed. - */ -extern int -detail_summary_flag; - + */ + extern int detail_summary_flag; + /* * the tesh exit code. - */ -extern int -exit_code; - -extern int -err_kind; - -extern char* -err_line; - + */ + extern int exit_code; + extern int err_kind; + extern char * err_line; + /* * the list of the errors of the run. - */ -extern xbt_dynar_t -errors; - + */ + extern xbt_dynar_t errors; + /* * if 1, it's the tesh root (the parent of all tesh processes). - */ -extern int -is_tesh_root; - + */ + extern int is_tesh_root; + /* * if 1, keep going when some commands can't be founded - */ -extern int -keep_going_flag; - + */ + extern int keep_going_flag; + /* * if 1, ignore failures of units or commands. - */ -extern int -keep_going_unit_flag; - - - + */ + extern int keep_going_unit_flag; + #ifdef __cplusplus -} -#endif +} +#endif /* */ -#endif /* !__COM_H */ +#endif /* !__COM_H */