📄 gw-config.h.in
字号:
/* ==================================================================== * The Kannel Software License, Version 1.0 * * Copyright (c) 2001-2004 Kannel Group * Copyright (c) 1998-2001 WapIT Ltd. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * 3. The end-user documentation included with the redistribution, * if any, must include the following acknowledgment: * "This product includes software developed by the * Kannel Group (http://www.kannel.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. * * 4. The names "Kannel" and "Kannel Group" must not be used to * endorse or promote products derived from this software without * prior written permission. For written permission, please * contact org@kannel.org. * * 5. Products derived from this software may not be called "Kannel", * nor may "Kannel" appear in their name, without prior written * permission of the Kannel Group. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE KANNEL GROUP OR ITS CONTRIBUTORS * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Kannel Group. For more information on * the Kannel Group, please see <http://www.kannel.org/>. * * Portions of this software are based upon software originally written at * WapIT Ltd., Helsinki, Finland for the Kannel project. */ #ifndef CONFIG_H#define CONFIG_H/* Define one of these depending on which malloc wrapper you want to use. */#undef USE_GWMEM_NATIVE#undef USE_GWMEM_CHECK#undef USE_GWMEM_SLOW/* Define if you want information about lock collisions to be collected. * These are useful for finding performance bottlenecks. */#undef MUTEX_STATS/* Define if you want log file timestamps in localtime instead of GMT. */#undef LOG_TIMESTAMP_LOCALTIME/* Define if you have the ANSI C header files. */#undef STDC_HEADERS/* Define if your compiler supports the __func__ magic symbol. This is part of C99. */#undef HAVE___FUNC__/* Define if your compiler supports the __FUNCTION__ magic symbol. */#undef HAVE___FUNCTION__/* Make sure __func__ does something useful. */#if defined(HAVE___FUNC__) /* Nothing to do. Life is so wonderful. */#elif defined(HAVE___FUNCTION__) #define __func__ __FUNCTION__#else #define __func__ "unknown"#endif/* Define if you have getopt.h. */#undef HAVE_GETOPT_H/* Define if you have getopt(3). */#undef HAVE_GETOPT/* Define if you have a declaration for getopt(3) in <stdio.h>. */#undef HAVE_GETOPT_IN_STDIO_H/* Define if you have a declaration for getopt(3) in <unistd.h>. */#undef HAVE_GETOPT_IN_UNISTD_H/* Define if you have getopt_long(3). */#undef HAVE_GETOPT_LONG/* Define gateway name */#undef GW_NAME/* Define which version we use */#undef GW_VERSION/* WMLScript debugging. */#undef WS_DEBUG/* Define if you have the gettimeofday function. */#undef HAVE_GETTIMEOFDAY/* Define if you have the select function. */#undef HAVE_SELECT/* Define if you have the socket function. */#undef HAVE_SOCKET/* Define if you have the localtime_r function. */#undef HAVE_LOCALTIME_R/* Define if you have the gmtime_r function. */#undef HAVE_GMTIME_R/* Define if you have the backtrace function. */#undef HAVE_BACKTRACE/* Define if you have the srandom function. */#undef HAVE_SRANDOM/* Define if you have the <fcntl.h> header file. */#undef HAVE_FCNTL_H/* Define if you have the <pthread.h> header file. */#undef HAVE_PTHREAD_H/* Define if you have the <sys/ioctl.h> header file. */#undef HAVE_SYS_IOCTL_H/* Define if you have the <sys/types.h> header file. */#undef HAVE_SYS_TYPES_H/* Define if you have the <unistd.h> header file. */#undef HAVE_UNISTD_H/* Define if you have the <sys/poll.h> header file. */#undef HAVE_SYS_POLL_H/* Define if you have the <stdlib.h> header file. */#undef HAVE_STDLIB_H/* Define if you have the <sys/socket.h> header file. */#undef HAVE_SYS_SOCKET_H/* Define if you have the <sys/sockio.h> header file. */#undef HAVE_SYS_SOCKIO_H/* Define if you have the <net/if.h> header file. */#undef HAVE_NET_IF_H/* Define if you have the <netinet/in.h> header file. */#undef HAVE_NETINET_IN_H/* Define if you have the m library (-lm). */#undef HAVE_LIBM/* Define if you have the nsl library (-lnsl). */#undef HAVE_LIBNSL/* Define if you have the pthread library (-lpthread). */#undef HAVE_LIBPTHREAD/* Define if you have the socket library (-lsocket). */#undef HAVE_LIBSOCKET/* Define if you have the xml library (-lxml). */#undef HAVE_LIBXML/* Define if you have the z library (-lz). */#undef HAVE_LIBZ/* Define if there is a socklen_t in <sys/socket.h> */#undef HAVE_SOCKLEN_T/* Define if the PAM headers are on the local machine */#undef HAVE_SECURITY_PAM_APPL_H/* Define if you want to turn off assertion checking */#undef NO_GWASSERT/* Define if you have <syslog.h>. */#undef HAVE_SYSLOG_H/* Define if you have <iconv.h>. */#undef HAVE_ICONV_H/* Define if you have <execinfo.h>. */#undef HAVE_EXECINFO_H/* Define if you have and want to use the ssl library (-lssl) */#undef HAVE_LIBSSL/* Defined if we're using OpenSSL WTLS */#undef HAVE_WTLS_OPENSSL/* Define if you have and want to use the MySQL client library (-lmysqlclient) */#undef HAVE_MYSQL/* Define if you have and want to use the sdb client library (-lsdb) */#undef HAVE_SDB/* Define if you have and want to use the OCI library */#undef HAVE_ORACLE/* Define if you have and want to use the SQLite database library (-lsqlite) */#undef HAVE_SQLITE/* Define version of used libSDB */#undef LIBSDB_VERSION/* Define if you have and want to use the PostgreSQL dlr routines (-lpq) */#undef HAVE_PGSQL/* Define if you want to have cookie support for the WSP */#undef ENABLE_COOKIES/* Define not to include the WAP gateway parts */#undef NO_WAP/* Define not to include the SMS gateway parts */#undef NO_SMS/* Define for various gethostbyname_r functions */#undef HAVE_FUNC_GETHOSTBYNAME_R_6#undef HAVE_FUNC_GETHOSTBYNAME_R_5#undef HAVE_FUNC_GETHOSTBYNAME_R_3/* Define if you have and want to use POSIX regular expressions */#undef HAVE_REGEX/* Define if you have and want to use PCRE (Perl compatible regular expressions) */#undef HAVE_PCRE/* Define version of used libpcre */#undef LIBPCRE_VERSION/* Define if you have pthread_spinlock_t type and spinlock support. */#undef HAVE_PTHREAD_SPINLOCK_T/* Define if you have pthread_rwlock_t type and reader/writer lock support. */#undef HAVE_PTHREAD_RWLOCK/* Define if you have working semaphore (sem_t). */#undef HAVE_SEMAPHORE/* If we're using GCC, we can get it to check format function arguments. */#ifdef __GNUC__ #define PRINTFLIKE(a,b) __attribute__((format(printf, a, b)))#else #define PRINTFLIKE(a, b)#endif #endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -