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

📄 msntrans.h

📁 AnyQ服务端源代码(2004/10/28)源码
💻 H
字号:
/* -------------------------------------------------------------------------- * * License * * The contents of this file are subject to the Jabber Open Source License * Version 1.0 (the "License").  You may not copy or use this file, in either * source code or executable form, except in compliance with the License.  You * may obtain a copy of the License at http://www.jabber.com/license/ or at * http://www.opensource.org/. * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied.  See the License * for the specific language governing rights and limitations under the * License. * * Copyright (c) 2000-2001 Schuyler Heath <sheath@jabber.org> * * Acknowledgements * * Special thanks to the Jabber Open Source Contributors for their * suggestions and support of Jabber. * * -------------------------------------------------------------------------- */#ifndef MSNTRANS_H#define MSNTRANS_H#include <assert.h>#include "/root/jabberd-1.4.3/jabberd/jabberd.h"#undef VERSION#include "config.h"/* Size of session xhash */#define SESSION_TABLE_SZ 500/* Dumps packets#define PACKET_DEBUG*//* MSN Transport instance */typedef struct mti_struct{    instance i;    pool p;    xdbcache xc;    xht sessions;    int sessions_count;    xmlnode vcard, admin;    char *reg;    time_t start;    int attempts_max;//    char **servers;//    int cur_server;    int con;    char *con_id;    char *join, *leave;    char *invite_msg;    char *proxyhost, *proxypass;    int inbox_headlines;    int is_insecure;    xht iq_handlers;} *mti, _mti;result mt_receive(instance i, dpacket d, void *arg);#endif

⌨️ 快捷键说明

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