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

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

?? generic.h

?? 在LINUX下實現HA的源代碼
?? H
字號:
/* $Id: generic.h,v 1.4.4.1 2004/04/20 07:57:54 alan Exp $ */#ifndef PILS_GENERIC_H#define PILS_GENERIC_H/* * Copyright (C) 2000 Alan Robertson <alanr@unix.sh> * This software licensed under the GNU LGPL. * * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. *  * This library 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 * Lesser General Public License for more details. *  * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA * * * Generic interface (implementation) manager * * This manager will manage any number of types of interfaces. * * This means that when any implementations of our client interfaces register * or unregister, it is us that makes their interfaces show up in the outside * world. * * And, of course, we have to do this in a very generic way, since we have * no idea about the client programs or interface types, or anything else. * * We do that by getting a parameter passed to us which tell us the names * of the interface types we want to manage, and the address of a GHashTable * for each type that we put the implementation in when they register * themselves. * * So, each type of interface that we manage gets its own private * GHashTable of the implementations of that type that are currently * registered. * * For example, if we manage communication modules, their exported * interfaces will be registered in a hash table.  If we manage * authentication modules, they'll have their (separate) hash table that * their exported interfaces are registered in. *  */#include <pils/interface.h>/* * Header defintions for using the generic interface/implementation * manager plugin. *//* *	Notification types for the callback function. */typedef enum {	PIL_REGISTER,	/* Someone has registered an implementation */	PIL_UNREGISTER 	/* Someone has unregistered an implementation */}GenericPILCallbackType; /* A user callback for the generic interface manager */typedef int (*GenericPILCallback)(	GenericPILCallbackType	type	/* Event type */,	PILPluginUniv*		univ	/* pointer to plugin universe */,	const char * 		iftype	/* Interface type */,	const char *		ifname	/* Implementation (interface) name */,	void *			userptr	/* Whatever you want it to be ;-) */);/* * Structures to declare the set of interface types we're managing. */typedef struct {	const char *	   iftype;	/* What type of interface is this? */	GHashTable**	   ifmap;	/* Table with implementation info */	void*		   importfuns;	/* Functions for interface to import */	GenericPILCallback callback;	/* Function2call when events occur */	void*		   userptr;	/* Passed to Callback function */}PILGenericIfMgmtRqst;/* * What does this look like in practice? * * GHashTable*	authmodules = NULL; * GHashTable*	commmodules = NULL; * PILGenericIfMgmtRqst RegisterRequests[] = * { * 	{"auth",	&authmodules,	&authimports,	NULL,	NULL}, * 	{"comm",	&commmodules,	&commimports,	NULL,	NULL}, * 	{NULL,		NULL,		NULL,		NULL,	NULL}	// NULL entry must be here * }; * * PILPlugin*	PluginUniverse; * * PluginUniverse = NewPILPlugin("/usr/lib/whatever/plugins"); * * PILLoadPlugin(PluginUniverse, "InterfaceMgr", "generic", &RegisterRequests); *	// N. B.: Passing RegisterRequests as an argument is essential * * Then, when you load an auth module, its exported interface gets added * to "authmodules". When you unload an auth module, it gets removed * from authmodules. * * Then, when you load a comm module, its exported interfaces gets added * to "commodules".  When you unload a comm module, its exported * interfaces get removed from "commodules" * * If there are simple changes that would be useful for this generic * plugin manager, then "patches are being accepted" :-) *  * On the other hand, If you don't like the way this plugin manager works * in a broader way, you're free to write your own  - it's just another * plugin ;-) */#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美在线你懂得| 亚洲免费av高清| 亚洲另类春色国产| 蜜臀av国产精品久久久久| 风间由美性色一区二区三区| 欧美在线观看视频一区二区| 久久久久99精品国产片| 午夜精品成人在线| 91在线观看污| 久久久久久99精品| 久久国产尿小便嘘嘘| 欧美在线免费播放| 亚洲欧美自拍偷拍| 国产成人亚洲综合色影视| 日韩一级成人av| 婷婷开心久久网| 色猫猫国产区一区二在线视频| 久久久久久久综合色一本| 奇米影视一区二区三区| 欧美日韩视频在线第一区| 亚洲免费观看高清| 成人av一区二区三区| 国产欧美一区二区三区网站| 精品午夜一区二区三区在线观看 | 亚洲五码中文字幕| 成人av小说网| 亚洲天堂福利av| 99久久777色| 亚洲天堂网中文字| 色美美综合视频| 一区二区三区中文字幕电影| 91色综合久久久久婷婷| 日韩理论片中文av| 欧美影院一区二区| 亚洲香肠在线观看| 777色狠狠一区二区三区| 亚洲国产美女搞黄色| 欧美三级一区二区| 日韩精品一级中文字幕精品视频免费观看| 在线观看91精品国产入口| 夜夜爽夜夜爽精品视频| 欧美日韩高清一区二区三区| 亚洲成a人片在线观看中文| 欧美精品乱码久久久久久| 日韩国产欧美在线观看| 欧美一个色资源| 狠狠色丁香婷婷综合| 国产亚洲人成网站| 不卡一区中文字幕| 亚洲精品视频免费观看| 欧美日韩国产一级| 精品在线播放午夜| 亚洲国产精品99久久久久久久久| 99视频热这里只有精品免费| 久久综合综合久久综合| 欧美电影免费观看高清完整版在线 | 国产欧美综合在线观看第十页| 国产精品12区| 《视频一区视频二区| 欧美视频在线一区| 久久99国产精品免费网站| 久久亚洲一区二区三区明星换脸| 大胆亚洲人体视频| 亚洲国产精品人人做人人爽| 欧美成va人片在线观看| 成人av资源在线| 五月婷婷激情综合| 久久精品视频在线看| 色婷婷久久一区二区三区麻豆| 日韩电影免费在线观看网站| 久久久久久免费| 欧美亚洲自拍偷拍| 国产一区中文字幕| 亚洲一区在线播放| 久久久久久久一区| 欧美天堂亚洲电影院在线播放| 久久99精品国产麻豆不卡| 亚洲视频一二三区| 日韩欧美电影一二三| 99re在线精品| 国产一区二区在线免费观看| 一区二区日韩av| 日本一区二区免费在线观看视频 | 国产成人a级片| 日韩精品五月天| 自拍偷拍亚洲激情| 久久综合狠狠综合久久综合88| 在线观看免费成人| 国产sm精品调教视频网站| 亚洲123区在线观看| 国产精品久久久99| 26uuu亚洲综合色欧美| 欧美日本精品一区二区三区| 波多野结衣中文字幕一区二区三区| 肉色丝袜一区二区| 一区二区三区欧美久久| 中文字幕巨乱亚洲| 久久伊人蜜桃av一区二区| 欧美日韩精品欧美日韩精品| 99视频精品免费视频| 国产麻豆成人传媒免费观看| 青青草原综合久久大伊人精品 | 久久精品视频免费观看| 日韩一区二区视频在线观看| 在线观看亚洲成人| 91偷拍与自偷拍精品| 国产91丝袜在线18| 国产一区二区福利| 国产综合久久久久影院| 日韩和欧美一区二区| 一区二区三区日韩欧美| 亚洲视频香蕉人妖| 国产精品国产三级国产| 久久精品一区四区| 久久―日本道色综合久久| 精品日韩99亚洲| 亚洲精品一区二区三区四区高清| 欧美一区二区三区在线观看 | 欧美国产精品中文字幕| 国产午夜久久久久| 中文字幕第一区综合| 蜜臀99久久精品久久久久久软件| 亚洲成人www| 日韩激情中文字幕| 精品在线你懂的| 国产精品白丝av| zzijzzij亚洲日本少妇熟睡| fc2成人免费人成在线观看播放| 成人免费看的视频| 91视视频在线观看入口直接观看www | 日韩精品亚洲一区二区三区免费| 午夜激情一区二区| 蜜乳av一区二区| 国产真实精品久久二三区| 国产精品99久久久| 91在线观看成人| 欧美日本高清视频在线观看| 欧美一区二区三区播放老司机 | 欧美日韩国产天堂| 欧美一区二区视频在线观看| 久久人人爽人人爽| 亚洲欧美综合色| 日韩经典中文字幕一区| 国产一区美女在线| 色综合久久综合中文综合网| 欧美日韩免费一区二区三区| 精品日韩在线一区| 日韩毛片视频在线看| 午夜视频久久久久久| 久久99深爱久久99精品| 成人免费毛片aaaaa**| 欧美在线免费观看视频| 精品国产一区二区精华| 亚洲色图在线看| 热久久国产精品| 91丝袜高跟美女视频| 欧美一区二区三区色| 日本一区二区动态图| 亚洲成人av在线电影| 国产九色精品成人porny| 91国偷自产一区二区开放时间| 日韩美女主播在线视频一区二区三区| 国产欧美一区二区三区鸳鸯浴| 亚洲成人精品影院| 成人午夜短视频| 日韩午夜精品视频| 一区二区在线看| 国产成人av电影| 日韩欧美中文字幕精品| 亚洲免费av在线| 成人免费高清视频在线观看| 欧美一区二区三区在线电影| 国产精品乱码一区二区三区软件| 日韩成人免费电影| 色噜噜狠狠成人中文综合| 国产亚洲婷婷免费| 日本视频一区二区三区| 色视频欧美一区二区三区| 国产欧美精品一区二区色综合 | 亚洲va国产天堂va久久en| 成人污污视频在线观看| 精品国产伦一区二区三区免费| 亚洲一卡二卡三卡四卡无卡久久| 成人小视频免费观看| 久久久亚洲欧洲日产国码αv| 天堂av在线一区| 精品视频在线免费看| 亚洲欧美一区二区三区久本道91| 丁香网亚洲国际| 国产日韩欧美精品综合| 国产一区美女在线| 精品国产露脸精彩对白| 美女在线视频一区| 7777精品伊人久久久大香线蕉经典版下载 | 大陆成人av片| 中文字幕精品一区二区精品绿巨人| 精品一区二区三区欧美| 精品免费日韩av| 久久99精品国产麻豆不卡| 日韩免费电影网站|