diff options
Diffstat (limited to 'TAO/CIAO/ciao/CIAO_common.h')
-rw-r--r-- | TAO/CIAO/ciao/CIAO_common.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/TAO/CIAO/ciao/CIAO_common.h b/TAO/CIAO/ciao/CIAO_common.h index 627bbbefacf..d5dbc78f584 100644 --- a/TAO/CIAO/ciao/CIAO_common.h +++ b/TAO/CIAO/ciao/CIAO_common.h @@ -18,6 +18,8 @@ #pragma once #endif /* ! ACE_LACKS_PRAGMA_ONCE */ +#include "CIAO_Client_Export.h" + #define CIAO_REGISTER_VALUE_FACTORY(ORB,FACTORY,VALUETYPE) {\ CORBA::ValueFactory factory = new FACTORY; \ CORBA::ValueFactory prev_factory = \ @@ -27,5 +29,16 @@ if (prev_factory) prev_factory->_remove_ref (); \ factory->_remove_ref (); } +namespace CIAO +{ + /// Return the debug level. The debug level of CIAO is control by + /// an environment variable "CIAO_DEBUG_LEVEL". It should be an int + /// value. If it is not defined, the default debug level is 0. The + /// value of debug value is evaluated on its first use and the value + /// is then cached. The actual implementation of this function is in + /// Client_init.cpp. + CIAO_CLIENT_Export int debug_level (void); +} + #include /**/ "ace/post.h" #endif /* CIAO_COMMON_H */ |