/usr/include/birnet/birnetdebugtools.hh is in libbse-dev 0.7.8-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
#ifndef __BIRNET_DEBUG_TOOLS_HH__
#define __BIRNET_DEBUG_TOOLS_HH__
#include <birnet/birnetutils.hh>
#include <stdarg.h>
namespace Birnet {
class DebugChannel : public virtual ReferenceCountImpl {
BIRNET_PRIVATE_CLASS_COPY (DebugChannel);
protected:
explicit DebugChannel ();
virtual ~DebugChannel ();
public:
virtual void printf_valist (const char *format,
va_list args) = 0;
inline void printf (const char *format, ...) BIRNET_PRINTF (2, 3);
static DebugChannel* new_from_file_async (const String &filename);
};
inline void
DebugChannel::printf (const char *format,
...)
{
va_list a;
va_start (a, format);
printf_valist (format, a);
va_end (a);
}
} // Birnet
#endif /* __BIRNET_DEBUG_TOOLS_HH__ */
/* vim:set ts=8 sts=2 sw=2: */
|