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

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

?? sample_plugin_core.c

?? partysip 插件開發 簡單的一個小例子
?? C
字號:
/*  The sample_plugin plugin is a plugin for partysip.  Copyright (C) 2002  Aymeric MOIZARD - <jack@atosc.org>    The sample_plugin plugin 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.    The sample_plugin plugin 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 sample_plugin; if not, write to the Free Software  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA*/#include <partysip/partysip.h>#include "sample_plugin.h"#define PSP_SERVER_CF_DIR PSP_SERVER_CONFIG_DIR/* this structure is retreived by the core application   with dlsym */psp_plugin_t PPL_DECLARE_DATA sample_plugin_plugin;/* element shared with the core application layer *//* all xxx_plugin elements MUST be DYNAMICLY ALLOCATED   as the core application will assume they are */imp_plugin_t *sample_plugin_plugin1;uap_plugin_t *sample_plugin_plugin2;extern sample_plugin_ctx_t *sample_plugin_context;/* this is called by the core application when the module   is loaded (the address of this method is located in   the structure sample_plugin_plugin->plugin_init() */int plugin_init(){  char *noauth;  imp_func_t *fn;  uap_func_t *fn2;  int i;  /* plugin MUST create their own structure and give them     back to the core by calling:     psp_core_load_xxx_plugin();     where xxx is the module name related to the plugin.     psp_plugins can have more than one xxx_plugins attached  */  TRACE(trace(__FILE__,__LINE__,TRACE_LEVEL2,NULL,	      "INFO: sample_plugin plugin: plugin_init()!\n"));  i = sample_plugin_ctx_init();  if (i!=0)    goto pi_error1;  psp_plugin_take_ownership(&sample_plugin_plugin);  i = psp_core_load_imp_plugin(&sample_plugin_plugin1, &sample_plugin_plugin);  if (i!=0)    goto pi_error2;  psp_plugin_take_ownership(&sample_plugin_plugin);  i = psp_core_load_uap_plugin(&sample_plugin_plugin2, &sample_plugin_plugin);  if (i!=0)    goto pi_error2;  /* INIT HOOK METHOD FOR IMP */  /* hook sample for INVITE */  i = imp_func_init(&fn, &cb_sample_plugin_on_INVITE,		    sample_plugin_plugin.plug_id);  if (i!=0) goto pi_error3;  i = psp_core_add_imp_invite_hook(fn, PSP_HOOK_REALLY_FIRST);  if (i!=0) goto pi_error4;  /* hook sample for 2XX */  i = uap_func_init(&fn2, &cb_sample_plugin_on_2XX,		    sample_plugin_plugin.plug_id);  if (i!=0) goto pi_error5;  i = psp_core_add_uap_2xx_hook(fn2, PSP_HOOK_MIDDLE);  if (i!=0) goto pi_error6;  i = uap_func_init(&fn2, &cb_sample_plugin_on_3456XX,		    sample_plugin_plugin.plug_id);  if (i!=0) goto pi_error7;  i = psp_core_add_uap_2xx_hook(fn2, PSP_HOOK_MIDDLE);  if (i!=0) goto pi_error8;  return 0; pi_error8:  /* YOU HAVE TO manage the memory in case of errors... */ pi_error7: pi_error6: pi_error5: pi_error4: pi_error3:  /* ... */ pi_error2:  sample_plugin_ctx_free(); pi_error1:  return -1;}/* THIS METHOD IS NOT USED IN 0.4.4 */int plugin_start(){  TRACE(trace(__FILE__,__LINE__,TRACE_LEVEL2,NULL,	      "INFO: sample_plugin plugin: plugin_start()!\n"));  return -1;}int plugin_release(){  TRACE(trace(__FILE__,__LINE__,TRACE_LEVEL2,NULL,	      "INFO: sample_plugin plugin: plugin_release()!\n"));  sample_plugin_ctx_free();  sample_plugin_context=NULL;  return -1;}psp_plugin_t PPL_DECLARE_DATA sample_plugin_plugin = {  0,          /* uninitialized DO NOT TOUCH */  "Sample_Plugin plugin",  "0.1.0",  "This is just a sample_plugin. It does nothing.",  PLUGIN_IMP|PLUGIN_UAP,              /* PLUGIN_TLP | PLUGIN_IMP | PLUGIN_UAP | PLUGIN_SLP | PLUGIN_SFP */  0,          /* number of owners is always 0 at the begining: DO NOT TOUCH */  NULL,       /* future place for the dso_handle: DO NOT TOUCH */  &plugin_init,        /* DO NOT TOUCH */  &plugin_start,       /* DO NOT TOUCH */  &plugin_release      /* DO NOT TOUCH */};

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
另类小说图片综合网| 首页亚洲欧美制服丝腿| 日韩丝袜情趣美女图片| 欧美亚洲高清一区二区三区不卡| 不卡视频在线看| 国产成人在线免费观看| 成人免费福利片| 成人国产精品免费观看| av欧美精品.com| 在线免费观看视频一区| 欧美久久久影院| 日韩欧美在线网站| 久久精品在这里| 日韩毛片在线免费观看| 亚洲专区一二三| 首页亚洲欧美制服丝腿| 免费一级片91| 风间由美一区二区av101 | 欧美色图12p| 日本久久一区二区三区| 欧美日韩精品专区| 欧美一级理论片| 国产午夜精品久久久久久久| 欧美激情资源网| 亚洲国产日韩在线一区模特| 日韩极品在线观看| 国产成人av一区二区三区在线| 91亚洲国产成人精品一区二三| 在线精品观看国产| 日韩你懂的在线观看| 国产精品久久久久桃色tv| 亚洲精品成人悠悠色影视| 男女男精品网站| 99精品黄色片免费大全| 欧美乱熟臀69xxxxxx| 欧美精品一区二| 亚洲高清免费视频| 国产91精品一区二区麻豆亚洲| 91高清视频免费看| 国产日产欧美精品一区二区三区| 一区二区三区高清在线| 国产精品一区专区| 884aa四虎影成人精品一区| 国产三级欧美三级| 日本三级亚洲精品| 99国产精品久久久| 久久久久久综合| 三级久久三级久久| 91麻豆精东视频| 久久众筹精品私拍模特| 爽好多水快深点欧美视频| 成人av综合一区| 久久中文字幕电影| 日韩经典中文字幕一区| 91黄色免费版| 国产精品国产三级国产aⅴ原创| 日本成人中文字幕在线视频| 91成人看片片| ●精品国产综合乱码久久久久| 久久成人av少妇免费| 欧美日韩国产另类一区| 亚洲黄色免费电影| 色综合色综合色综合 | 国产亚洲va综合人人澡精品| 日韩黄色片在线观看| 日韩一区二区三区免费看| 亚洲一区中文日韩| 在线欧美日韩国产| 一区二区理论电影在线观看| 95精品视频在线| 中文字幕亚洲综合久久菠萝蜜| 国产成人av电影免费在线观看| 精品国产污网站| 激情图区综合网| wwwwww.欧美系列| 麻豆国产欧美日韩综合精品二区 | 免费高清在线一区| 欧美一区二区三区影视| 麻豆精品一区二区三区| 日韩三级电影网址| 激情综合色综合久久综合| 日韩精品一区二区在线| 激情综合五月婷婷| 国产精品网站导航| 99视频精品免费视频| 亚洲激情六月丁香| 欧美日韩精品免费| 国产真实乱对白精彩久久| 久久九九99视频| 91丨国产丨九色丨pron| 亚洲电影中文字幕在线观看| 777久久久精品| 国产精品白丝jk白祙喷水网站 | 在线观看不卡视频| 亚洲成av人片观看| 欧美成人猛片aaaaaaa| 国产精品1024| 亚洲影院在线观看| 日韩一区二区三区视频| 国产91高潮流白浆在线麻豆| 自拍偷拍国产亚洲| 在线观看91av| 丁香桃色午夜亚洲一区二区三区| 成人欧美一区二区三区黑人麻豆 | 久久99精品久久久| 中文字幕欧美国产| 欧美色精品天天在线观看视频| 奇米在线7777在线精品| 国产精品免费久久久久| 欧美日韩国产综合一区二区 | 国产精品私人影院| 欧美日韩视频专区在线播放| 国内外成人在线视频| 亚洲视频一区在线| 久久色在线视频| 欧美优质美女网站| 国产成人午夜视频| 日韩精品一二三| 亚洲伦理在线精品| 久久综合九色综合欧美就去吻| 在线这里只有精品| 高清成人免费视频| 老司机精品视频一区二区三区| 综合av第一页| 欧美国产日本韩| 精品日产卡一卡二卡麻豆| 99re66热这里只有精品3直播 | 亚洲线精品一区二区三区八戒| 日韩午夜激情免费电影| 91丝袜国产在线播放| 精品一区二区三区在线观看| 亚洲精品国产a| 国产欧美精品在线观看| 日韩欧美一区二区在线视频| 色婷婷综合久久久久中文| 高清久久久久久| 久久99国内精品| 免费观看久久久4p| 日韩精品91亚洲二区在线观看| 亚洲精品水蜜桃| 亚洲欧洲国产日韩| 国产欧美精品在线观看| 久久精品免视看| 久久精品免费在线观看| www国产成人| 久久久天堂av| 久久久亚洲综合| 久久久久久**毛片大全| 亚洲精品在线免费观看视频| 欧美白人最猛性xxxxx69交| 6080午夜不卡| 日韩精品一区二区三区视频在线观看 | 亚洲精品一区二区三区四区高清 | 欧美亚洲尤物久久| 99久久国产免费看| 99re成人精品视频| 91麻豆成人久久精品二区三区| av亚洲精华国产精华精| 99久久99久久综合| 欧美亚洲一区二区三区四区| 欧美亚洲图片小说| 欧美一区二区三区视频免费| 7777精品伊人久久久大香线蕉的 | 7777精品久久久大香线蕉 | 奇米影视一区二区三区| 奇米精品一区二区三区在线观看一| 丝袜亚洲精品中文字幕一区| 青青草国产精品亚洲专区无| 久久福利资源站| 粉嫩一区二区三区性色av| 白白色 亚洲乱淫| 色八戒一区二区三区| 欧美精品少妇一区二区三区| 日韩视频一区在线观看| 久久精品视频在线免费观看| 最新国产精品久久精品| 亚洲成a人在线观看| 精品在线播放午夜| 成人激情av网| 欧美绝品在线观看成人午夜影视| 日韩亚洲欧美综合| 中文字幕成人在线观看| 亚洲蜜桃精久久久久久久| 日韩av在线免费观看不卡| 国产在线精品不卡| 色猫猫国产区一区二在线视频| 欧美精品黑人性xxxx| 国产欧美一区二区精品久导航| 亚洲欧美日韩电影| 极品少妇一区二区三区精品视频| 成人综合在线观看| 欧美一区二区三区四区五区| 国产三区在线成人av| 五月婷婷欧美视频| 国产suv精品一区二区三区| 7799精品视频| 亚洲精品写真福利| 国产成人在线免费观看| 555www色欧美视频| 无码av免费一区二区三区试看|