📄 sql_module.h
字号:
/* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -