sql_module.h

来自「partysip 插件开发 用于实时在线管理」· C头文件 代码 · 共 49 行

H
49
字号
/*  The PUBLISH plugin is a GPL plugin for partysip.  Copyright (C) 2002 2003  Aymeric MOIZARD - <jack@atosc.org>    The PUBLISH 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 PUBLISH 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 Foobar; if not, write to the Free Software  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA*/#ifndef __SQL_MODULE_H__#define __SQL_MODULE_H__#include <sys/time.h>#include <osip2/osip.h>typedef struct publication {  int mid;  char username[64];  char domain[128];  char sip_etag[64];  char if_match[64];  int  exp_time;  char ctype[32];  char body[4096];} publication_t;int module_publish_initialize();int module_publish_authorize_user(osip_from_t *fr, osip_uri_t *requri, char *eventp);int module_publish_dialog_exist(char *if_match, char *event);void module_publish_delete_publication(char *if_match, osip_from_t *fr, osip_uri_t *to, char *eventp);int module_publish_store_dialog(osip_message_t *sub, osip_message_t *response);#endif

⌨️ 快捷键说明

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