⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.h

📁 7号信令功能代码,为开源代码
💻 H
📖 第 1 页 / 共 2 页
字号:
   This is an OSF-specific ioctl.   Only define this if this is also an OSF derived operating system. *//* #undef HAVE_TI_XTI_MODE *//* Define if timod supports TI_TLI_MODE.   This is an OSF-specific ioctl.   Only define this if this is also an OSF derived operating system. *//* #undef HAVE_TI_TLI_MODE *//* Define if timod supports TI_SYNC.   This is an System V Release 4.2 XNS 5.2 XTI (SUSv1 and SUSv2) supporint io control. *//* #undef HAVE_TI_SYNC *//* Define if timod supports TI_GETADDRS.   This is an System V Release 4.2 XNS 5.2 XTI (SUSv1 and SUSv2) supporint io control. *//* #undef HAVE_TI_GETADDRS *//* Define if timod supports TI_CAPABILITY.   This is an System V Release 4.2 XNS 5.2 XTI (SUSv1 and SUSv2) supporint io control. *//* #undef HAVE_TI_CAPABILITY *//* Define if tihdr supports T_ORDREL_REQ/IND.   This ioctl is not supported by all TI systems.   If you do not have one, XTI will be unusable. */#define HAVE_T_ORDREL 1/* Define if tihdr supports T_ADDR_REQ/ACK.   This ioctl is not supported by all TI systems.   If you do not have one, XTI will be unusable. */#define HAVE_T_ADDR 1/* Define if tihdr supports T_CAPABILITY_REQ/ACK.   This ioctl is not supported by all TI systems.   If you do not have one, XTI will be unusable. */#define HAVE_T_CAPABILITY 1/* Define if tihdr supports T_OPTDATA_REQ/IND.   This ioctl is not supported by all TI systems.   If you do not have one, XTI will be unusable. */#define HAVE_T_OPTDATA 1/* Define if tihdr defines T_OPTDATA_REQ/IND but does not provide T_ODF_ flags.   These flags are required to use T_OPTDATA_REQ/T_OPTDATA_IND DATA_flag field.   LiS has broken tihdr.h header file, so we need this for most LiS releases. */#define NEED_T_ODF_FLAGS 1/* Define if tidhr defines T_optdata_ack and optdata_ack instead of optdata_ind.   The standard is optdata_ind, but most LiS releases have broken tihdr.h files.   LiS has broken tihdr.h header file, so we need this for most LiS releases. *//* #undef HAVE_BROKEN_OPTDATA_ACK *//* Define if tihdr supports T_GETADDR_REQ/ACK.   This ioctl is not supported by all TI systems.   If you do not have one, XTI will be unusable. *//* #undef HAVE_T_GETADDR *//* Define if tihdr supports T_FEEDBACK_REQ.   This ioctl is not supported by all TI systems.   If you do not have one, XTI will be unusable. *//* #undef HAVE_T_FEEDBACK *//* Define to get GNU extensions. */#define _GNU_SOURCE 1/* Define if libpthread has pthread_cleanup_push_defer_np. */#define HAVE_PTHREAD_CLEANUP_POP_RESTORE 1/* Define if libpthread has pthread_cleanup_push_defer_np. */#define HAVE_PTHREAD_CLEANUP_POP_RESTORE 1/* Define if you have libpthread (-lpthread). */#define HAVE_LIB_PTHREAD 1/* Define if libpthread has pthread_cleanup_push_defer_np. *//* #undef HAVE_PTHREAD_CLEANUP_PUSH_DEFER *//* Define if libpthread has pthread_cleanup_pop_restore_np. */#define HAVE_PTHREAD_CLEANUP_POP_RESTORE 1/* Define if you have libstreams (-lstreams). *//* #undef HAVE_LIB_STREAMS *//* Define if you have libLiS (-lLiS). */#define HAVE_LIB_LIS 1/* Define if unistd.h defines _SC_T_IOV_MAX. *//* #undef NEED__SC_T_IOV_MAX *//***************************************************************************** BEGINNING OF SEPARATE COPYRIGHT MATERIAL vim: ft=c ***************************************************************************** @(#) config.h,v LiS-2_16_18-8(1.1.4.1) 2004/01/12 23:44:49 ----------------------------------------------------------------------------- Copyright (c) 2001-2004  OpenSS7 Corporation <http://www.openss7.com> Copyright (c) 1997-2000  Brian F. G. Bidulock <bidulock@openss7.org> All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ----------------------------------------------------------------------------- U.S. GOVERNMENT RESTRICTED RIGHTS.  If you are licensing this Software on behalf of the U.S. Government ("Government"), the following provisions apply to you.  If the Software is supplied by the Department of Defense ("DoD"), it is classified as "Commercial Computer Software" under paragraph 252.227-7014 of the DoD Supplement to the Federal Acquisition Regulations ("DFARS") (or any successor regulations) and the Government is acquiring only the license rights granted herein (the license rights customarily provided to non-Government users).  If the Software is supplied to any unit or agency of the Government other than DoD, it is classified as "Restricted Computer Software" and the Government's rights in the Software are defined in paragraph 52.227-19 of the Federal Acquisition Regulations ("FAR") (or any success regulations) or, in the cases of NASA, in paragraph 18.52.227-86 of the NASA Supplement to the FAR (or any successor regulations). ----------------------------------------------------------------------------- Commercial licensing and support of this software is available from OpenSS7 Corporation at a fee.  See http://www.openss7.com/ ----------------------------------------------------------------------------- Last Modified 2004/01/12 23:44:49 by brian *****************************************************************************//* *  These are my header declarations after autoconf. */#ident "@(#) config.h,v LiS-2_16_18-8(1.1.4.1) 2004/01/12 23:44:49"/** * \defgroup libxti OpenSS7 XTI Library * \brief OpenSS7 XNS/XTI Library Calls * * This manpage contains documentation of OpenSS7 XTI Library functions that * are generated automatically from the source code with doxygen.  This * documentation is intended to be used for maintainers of the OpenSS7 XTI * Library and is not intended for users of the OpenSS7 XTI Library.  Users * should consult the documentation found in xti(3). * * \author Brian F. G. Bidulock * \version \LiS-2_16_18-8(\1.1.4.1) * \date \2004/01/12 23:44:49 */#define _XOPEN_SOURCE 1#include <sys/types.h>#ifndef NEED__SC_T_IOV_MAX#include <unistd.h>#else#define _SC_T_IOV_MAX		1#endif#define _SC_T_DEFAULT_ADDRLEN	2#define _SC_T_DEFAULT_CONNLEN	3#define _SC_T_DEFAULT_DISCLEN	4#define _SC_T_DEFAULT_OPTLEN	5#define _SC_T_DEFAULT_DATALEN	6#if defined(HAVE_STROPTS_H)#include <stropts.h>#elif defined(HAVE_SYS_STROPTS_H)#include <sys/stropts.h>#elif defined(HAVE_LINUX_STROPTS_H)#include <linux/stropts.h>#else#include <stropts.h>#endif/*   LiS incorrectly defines struct t_opthdr in tihdr.h  */#ifdef __LINUX_WITH_LIS__#define t_opthdr __unusable_t_opthdr#endif#if defined(HAVE_TIHDR_H)#include <tihdr.h>#elif defined(HAVE_SYS_TIHDR_H)#include <sys/tihdr.h>#elif defined(HAVE_LINUX_TIHDR_H)#include <linux/tihdr.h>#else#include <sys/tihdr.h>#endif/*   LiS incorrectly defines T_OPTDATA_REQ/IND without T_ODF_EX/MORE  */#if defined NEED_T_ODF_FLAGS#if !defined T_ODF_MORE#define T_ODF_MORE		0x0001#endif#if !defined T_ODF_EX#define T_ODF_EX		0x0002#endif#endif/*   LiS has broken T_optdata_ack and optdata_ack instead of T_optdata_ind and optdata_ind.  */#if defined HAVE_BROKEN_OPTDATA_ACK#define T_optdata_ind T_optdata_ack#define optdata_ind optdata_ack#endif				/* defined HAVE_BROKEN_OPTDATA_ACK */#if defined(HAVE_TIMOD_H)#include <timod.h>#elif defined(HAVE_SYS_TIMOD_H)#include <sys/timod.h>#elif defined(HAVE_LINUX_TIMOD_H)#include <linux/timod.h>#else#include <sys/timod.h>#endif#include <xti/xti.h>#define _T_DEFAULT_ADDRLEN	128#define _T_DEFAULT_CONNLEN	256#define _T_DEFAULT_DISCLEN	256#define _T_DEFAULT_OPTLEN	256#define _T_DEFAULT_DATALEN	1024#define _T_TIMEOUT		-1#define _T_IOV_MAX		16extern struct t_info *fds[];#if 0extern int _t_ioctl(int fd, int cmd, void *arg);extern int _t_strioctl(int fd, int cmd, void *arg, size_t arglen);extern int _t_putmsg(int fd, struct strbuf *ctrl, struct strbuf *data, int flags);extern int _t_getmsg(int fd, struct strbuf *ctrl, struct strbuf *data, int *flags);extern int _t_rcvconnect(int fd, struct t_call *call, struct t_info *info);extern int _t_getinfo(int fd, struct t_info *info);typeof(_t_ioctl)	__xnet__t_ioctl __attribute__ ((__weak__, __alias__("_t_ioctl")));typeof(_t_strioctl)	__xnet__t_strioctl __attribute__ ((__weak__, __alias__("_t_strioctl")));typeof(_t_putmsg)	__xnet__t_putmsg __attribute__ ((__weak__, __alias__("_t_putmsg")));typeof(_t_getmsg)	__xnet__t_getmsg __attribute__ ((__weak__, __alias__("_t_getmsg")));typeof(_t_rcvconnect)	__xnet__t_rcvconnect __attribute__ ((__weak__, __alias__("_t_rcvconnect")));typeof(_t_getinfo)	__xnet__t_getinfo __attribute__ ((__weak__, __alias__("_t_getinfo")));#endif#if defined __LINUX_WITH_LIS__ && !defined HAVE_LIB_LIS#pragma weak getpmsg#pragma weak putpmsg#pragma weak getmsg#pragma weak putmsg#endif				/* defined __LINUX_WITH_LIS__ && !defined HAVE_LIB_LIS */#if (defined __LINUX_WITH_LIS__ && !defined HAVE_LIB_LIS) || \    (defined __LINUX_WITH_LFS__ && !defined HAVE_LIB_STREAMS)#pragma weak isastream#endif				/* (defined __LINUX_WITH_LIS__ && !defined HAVE_LIB_LIS) ||				   (defined __LINUX_WITH_LFS__ && !defined HAVE_LIB_STREAMS) *//***************************************************************************** Copyright (c) 2001-2004  OpenSS7 Corporation <http://www.openss7.com> Copyright (c) 1997-2000  Brian F. G. Bidulock <bidulock@openss7.org> ***************************************************************************** ENDING OF SEPARATE COPYRIGHT MATERIAL vim: ft=c *****************************************************************************/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -