1 /* 2 Copyright 2007 Rene Rivera 3 Distributed under the Boost Software License, Version 1.0. 4 (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) 5 */ 6 7 #ifndef BJAM_OUTPUT_H 8 #define BJAM_OUTPUT_H 9 10 #include "object.h" 11 #include "timestamp.h" 12 13 #define EXIT_OK 0 14 #define EXIT_FAIL 1 15 #define EXIT_TIMEOUT 2 16 17 void out_action( 18 char const * const action, 19 char const * const target, 20 char const * const command, 21 char const * const out_data, 22 char const * const err_data, 23 int const exit_reason 24 ); 25 26 void out_flush(); 27 void err_flush(); 28 void out_puts(char const * const s); 29 void err_puts(char const * const s); 30 void out_putc(const char c); 31 void err_putc(const char c); 32 void out_data(char const * const s); 33 void err_data(char const * const s); 34 void out_printf(char const * const f, ...); 35 void err_printf(char const * const f, ...); 36 37 OBJECT * outf_int( int const value ); 38 OBJECT * outf_double( double const value ); 39 OBJECT * outf_time( timestamp const * const value ); 40 41 #endif 42