--- parser3/src/include/pa_exec.h 2003/03/21 15:00:36 1.11.2.6.2.4 +++ parser3/src/include/pa_exec.h 2007/11/14 12:45:38 1.19 @@ -1,28 +1,27 @@ /** @file Parser: program executing for different OS-es decls. - Copyright (c) 2000,2001-2003 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2000,2001-2005 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef PA_EXEC_H #define PA_EXEC_H -static const char* IDENT_EXEC_H="$Date: 2003/03/21 15:00:36 $"; +static const char * const IDENT_EXEC_H="$Date: 2007/11/14 12:45:38 $"; #include "pa_string.h" #include "pa_hash.h" #include "pa_array.h" #include "pa_value.h" - -typedef Hash HashStringString; +#include "pa_charset.h" struct PA_exec_result { int status; ///< exit code - String out; - String err; + File_read_result out; + String& err; - PA_exec_result(): status(0) {} + PA_exec_result(): status(0), out(), err(*new String) {} }; PA_exec_result pa_exec(