1 /*******************************************************************************
2 * *****************************************************************************
6 * * Description: Header file for all application wide globale variables.
8 * * Copyright (c) 1997-2000 Messaging Direct Ltd.
9 * * All rights reserved.
11 * * Redistribution and use in source and binary forms, with or without
12 * * modification, are permitted provided that the following conditions
15 * * 1. Redistributions of source code must retain the above copyright
16 * * notice, this list of conditions and the following disclaimer.
18 * * 2. Redistributions in binary form must reproduce the above copyright
19 * * notice, this list of conditions and the following disclaimer in the
20 * * documentation and/or other materials provided with the distribution.
22 * * THIS SOFTWARE IS PROVIDED ``AS IS''. ANY EXPRESS OR IMPLIED WARRANTIES,
23 * * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
24 * * IN NO EVENT SHALL JEREMY RUMPF OR ANY CONTRIBUTER TO THIS SOFTWARE BE
25 * * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26 * * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27 * * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28 * * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29 * * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30 * * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
31 * * THE POSSIBILITY OF SUCH DAMAGE
35 * * This source file created using 8 space tabs.
37 * ******************************************************************************
38 ********************************************************************************/
43 #include "mechanisms.h"
46 /* saslauthd-main.c */
51 extern char *mech_option;
52 extern char *run_path;
53 extern authmech_t *auth_mech;
57 #define VERBOSE (1 << 1)
58 #define LOG_USE_SYSLOG (1 << 2)
59 #define LOG_USE_STDERR (1 << 3)
60 #define AM_MASTER (1 << 4)
61 #define USE_ACCEPT_LOCK (1 << 5)
62 #define DETACH_TTY (1 << 6)
63 #define CACHE_ENABLED (1 << 7)
64 #define USE_PROCESS_MODEL (1 << 8)
65 #define CONCAT_LOGIN_REALM (1 << 9)
68 #endif /* _GLOBALS_H */