首页 | 数据结构 | 文件列表 | 数据字段 | 全局定义

buddy_status.h文件参考

#include <glib.h>
#include "connection.h"
#include "qq.h"

buddy_status.h包含/依赖关系图:

此图展示直接或间接包含该文件的文件:

浏览该文件的源代码。

数据结构

struct  _qq_buddy_status

类型定义

typedef _qq_buddy_status qq_buddy_status

枚举

enum  {
  QQ_BUDDY_OFFLINE = 0x00, QQ_BUDDY_ONLINE_NORMAL = 0x0a, QQ_BUDDY_ONLINE_OFFLINE = 0x14, QQ_BUDDY_ONLINE_AWAY = 0x1e,
  QQ_BUDDY_ONLINE_INVISIBLE = 0x28
}
enum  {
  QQ_SELF_STATUS_AVAILABLE = 0x11, QQ_SELF_STATUS_AWAY = 0x12, QQ_SELF_STATUS_INVISIBLE = 0x13, QQ_SELF_STATUS_CUSTOM = 0x14,
  QQ_SELF_STATUS_IDLE = 0x15
}

函数

gboolean is_online (guint8 status)
gchar get_suffix_from_status (guint8 status)
void qq_send_packet_change_status (GaimConnection *gc)
void qq_process_change_status_reply (guint8 *buf, gint buf_len, GaimConnection *gc)
void qq_process_friend_change_status (guint8 *buf, gint buf_len, GaimConnection *gc)


类型定义文档

typedef struct _qq_buddy_status qq_buddy_status
 

The QQ2003C protocol plugin

for gaim

Copyright (C) 2004 Puzzlebird

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


枚举类型文档

anonymous enum
 

枚举值:
QQ_BUDDY_OFFLINE 
QQ_BUDDY_ONLINE_NORMAL 
QQ_BUDDY_ONLINE_OFFLINE 
QQ_BUDDY_ONLINE_AWAY 
QQ_BUDDY_ONLINE_INVISIBLE 

在文件buddy_status.h44行定义。

anonymous enum
 

枚举值:
QQ_SELF_STATUS_AVAILABLE 
QQ_SELF_STATUS_AWAY 
QQ_SELF_STATUS_INVISIBLE 
QQ_SELF_STATUS_CUSTOM 
QQ_SELF_STATUS_IDLE 

在文件buddy_status.h52行定义。


函数文档

gchar get_suffix_from_status guint8  status  ) 
 

在文件buddy_status.c109行定义。

参考 QQ_BUDDY_ONLINE_AWAYQQ_BUDDY_ONLINE_INVISIBLEQQ_BUDDY_ONLINE_NORMALQQ_BUDDY_ONLINE_OFFLINEQQ_ICON_SUFFIX_AWAYQQ_ICON_SUFFIX_DEFAULTQQ_ICON_SUFFIX_NORMALQQ_ICON_SUFFIX_OFFLINE.

参考自 _qq_list_icon().

gboolean is_online guint8  status  ) 
 

在文件buddy_status.c101行定义。

参考 QQ_BUDDY_ONLINE_AWAYQQ_BUDDY_ONLINE_NORMAL.

参考自 _qq_tooltip_text()qq_group_conv_refresh_online_member()qq_update_buddy_contact().

void qq_process_change_status_reply guint8 *  buf,
gint  buf_len,
GaimConnection *  gc
 

在文件buddy_status.c173行定义。

参考 DECRYPTQQ_CHANGE_ONLINE_STATUS_REPLY_OKqq_crypt()read_packet_b()_qq_data::session_key.

参考自 _qq_packet_process().

函数调用图:

void qq_process_friend_change_status guint8 *  buf,
gint  buf_len,
GaimConnection *  gc
 

在文件buddy_status.c200行定义。

参考 _qq_buddy_status_dump_unclear()_qq_buddy_status_read()_qq_buddy::client_versionDECRYPT_qq_buddy::ip_qq_buddy_status::ip_qq_buddy::portqq_crypt()QQ_DEBUGqq_update_buddy_contact()read_packet_dw()_qq_data::session_key_qq_buddy::status_qq_buddy::uiduid_to_gaim_name()_qq_buddy_status::unknown_key.

参考自 _qq_packet_process().

函数调用图:

void qq_send_packet_change_status GaimConnection *  gc  ) 
 

在文件buddy_status.c126行定义。

参考 create_packet_b()create_packet_dw()_qq_data::logged_inQQ_BUDDY_ONLINE_AWAYQQ_BUDDY_ONLINE_INVISIBLEQQ_BUDDY_ONLINE_NORMALQQ_CMD_CHANGE_ONLINE_STATUSQQ_MISC_STATUS_HAVING_VIIDEOQQ_SELF_STATUS_AVAILABLEQQ_SELF_STATUS_AWAYQQ_SELF_STATUS_CUSTOMQQ_SELF_STATUS_IDLEQQ_SELF_STATUS_INVISIBLEqq_send_cmd()_qq_data::status.

参考自 _qq_process_login_ok()_qq_set_away().

函数调用图:


Generated at Mon May 8 15:42:09 2006 for OpenQ by  doxygen 1.4.4