#include "debug.h"#include "ft.h"#include "md5.h"#include "file_trans.h"#include "send_file.h"#include "packet_parse.h"#include "qq.h"#include "header_info.h"#include "im.h"#include "crypt.h"#include "proxy.h"file_trans.c包含/依赖关系图:

数据结构 | |
| struct | _qq_file_header |
类型定义 | |
| typedef _qq_file_header | qq_file_header |
函数 | |
| gchar * | hex_dump_to_str (const guint8 *buffer, gint bytes) |
| guint32 | _get_file_key (guint8 seed) |
| guint32 | _gen_file_key () |
| guint32 | _decrypt_qq_uid (guint32 uid, guint32 key) |
| guint32 | _encrypt_qq_uid (guint32 uid, guint32 key) |
| void | _fill_filename_md5 (const gchar *filename, gchar *md5) |
| void | _fill_file_md5 (const gchar *filename, gint filelen, gchar *md5) |
| void | _qq_get_file_header (guint8 *buf, guint8 **cursor, gint buflen, qq_file_header *fh) |
| const gchar * | qq_get_file_cmd_desc (gint type) |
| int | _qq_xfer_open_file (const gchar *filename, const gchar *method, GaimXfer *xfer) |
| gint | _qq_xfer_read_file (guint8 *buffer, guint index, guint len, GaimXfer *xfer) |
| gint | _qq_xfer_write_file (guint8 *buffer, guint index, guint len, GaimXfer *xfer) |
| void | qq_xfer_close_file (GaimXfer *xfer) |
| gint | _qq_send_file (GaimConnection *gc, guint8 *data, gint len, guint16 packet_type, guint32 to_uid) |
| gchar * | _gen_session_md5 (gint uid, gchar *session_key) |
| void | qq_send_file_ctl_packet (GaimConnection *gc, guint16 packet_type, guint32 to_uid, guint8 hellobyte) |
| void | _qq_send_file_data_packet (GaimConnection *gc, guint16 packet_type, guint8 sub_type, guint32 fragment_index, guint16 seq, guint8 *data, gint len) |
| void | _qq_process_recv_file_ctl_packet (GaimConnection *gc, guint8 *data, guint8 *cursor, gint len, qq_file_header *fh) |
| void | _qq_recv_file_progess (GaimConnection *gc, guint8 *buffer, guint16 len, guint32 index, guint32 offset) |
| void | _qq_send_file_progess (GaimConnection *gc) |
| void | _qq_update_send_progess (GaimConnection *gc, guint32 fragment_index) |
| void | _qq_process_recv_file_data (GaimConnection *gc, guint8 *data, guint8 *cursor, gint len, guint32 to_uid) |
| void | qq_process_recv_file (GaimConnection *gc, guint8 *data, gint len) |
|
|
在文件file_trans.c第53行定义。 |
|
||||||||||||
|
在文件file_trans.c第70行定义。 |
|
||||||||||||
|
在文件file_trans.c第75行定义。 参考自 _qq_send_file(). |
|
||||||||||||||||
|
在文件file_trans.c第90行定义。 |
|
||||||||||||
|
在文件file_trans.c第80行定义。 |
|
|
在文件file_trans.c第62行定义。 参考 _get_file_key(). 参考自 _qq_send_file(). 函数调用图: ![]() |
|
||||||||||||
|
参考自 _qq_create_packet_file_header()、_qq_process_recv_file_ctl_packet()、qq_send_file_ctl_packet()及qq_send_packet_im(). |
|
|
在文件file_trans.c第55行定义。 |
|
||||||||||||||||||||
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
在文件file_trans.c第589行定义。 参考 _qq_xfer_open_file()、_qq_xfer_write_file()、_ft_info::max_fragment_index、_ft_info::window及_qq_data::xfer. 参考自 _qq_process_recv_file_data(). 函数调用图: ![]() |
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
|
|
||||||||||||
|
||||||||||||||||
|
在文件file_trans.c第213行定义。 |
|
||||||||||||||||||||
|
在文件file_trans.c第224行定义。 |
|
||||||||||||||||||||
|
在文件file_trans.c第233行定义。 |
|
||||||||||||
|
The QQ2003C protocol plugin for gaim Author: Henry Ou <henry@linux.net> 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 参考自 _my_convert()、_qq_menu_any_cmd_send_cb()、_qq_packet_process()、_qq_process_group_cmd_reply_default()、_qq_process_packet_default()、_qq_process_recv_file_ctl_packet()、_qq_process_recv_normal_im()、qq_process_group_cmd_search_group()及qq_send_file_ctl_packet(). |
|
|
||||||||||||||||
|
||||||||||||||||||||
|
|
在文件file_trans.c第240行定义。 参考自 _qq_xfer_end(). |
1.4.4