Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add the ability to tesh to mess with the processes' environment
[simgrid.git] / tools / tesh / run_context.h
index 5704672..9b33472 100644 (file)
@@ -19,6 +19,8 @@ typedef enum {e_output_check, e_output_display, e_output_ignore} e_output_handli
 typedef struct {
   /* kind of job */
   char *cmd;
+  char **env;
+  int  env_size;
   char *filepos;
   int pid;
   int is_background:1;
@@ -46,9 +48,9 @@ typedef struct {
   int expected_return; /* the exepeted return code of following command */
 
   /* buffers */
-  buff_t input;
-  buff_t output_wanted;
-  buff_t output_got;
+  xbt_strbuff_t input;
+  xbt_strbuff_t output_wanted;
+  xbt_strbuff_t output_got;
 
   /* Threads */
   xbt_os_thread_t writer, reader; /* IO handlers */