types.h

来自「非常好的dns解析软件」· C头文件 代码 · 共 104 行

H
104
字号
/* * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2003  Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. *//* $Id: types.h,v 1.35.18.2 2005/04/29 00:17:04 marka Exp $ */#ifndef ISC_TYPES_H#define ISC_TYPES_H 1/*! \file * \brief * OS-specific types, from the OS-specific include directories. */#include <isc/int.h>#include <isc/offset.h>/* * XXXDCL should isc_boolean_t be moved here, requiring an explicit include * of <isc/boolean.h> when ISC_TRUE/ISC_FALSE/ISC_TF() are desired? */#include <isc/boolean.h>/* * XXXDCL This is just for ISC_LIST and ISC_LINK, but gets all of the other * list macros too. */#include <isc/list.h>/* Core Types.  Alphabetized by defined type. */typedef struct isc_bitstring		isc_bitstring_t; 	/*%< Bitstring */typedef struct isc_buffer		isc_buffer_t;		/*%< Buffer */typedef ISC_LIST(isc_buffer_t)		isc_bufferlist_t;	/*%< Buffer List */typedef struct isc_constregion		isc_constregion_t;	/*%< Const region */typedef struct isc_consttextregion	isc_consttextregion_t;	/*%< Const Text Region */typedef struct isc_entropy		isc_entropy_t;		/*%< Entropy */typedef struct isc_entropysource	isc_entropysource_t;	/*%< Entropy Source */typedef struct isc_event		isc_event_t;		/*%< Event */typedef ISC_LIST(isc_event_t)		isc_eventlist_t;	/*%< Event List */typedef unsigned int			isc_eventtype_t;	/*%< Event Type */typedef isc_uint32_t			isc_fsaccess_t;		/*%< FS Access */typedef struct isc_hash			isc_hash_t;		/*%< Hash */typedef struct isc_interface		isc_interface_t;	/*%< Interface */typedef struct isc_interfaceiter	isc_interfaceiter_t;	/*%< Interface Iterator */typedef struct isc_interval		isc_interval_t;		/*%< Interval */typedef struct isc_lex			isc_lex_t;		/*%< Lex */typedef struct isc_log 			isc_log_t;		/*%< Log */typedef struct isc_logcategory		isc_logcategory_t;	/*%< Log Category */typedef struct isc_logconfig		isc_logconfig_t;	/*%< Log Configuration */typedef struct isc_logmodule		isc_logmodule_t;	/*%< Log Module */typedef struct isc_mem			isc_mem_t;		/*%< Memory */typedef struct isc_mempool		isc_mempool_t;		/*%< Memory Pool */typedef struct isc_msgcat		isc_msgcat_t;		/*%< Message Catalog */typedef struct isc_ondestroy		isc_ondestroy_t;	/*%< On Destroy */typedef struct isc_netaddr		isc_netaddr_t;		/*%< Net Address */typedef struct isc_quota		isc_quota_t;		/*%< Quota */typedef struct isc_random		isc_random_t;		/*%< Random */typedef struct isc_ratelimiter		isc_ratelimiter_t;	/*%< Rate Limiter */typedef struct isc_region		isc_region_t;		/*%< Region */typedef isc_uint64_t			isc_resourcevalue_t;	/*%< Resource Value */typedef unsigned int			isc_result_t;		/*%< Result */typedef struct isc_rwlock		isc_rwlock_t;		/*%< Read Write Lock */typedef struct isc_sockaddr		isc_sockaddr_t;		/*%< Socket Address */typedef struct isc_socket		isc_socket_t;		/*%< Socket */typedef struct isc_socketevent		isc_socketevent_t;	/*%< Socket Event */typedef struct isc_socketmgr		isc_socketmgr_t;	/*%< Socket Manager */typedef struct isc_symtab		isc_symtab_t;		/*%< Symbol Table */typedef struct isc_task			isc_task_t;		/*%< Task */typedef ISC_LIST(isc_task_t)		isc_tasklist_t;		/*%< Task List */typedef struct isc_taskmgr		isc_taskmgr_t;		/*%< Task Manager */typedef struct isc_textregion		isc_textregion_t;	/*%< Text Region */typedef struct isc_time			isc_time_t;		/*%< Time */typedef struct isc_timer		isc_timer_t;		/*%< Timer */typedef struct isc_timermgr		isc_timermgr_t;		/*%< Timer Manager */typedef void (*isc_taskaction_t)(isc_task_t *, isc_event_t *);/*% Resource */typedef enum {	isc_resource_coresize = 1,	isc_resource_cputime,	isc_resource_datasize,	isc_resource_filesize,	isc_resource_lockedmemory,	isc_resource_openfiles,	isc_resource_processes,	isc_resource_residentsize,	isc_resource_stacksize} isc_resource_t;#endif /* ISC_TYPES_H */

⌨️ 快捷键说明

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