/* $Id: mcpp_lib.h 85523 2009-06-05 13:52:12Z wotte $ mcpp_lib.h: declarations of libmcpp exported (visible) functions */
#ifndef _MCPP_LIB_H
#define _MCPP_LIB_H

#ifndef _MCPP_OUT_H
#include    "mcpp_out.h"            /* declaration of OUTDEST   */
#endif

#include "mcpp_lib_export.h"

extern MCPP_LIB_Export int     mcpp_lib_main( int argc, char ** argv);
extern MCPP_LIB_Export void    mcpp_reset_def_out_func( void);
extern MCPP_LIB_Export void    mcpp_set_out_func(
                    int (* func_fputc)  ( int c, OUTDEST od),
                    int (* func_fputs)  ( const char * s, OUTDEST od),
                    int (* func_fprintf)( OUTDEST od, const char * format, ...)
                    );
extern MCPP_LIB_Export void    mcpp_use_mem_buffers( int tf);
extern MCPP_LIB_Export char *  mcpp_get_mem_buffer( OUTDEST od);
#endif  /* _MCPP_LIB_H  */
