亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? omapip.h

?? DHCP client source code
?? H
?? 第 1 頁 / 共 2 頁
字號:
/* omapip.h   Definitions for the object management API and protocol... *//* * Copyright (c) 2004,2007 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 1996-2003 by 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. * *   Internet Systems Consortium, Inc. *   950 Charter Street *   Redwood City, CA 94063 *   <info@isc.org> *   http://www.isc.org/ * * This software has been written for Internet Systems Consortium * by Ted Lemon in cooperation with Vixie Enterprises and Nominum, Inc. * To learn more about Internet Systems Consortium, see * ``http://www.isc.org/''.  To learn more about Vixie Enterprises, * see ``http://www.vix.com''.   To learn more about Nominum, Inc., see * ``http://www.nominum.com''. */#ifndef _OMAPIP_H_#define _OMAPIP_H_#include <isc-dhcp/result.h>#include <stdarg.h>typedef unsigned int omapi_handle_t;struct __omapi_object;typedef struct __omapi_object omapi_object_t;typedef enum {	omapi_datatype_int,	omapi_datatype_string,	omapi_datatype_data,	omapi_datatype_object} omapi_datatype_t;typedef struct {	int refcnt;	omapi_datatype_t type;	union {		struct {			unsigned len;#define OMAPI_TYPED_DATA_NOBUFFER_LEN (sizeof (int) + \				       sizeof (omapi_datatype_t) + \				       sizeof (int))			unsigned char value [1];		} buffer;#define OMAPI_TYPED_DATA_OBJECT_LEN (sizeof (int) + \				     sizeof (omapi_datatype_t) + \				     sizeof (omapi_object_t *))		omapi_object_t *object;#define OMAPI_TYPED_DATA_REF_LEN (sizeof (int) + \				  sizeof (omapi_datatype_t) + \				  3 * sizeof (void *))		struct {			void *ptr;			isc_result_t (*reference) (void *,						   void *, const char *, int);			isc_result_t (*dereference) (void *,						     const char *, int);		} ref;#define OMAPI_TYPED_DATA_INT_LEN (sizeof (int) + \				  sizeof (omapi_datatype_t) + \				  sizeof (int))		int integer;	} u;} omapi_typed_data_t;typedef struct {	int refcnt;	unsigned len;#define OMAPI_DATA_STRING_EMPTY_SIZE (2 * sizeof (int))	unsigned char value [1];} omapi_data_string_t;typedef struct {	int refcnt;	omapi_data_string_t *name;	omapi_typed_data_t *value;} omapi_value_t;typedef struct __omapi_object_type_t {	const char *name;	struct __omapi_object_type_t *next;		isc_result_t (*set_value) (omapi_object_t *, omapi_object_t *,				   omapi_data_string_t *,				   omapi_typed_data_t *);	isc_result_t (*get_value) (omapi_object_t *,				   omapi_object_t *,				   omapi_data_string_t *, omapi_value_t **);	isc_result_t (*destroy) (omapi_object_t *, const char *, int);	isc_result_t (*signal_handler) (omapi_object_t *,					const char *, va_list);	isc_result_t (*stuff_values) (omapi_object_t *,				      omapi_object_t *, omapi_object_t *);	isc_result_t (*lookup) (omapi_object_t **, omapi_object_t *,				omapi_object_t *);	isc_result_t (*create) (omapi_object_t **, omapi_object_t *);	isc_result_t (*remove) (omapi_object_t *, omapi_object_t *);	isc_result_t (*freer) (omapi_object_t *, const char *, int);	isc_result_t (*allocator) (omapi_object_t **, const char *, int);	isc_result_t (*sizer) (size_t);	size_t size;	int rc_flag;	isc_result_t (*initialize) (omapi_object_t *, const char *, int);} omapi_object_type_t;#define OMAPI_OBJECT_PREAMBLE \	omapi_object_type_t *type; \	int refcnt; \	omapi_handle_t handle; \	omapi_object_t *outer, *inner/* The omapi handle structure. */struct __omapi_object {	OMAPI_OBJECT_PREAMBLE;};/* The port on which applications should listen for OMAPI connections. */#define OMAPI_PROTOCOL_PORT	7911typedef struct {	unsigned addrtype;	unsigned addrlen;	unsigned char address [16];	unsigned port;} omapi_addr_t;typedef struct {	int refcnt;	unsigned count;	omapi_addr_t *addresses;} omapi_addr_list_t;typedef struct auth_key {	OMAPI_OBJECT_PREAMBLE;	char *name;	char *algorithm;	omapi_data_string_t *key;} omapi_auth_key_t;#define OMAPI_CREATE          1#define OMAPI_UPDATE          2#define OMAPI_EXCL            4#define OMAPI_NOTIFY_PROTOCOL 8#define OMAPI_OBJECT_ALLOC(name, stype, type) \isc_result_t name##_allocate (stype **p, const char *file, int line)	      \{									      \	return omapi_object_allocate ((omapi_object_t **)p,		      \				      type, 0, file, line);		      \}									      \									      \isc_result_t name##_reference (stype **pptr, stype *ptr,		      \			       const char *file, int line)		      \{									      \	return omapi_object_reference ((omapi_object_t **)pptr,		      \				       (omapi_object_t *)ptr, file, line);    \}									      \									      \isc_result_t name##_dereference (stype **ptr, const char *file, int line)     \{									      \	return omapi_object_dereference ((omapi_object_t **)ptr, file, line); \}#define OMAPI_OBJECT_ALLOC_DECL(name, stype, type) \isc_result_t name##_allocate (stype **p, const char *file, int line); \isc_result_t name##_reference (stype **pptr, stype *ptr, \			       const char *file, int line); \isc_result_t name##_dereference (stype **ptr, const char *file, int line);typedef isc_result_t (*omapi_array_ref_t) (char **, char *, const char *, int);typedef isc_result_t (*omapi_array_deref_t) (char **, const char *, int);/* An extensible array type. */typedef struct {	char **data;	omapi_array_ref_t ref;	omapi_array_deref_t deref;	int count;	int max;} omapi_array_t;#define OMAPI_ARRAY_TYPE(name, stype)					      \isc_result_t name##_array_allocate (omapi_array_t **p,			      \				    const char *file, int line)		      \{									      \	return (omapi_array_allocate					      \		(p,							      \		 (omapi_array_ref_t)name##_reference,			      \		 (omapi_array_deref_t)name##_dereference,		      \		 file, line));						      \}									      \									      \isc_result_t name##_array_free (omapi_array_t **p,			      \				const char *file, int line)		      \{									      \	return omapi_array_free (p, file, line);			      \}									      \									      \isc_result_t name##_array_extend (omapi_array_t *pptr, stype *ptr, int *index,\				  const char *file, int line)		      \{									      \	return omapi_array_extend (pptr, (char *)ptr, index, file, line);     \}									      \									      \isc_result_t name##_array_set (omapi_array_t *pptr, stype *ptr,	int index,    \			       const char *file, int line)		      \{									      \	return omapi_array_set (pptr, (char *)ptr, index, file, line);	      \}									      \									      \isc_result_t name##_array_lookup (stype **ptr, omapi_array_t *pptr,	      \				  int index, const char *file, int line)      \{									      \	return omapi_array_lookup ((char **)ptr, pptr, index, file, line);    \}#define OMAPI_ARRAY_TYPE_DECL(name, stype) \isc_result_t name##_array_allocate (omapi_array_t **, const char *, int);     \isc_result_t name##_array_free (omapi_array_t **, const char *, int);	      \isc_result_t name##_array_extend (omapi_array_t *, stype *, int *,	      \				  const char *, int);			      \isc_result_t name##_array_set (omapi_array_t *,				      \			       stype *, int, const char *, int);	      \isc_result_t name##_array_lookup (stype **,				      \				  omapi_array_t *, int, const char *, int)#define	omapi_array_foreach_begin(array, stype, var)			      \	{								      \		int omapi_array_foreach_index;				      \		stype *var = (stype *)0;				      \		for (omapi_array_foreach_index = 0;			      \			     array &&					      \			     omapi_array_foreach_index < (array) -> count;    \		     omapi_array_foreach_index++) {			      \			if ((array) -> data [omapi_array_foreach_index]) {    \				((*(array) -> ref)			      \				 ((char **)&var,			      \				  (array) -> data [omapi_array_foreach_index],\				  MDL));#define	omapi_array_foreach_end(array, stype, var)			      \				(*(array) -> deref) ((char **)&var, MDL);     \			}						      \		}							      \	}isc_result_t omapi_protocol_connect (omapi_object_t *,				     const char *, unsigned, omapi_object_t *);isc_result_t omapi_connect_list (omapi_object_t *, omapi_addr_list_t *,				 omapi_addr_t *);isc_result_t omapi_protocol_listen (omapi_object_t *, unsigned, int);isc_boolean_t omapi_protocol_authenticated (omapi_object_t *);isc_result_t omapi_protocol_configure_security (omapi_object_t *,						isc_result_t (*)						(omapi_object_t *,						 omapi_addr_t *),						isc_result_t (*)						(omapi_object_t *,						 omapi_auth_key_t *));isc_result_t omapi_protocol_accept (omapi_object_t *);isc_result_t omapi_protocol_send_intro (omapi_object_t *, unsigned, unsigned);isc_result_t omapi_protocol_ready (omapi_object_t *);isc_result_t omapi_protocol_add_auth (omapi_object_t *, omapi_object_t *,				      omapi_handle_t);isc_result_t omapi_protocol_lookup_auth (omapi_object_t **, omapi_object_t *,					 omapi_handle_t);isc_result_t omapi_protocol_set_value (omapi_object_t *, omapi_object_t *,				       omapi_data_string_t *,				       omapi_typed_data_t *);isc_result_t omapi_protocol_get_value (omapi_object_t *, omapi_object_t *,				       omapi_data_string_t *,				       omapi_value_t **); isc_result_t omapi_protocol_stuff_values (omapi_object_t *,					  omapi_object_t *,					  omapi_object_t *);isc_result_t omapi_protocol_destroy (omapi_object_t *, const char *, int);isc_result_t omapi_protocol_send_message (omapi_object_t *,					  omapi_object_t *,					  omapi_object_t *,					  omapi_object_t *);isc_result_t omapi_protocol_signal_handler (omapi_object_t *,					    const char *, va_list);isc_result_t omapi_protocol_listener_set_value (omapi_object_t *,						omapi_object_t *,						omapi_data_string_t *,						omapi_typed_data_t *);isc_result_t omapi_protocol_listener_get_value (omapi_object_t *,						omapi_object_t *,

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩一区久久| 亚洲人一二三区| 亚洲欧美在线视频| 久久国内精品自在自线400部| av电影在线观看完整版一区二区| 337p亚洲精品色噜噜| 亚洲欧美日韩电影| 国产精品亚洲一区二区三区妖精 | 亚洲国产一区二区在线播放| 国产乱码字幕精品高清av| 欧美日韩五月天| 亚洲美女视频在线观看| 成人动漫一区二区三区| 久久精品网站免费观看| 麻豆国产精品一区二区三区| 欧美日韩久久不卡| 一区二区日韩电影| 91女人视频在线观看| 国产清纯美女被跳蛋高潮一区二区久久w| 日本欧美大码aⅴ在线播放| 色狠狠综合天天综合综合| 国产精品久久久久久久久免费樱桃 | 韩国三级电影一区二区| 宅男在线国产精品| 青青草一区二区三区| 欧美美女喷水视频| 亚洲成人免费视| 欧美日韩一级黄| 午夜影视日本亚洲欧洲精品| 欧美日本精品一区二区三区| 亚洲第一在线综合网站| 色婷婷一区二区| 亚洲国产wwwccc36天堂| 欧美日韩精品一二三区| 日韩精品一级中文字幕精品视频免费观看 | 欧美一区二区三区小说| 开心九九激情九九欧美日韩精美视频电影 | 国产农村妇女精品| 成人精品视频一区二区三区| 中文字幕+乱码+中文字幕一区| 国产jizzjizz一区二区| 中文字幕亚洲一区二区av在线| 91麻豆福利精品推荐| 一区二区视频在线看| 欧美午夜免费电影| 青青青爽久久午夜综合久久午夜 | 欧美色国产精品| 日韩高清在线观看| 日韩欧美自拍偷拍| 国产露脸91国语对白| 中文字幕在线播放不卡一区| 色妹子一区二区| 日产国产高清一区二区三区 | 欧美一区二区视频在线观看| 六月丁香婷婷久久| 久久精品人人做人人爽人人| jizzjizzjizz欧美| 午夜免费欧美电影| 精品福利一二区| 97国产一区二区| 蜜臀av一区二区| 亚洲欧洲一区二区在线播放| 欧美日韩国产免费一区二区| 狠狠色丁香九九婷婷综合五月| 欧美国产一区二区| 欧美日韩综合在线免费观看| 国产精品综合一区二区| 伊人一区二区三区| 国产无遮挡一区二区三区毛片日本| 色综合久久99| 国产自产高清不卡| 亚洲精品亚洲人成人网| 久久综合色8888| 欧美中文字幕一二三区视频| 国产麻豆视频精品| 亚洲国产视频在线| 中文字幕不卡在线| 精品国内二区三区| 欧美熟乱第一页| 丰满白嫩尤物一区二区| 日韩精品一二三区| 亚洲免费电影在线| 国产偷国产偷精品高清尤物| 欧美日韩精品一区二区三区 | 欧美一区永久视频免费观看| 波多野结衣视频一区| 精品一区二区精品| 婷婷开心久久网| 亚洲啪啪综合av一区二区三区| 久久久久综合网| 日韩一级大片在线| 在线精品视频一区二区| 成人精品一区二区三区四区| 国模冰冰炮一区二区| 日韩国产成人精品| 亚洲福利一区二区| 亚洲综合成人在线视频| 亚洲图片你懂的| 亚洲欧洲精品成人久久奇米网| 久久―日本道色综合久久| 欧美一卡2卡三卡4卡5免费| 欧美欧美午夜aⅴ在线观看| 色天使色偷偷av一区二区| 99麻豆久久久国产精品免费| 国产风韵犹存在线视精品| 久久精品国产一区二区三| 丝瓜av网站精品一区二区| 亚洲电影欧美电影有声小说| 亚洲一区二区三区影院| 亚洲精品菠萝久久久久久久| 亚洲视频一二三区| 一区二区三区欧美日| 亚洲最新视频在线观看| 亚洲综合在线视频| 亚洲国产一区视频| 天天色图综合网| 蜜臀av性久久久久蜜臀aⅴ四虎| 美女爽到高潮91| 国内久久精品视频| 国内国产精品久久| 国产精品996| 99久久综合99久久综合网站| 一本大道久久a久久综合婷婷| 欧亚洲嫩模精品一区三区| 欧美三级资源在线| 欧美一级电影网站| 国产性做久久久久久| 综合久久久久久久| 亚洲成人777| 极品美女销魂一区二区三区| 高清国产一区二区| 在线视频综合导航| 在线不卡免费欧美| 久久精品亚洲一区二区三区浴池 | 91麻豆免费看| 欧美日本国产视频| 国产亚洲综合av| 亚洲伦在线观看| 视频在线观看国产精品| 精品无人区卡一卡二卡三乱码免费卡| 国产乱子轮精品视频| 色综合久久88色综合天天免费| 在线电影院国产精品| 欧美极品美女视频| 亚洲国产视频在线| 国产一区二区三区在线观看免费| 91婷婷韩国欧美一区二区| 欧美日韩精品欧美日韩精品| 国产日产亚洲精品系列| 亚洲大片在线观看| 成人在线综合网| 91精品欧美久久久久久动漫| 国产精品久久久一区麻豆最新章节| 午夜天堂影视香蕉久久| 成人丝袜18视频在线观看| 欧美日韩一区视频| 中文字幕一区三区| 九九国产精品视频| 色狠狠综合天天综合综合| 久久女同互慰一区二区三区| 性欧美疯狂xxxxbbbb| 粉嫩av亚洲一区二区图片| 欧美一区二区三区视频免费| 亚洲天天做日日做天天谢日日欢| 美国十次综合导航| 欧美影视一区在线| ...av二区三区久久精品| 精品影视av免费| 777a∨成人精品桃花网| 中文字幕中文字幕一区| 久久99久国产精品黄毛片色诱| 在线免费观看日本欧美| 欧美国产成人在线| 韩国av一区二区三区| 91精品国产综合久久久蜜臀图片| 亚洲婷婷国产精品电影人久久| 国产在线精品一区二区不卡了| 欧美日韩一级二级| 亚洲色图欧美偷拍| 99久久国产综合精品色伊| 26uuu亚洲婷婷狠狠天堂| 午夜电影一区二区三区| 色婷婷香蕉在线一区二区| 中文字幕乱码亚洲精品一区| 国产一区二区调教| 欧美一区二区三区视频在线| 偷拍与自拍一区| 欧美视频完全免费看| 一区二区三区日韩精品视频| 99视频有精品| 自拍视频在线观看一区二区| 成人黄色电影在线 | 精品福利一区二区三区| 蜜桃视频在线观看一区| 91.com在线观看| 麻豆视频观看网址久久| 欧美一级爆毛片| 国产主播一区二区三区| 久久免费精品国产久精品久久久久| 韩国午夜理伦三级不卡影院|