Main Page   Reference Manual   Namespace List   Compound List   Namespace Members   Compound Members   File Members  

private_environ.h

00001 // $Header: /cvsroot/libcwd/libcwd/include/libcwd/private_environ.h,v 1.4 2004/06/03 12:23:07 libcw Exp $
00002 //
00003 // Copyright (C) 2002 - 2004, by
00004 // 
00005 // Carlo Wood, Run on IRC <carlo@alinoe.com>
00006 // RSA-1024 0x624ACAD5 1997-01-26                    Sign & Encrypt
00007 // Fingerprint16 = 32 EC A7 B6 AC DB 65 A6  F6 F6 55 DD 1C DC FF 61
00008 //
00009 // This file may be distributed under the terms of the Q Public License
00010 // version 1.0 as appearing in the file LICENSE.QPL included in the
00011 // packaging of this file.
00012 //
00013 
00014 #ifndef LIBCWD_PRIVATE_ENVIRON_H
00015 #define LIBCWD_PRIVATE_ENVIRON_H
00016 
00017 #ifndef LIBCWD_SYS_H
00018 #error "You need to #include "sys.h" at the top of every source file (which in turn should #include <libcwd/sys.h>)."
00019 #endif
00020 
00021 namespace libcwd {
00022   namespace _private_ {
00023 
00024 extern void process_environment_variables(void);
00025 
00026 // Environment variable: LIBCWD_PRINT_LOADING
00027 // Print the list with "BFD     : Loading debug info from /lib/libc.so.6 (0x40271000) ... done (4189 symbols)" etc.
00028 // at the start of the program *even* when this happens before main() is reached and libcw_do and dc::bfd are
00029 // still turned off.
00030 extern bool always_print_loading;
00031 
00032 // Environment variable: LIBCWD_NO_STARTUP_MSGS
00033 // This will suppress all messages that normally could be printed
00034 // before reaching main, including warning messages.
00035 // This overrides LIBCWD_PRINT_LOADING.
00036 extern bool suppress_startup_msgs;
00037 
00038   } // namespace _private_
00039 } // namespace libcwd
00040 
00041 #endif // LIBCWD_PRIVATE_ENVIRON_H
Copyright © 2001 - 2004 Carlo Wood.  All rights reserved.