📄 roster.h
字号:
/*
* This program 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.
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* Jabber
* Copyright (C) 2004 Xie Tian Lu http://sabber.jabberstudio.org/
*/
#ifndef __ROSTER_H__
#define __ROSTER_H__
#include "jabber.h"
#define CS_OFFLINE 0
#define CS_CHAT 1
#define CS_DND 2
#define CS_AWAY 3
#define CS_XA 4
#define CS_ONLINE 5
#define STR_SHOW_CHAT "chat"
#define STR_SHOW_AWAY "away"
#define STR_SHOW_DND "dnd"
#define STR_SHOW_XA "xa"
#define STR_CS_ONLINE "online"
#define STR_CS_STAYOUT "stayout"
#define STR_CS_BUSY "busy"
#define STR_CS_MEETING "meeting"
#define STR_CS_OFFLINE "offline"
#define LOGON 1
#ifdef __cplusplus
extern "C" {
#endif
void jabr_request( jconn j );
char* jabr_probe ( jconn j, char* user );
void jabr_add_item( jconn j, char *group, char *user, char *name );
void jabr_rmv_item( jconn j, char *user );
void jabr_set_item( jconn j, char* jid, char* name, char* group );
void jabr_show( jconn j, int show, char* status );
void jabr_change_status( jconn j, char* show, char* status );
char* jabr_subscribe_friend ( jconn j, char* user, int subscribe );
char* jabr_response_subscribe( jconn j, char* user, int subscribed );
void jabr_request_msn( jconn j );
void jabr_regist_msn( jconn j, char* user, char* nick, char* pass, char* key );
void jabr_remove_msn( jconn j );
void jabr_logon_msn( jconn j );
void jabr_logoff_msn( jconn j );
void jabr_subscrib_msn( jconn j );
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -