From 33981cf1aba48b7589fbdc685eeaa8a52ece8c4f Mon Sep 17 00:00:00 2001 From: John Denker Date: Thu, 22 Nov 2012 18:21:17 -0800 Subject: add hooks for redirecting main output --- tools/libskrewt.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools/libskrewt.h') diff --git a/tools/libskrewt.h b/tools/libskrewt.h index c5fea7e..8b0045f 100644 --- a/tools/libskrewt.h +++ b/tools/libskrewt.h @@ -1,5 +1,6 @@ #include #include +#include #include "sepofra.h" #include "qq_exit_codes.h" // a bit of a kludge extern std::string progid; @@ -35,9 +36,9 @@ public: maxsize(1000*1000), error_exit(0), mid_required(0) {} - int headers(); + int headers(std::istream& xin, std::ostream& xout); int interstage(); - int body(); + int body(std::istream& xin, std::ostream& xout); int krunch_rfrom(); }; -- cgit v1.2.3