summaryrefslogtreecommitdiff
path: root/TAO/tao/debug.h
blob: 9c4f17217e8af9fbf3399ef2f4d6d21a0bff2fd2 (plain)
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
30
31
32
33
34
35
36
37
38
// $Id$

// This may look like C, but it's really -*- C++ -*-

// ============================================================================
//
// = LIBRARY
//    TAO
//
// = FILENAME
//    debug.h
//
// = DESCRIPTION
//     debug/trace support.
//
// = AUTHOR
//     Copyright 1994-1995 by Sun Microsystems Inc.
//
// ============================================================================

#ifndef TAO_DEBUG_H
#define TAO_DEBUG_H

#include "tao/corbafwd.h"

// These are global to simplify is use by other code, very much in
// particular by getopt and related argument-parsing code
//
// THREADING NOTE: don't set them except in an unthreaded environment
// such as process initialization.  They're treated as immutable.

// 0 to ??; higher == more
extern TAO_Export u_int TAO_debug_level;

// debug messages on (1) or off (0)
extern TAO_Export u_int TAO_orbdebug;

#endif /* TAO_DEBUG_H */