2
This class sends an output to the outputstream
3
Copyright (C) 1998 Martin Vogt
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU Library General Public License as published by
7
the Free Software Foundation.
9
For more information look at the file COPYRIGHT in this package
18
#ifndef __OUTPUTINTERFACE_H
19
#define __OUTPUTINTERFACE_H
26
// uncomment this for debugging the output stream
27
// (written to file outstream.dbg)
28
//#define _DEBUG_OUTPUT
31
class OutputInterface {
37
pthread_mutex_t writeOutMut;
42
OutputInterface(ostream* out);
47
void setProtocolSyntax(int proto);
50
void appendBuffer(const char* msg);
52
// make this interface threadsafe