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

qq_proxy.c文件参考

#include "debug.h"
#include "internal.h"
#include "md5.h"
#include "utils.h"
#include "packet_parse.h"
#include "buddy_info.h"
#include "buddy_opt.h"
#include "group_admindlg.h"
#include "group_free.h"
#include "infodlg.h"
#include "login_logout.h"
#include "qq_proxy.h"
#include "recv_core.h"
#include "send_core.h"
#include "sendqueue.h"
#include "udp_proxy_s5.h"

qq_proxy.c包含/依赖关系图:

浏览该文件的源代码。

函数

void _qq_show_packet (gchar *desc, gchar *buf, gint len)
guint8 * _gen_pwkey (const gchar *pwd)
gint _qq_fill_host (struct sockaddr_in *addr, const gchar *host, guint16 port)
void _qq_got_login (gpointer data, gint source, GaimInputCondition cond)
void _qq_common_clean (GaimConnection *gc)
gint _qq_proxy_none (struct PHB *phb, struct sockaddr *addr, socklen_t addrlen)
gint _qq_udp_proxy_connect (GaimAccount *account, const gchar *server, guint16 port, void callback(gpointer, gint, GaimInputCondition), GaimConnection *gc)
gint _proxy_connect_full (GaimAccount *account, const gchar *host, guint16 port, GaimInputFunction func, gpointer data, gboolean use_tcp)
gint qq_connect (GaimAccount *account, const gchar *host, guint16 port, gboolean use_tcp, gboolean is_redirect)
void qq_disconnect (GaimConnection *gc)
gint qq_proxy_write (qq_data *qd, guint8 *data, gint len)
gint qq_proxy_read (qq_data *qd, guint8 *data, gint len)


函数文档

guint8* _gen_pwkey const gchar *  pwd  ) 
 

在文件qq_proxy.c77行定义。

参考 QQ_KEY_LENGTH.

参考自 _qq_got_login().

gint _proxy_connect_full GaimAccount *  account,
const gchar *  host,
guint16  port,
GaimInputFunction  func,
gpointer  data,
gboolean  use_tcp
 

在文件qq_proxy.c311行定义。

参考 _qq_udp_proxy_connect()_qq_data::server_ip_qq_data::server_port.

参考自 qq_connect().

函数调用图:

void _qq_common_clean GaimConnection *  gc  ) 
 

在文件qq_proxy.c165行定义。

参考 _qq_data::fd_qq_data::logged_inqq_add_buddy_request_free()qq_b4_packets_free()qq_buddies_list_free()qq_contact_info_window_free()qq_group_free_all()qq_group_packets_free()qq_info_query_free()qq_qun_info_window_free()qq_send_packet_logout()qq_sendqueue_free()_qq_data::sendqueue_timeout.

参考自 qq_connect()qq_disconnect().

函数调用图:

gint _qq_fill_host struct sockaddr_in *  addr,
const gchar *  host,
guint16  port
 

The QQ2003C protocol plugin

for gaim

Copyright (C) 2004 Puzzlebird Henry Ou <henry@linux.net>

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

在文件qq_proxy.c95行定义。

参考自 _qq_s5_sendconnect()_qq_udp_proxy_connect().

void _qq_got_login gpointer  data,
gint  source,
GaimInputCondition  cond
 

在文件qq_proxy.c115行定义。

参考 _gen_pwkey()_qq_data::before_login_packets_qq_data::channel_qq_data::fd_qq_data::logged_in_qq_data::pwkeyQQ_CONNECT_STEPSqq_input_pending()qq_send_packet_login_token()QQ_SENDQUEUE_TIMEOUTqq_sendqueue_timeout_callback()_qq_data::send_seq_qq_data::sendqueue_timeout_qq_data::uid.

参考自 qq_connect().

函数调用图:

gint _qq_proxy_none struct PHB phb,
struct sockaddr *  addr,
socklen_t  addrlen
 

在文件qq_proxy.c200行定义。

参考 PHB::dataPHB::func.

参考自 _qq_udp_proxy_connect().

void _qq_show_packet gchar *  desc,
gchar *  buf,
gint  len
 

The QQ2003C protocol plugin

for gaim

Copyright (C) 2004 Puzzlebird Henry Ou <henry@linux.net>

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

在文件qq_proxy.c62行定义。

gint _qq_udp_proxy_connect GaimAccount *  account,
const gchar *  server,
guint16  port,
void   callback(gpointer, gint, GaimInputCondition),
GaimConnection *  gc
 

在文件qq_proxy.c253行定义。

参考 _qq_fill_host()_qq_proxy_none()PHB::accountPHB::data_qq_data::dest_sinPHB::funcPHB::gpiPHB::hostinfoPHB::port_qq_data::proxy_typeqq_proxy_socks5().

参考自 _proxy_connect_full().

函数调用图:

gint qq_connect GaimAccount *  account,
const gchar *  host,
guint16  port,
gboolean  use_tcp,
gboolean  is_redirect
 

在文件qq_proxy.c330行定义。

参考 _proxy_connect_full()_qq_common_clean()_qq_got_login().

参考自 _qq_login()_qq_process_login_redirect().

函数调用图:

void qq_disconnect GaimConnection *  gc  ) 
 

在文件qq_proxy.c348行定义。

参考 _qq_common_clean()_qq_data::inikey_qq_data::my_ip_qq_data::ptoken_qq_data::pwkey_qq_data::session_key.

参考自 _qq_close().

函数调用图:

gint qq_proxy_read qq_data qd,
guint8 *  data,
gint  len
 

在文件qq_proxy.c396行定义。

参考 _qq_data::fdMAX_PACKET_SIZE_qq_data::proxy_type_qq_data::use_tcp.

参考自 qq_input_pending().

gint qq_proxy_write qq_data qd,
guint8 *  data,
gint  len
 

在文件qq_proxy.c369行定义。

参考 _qq_data::dest_sin_qq_data::fd_qq_data::proxy_type_qq_data::use_tcp.

参考自 _qq_send_again()_qq_send_packet()qq_send_cmd()qq_sendqueue_timeout_callback().


Generated at Mon May 8 15:45:31 2006 for OpenQ by  doxygen 1.4.4