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

📄 sample_plugin.h

📁 partysip 插件开发 简单的一个小例子
💻 H
字号:
/*  The sample_plugin plugin is a plugin for partysip.  Copyright (C) 2002  WellX Telecom   - <partysip@wellx.com>  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*/#ifndef _SAMPLE_PLUGIN_H_#define _SAMPLE_PLUGIN_H_/* hook methods for sample_plugin   It is mandatory that you implement some of these methods!  :_] */int cb_sample_plugin_on_INVITE(psp_req_t *psp_req);    /* IMP HOOK_REALLY_FIRST */int cb_sample_plugin_on_2XX(psp_req_t *psp_req);       /* UAP HOOK_REALLY_FIRST */int cb_sample_plugin_on_3456XX(psp_req_t *psp_req);    /* UAP HOOK_REALLY_FIRST *//* This is where you can save your own informations */typedef struct sample_plugin_ctx_t {  int avoid_warning_on_compilation;} sample_plugin_ctx_t;int  sample_plugin_ctx_init();void sample_plugin_ctx_free();#endif

⌨️ 快捷键说明

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