#include <network.h>#include "send_file.h"#include "debug.h"#include "notify.h"#include "im.h"#include "packet_parse.h"#include "crypt.h"#include "header_info.h"#include "send_core.h"#include "utils.h"#include "file_trans.h"#include "qq.h"send_file.c包含/依赖关系图:

枚举 | |
| enum | { QQ_FILE_TRANS_REQ = 0x0035, QQ_FILE_TRANS_ACC_UDP = 0x0037, QQ_FILE_TRANS_ACC_TCP = 0x0003, QQ_FILE_TRANS_DENY_UDP = 0x0039, QQ_FILE_TRANS_DENY_TCP = 0x0005, QQ_FILE_TRANS_NOTIFY = 0x003b, QQ_FILE_TRANS_NOTIFY_ACK = 0x003c, QQ_FILE_TRANS_CANCEL = 0x0049, QQ_FILE_TRANS_PASV = 0x003f } |
函数 | |
| int | _qq_in_same_lan (ft_info *info) |
| int | _qq_xfer_init_udp_channel (ft_info *info) |
| ssize_t | _qq_xfer_udp_recv (char *buf, size_t len, GaimXfer *xfer) |
| ssize_t | _qq_xfer_udp_send (const char *buf, size_t len, GaimXfer *xfer) |
| ssize_t | _qq_xfer_write (const char *buf, size_t len, GaimXfer *xfer) |
| void | _qq_xfer_recv_packet (gpointer data, gint source, GaimInputCondition condition) |
| void | _qq_xfer_send_start (GaimXfer *xfer) |
| void | _qq_xfer_send_ack (GaimXfer *xfer, const char *buffer, size_t len) |
| void | _qq_xfer_recv_start (GaimXfer *xfer) |
| void | _qq_xfer_end (GaimXfer *xfer) |
| void | qq_show_conn_info (ft_info *info) |
| void | qq_get_conn_info (guint8 *data, guint8 **cursor, gint data_len, ft_info *info) |
| gint | qq_fill_conn_info (guint8 *raw_data, guint8 **cursor, ft_info *info) |
| gchar * | _gen_session_md5 (gint uid, gchar *session_key) |
| gint | _qq_create_packet_file_header (guint8 *raw_data, guint8 **cursor, guint32 to_uid, guint16 message_type, qq_data *qd, gboolean seq_ack) |
| void | _qq_xfer_init_socket (GaimXfer *xfer) |
| void | _qq_send_packet_file_request (GaimConnection *gc, guint32 to_uid, gchar *filename, gint filesize) |
| void | _qq_send_packet_file_accept (GaimConnection *gc, guint32 to_uid) |
| void | _qq_send_packet_file_notifyip (GaimConnection *gc, guint32 to_uid) |
| void | _qq_send_packet_file_reject (GaimConnection *gc, guint32 to_uid) |
| void | _qq_send_packet_file_cancel (GaimConnection *gc, guint32 to_uid) |
| void | _qq_xfer_init (GaimXfer *xfer) |
| void | _qq_xfer_cancel (GaimXfer *xfer) |
| void | _qq_xfer_recv_init (GaimXfer *xfer) |
| void | qq_process_recv_file_reject (guint8 *data, guint8 **cursor, gint data_len, guint32 sender_uid, GaimConnection *gc) |
| void | qq_process_recv_file_cancel (guint8 *data, guint8 **cursor, gint data_len, guint32 sender_uid, GaimConnection *gc) |
| void | qq_process_recv_file_accept (guint8 *data, guint8 **cursor, gint data_len, guint32 sender_uid, GaimConnection *gc) |
| void | qq_process_recv_file_request (guint8 *data, guint8 **cursor, gint data_len, guint32 sender_uid, GaimConnection *gc) |
| void | _qq_xfer_send_notify_ip_ack (gpointer data, gint source, GaimInputCondition cond) |
| void | qq_process_recv_file_notify (guint8 *data, guint8 **cursor, gint data_len, guint32 sender_uid, GaimConnection *gc) |
| void | qq_send_file (GaimConnection *gc, const char *who, const char *file) |
| void | qq_send_packet_request_key (GaimConnection *gc, guint8 key) |
| void | qq_process_recv_request_key (GaimConnection *gc) |
|
|
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
在文件send_file.c第42行定义。 |
|
||||||||||||
|
参考 create_packet_data()、create_packet_dw()及QQ_KEY_LENGTH. 函数调用图: ![]() |
|
||||||||||||||||||||||||||||
|
|
在文件send_file.c第55行定义。 参考 _ft_info::local_internet_ip及_ft_info::remote_internet_ip. 参考自 _qq_xfer_init_socket()、_qq_xfer_init_udp_channel()及_qq_xfer_udp_send(). |
|
||||||||||||
|
||||||||||||
|
在文件send_file.c第603行定义。 参考 _qq_create_packet_file_header()、QQ_CMD_SEND_IM、QQ_FILE_TRANS_CANCEL及qq_send_cmd(). 参考自 _qq_xfer_cancel(). 函数调用图: ![]() |
|
||||||||||||
|
||||||||||||
|
在文件send_file.c第572行定义。 参考 _qq_create_packet_file_header()、QQ_CMD_SEND_IM、QQ_FILE_TRANS_DENY_UDP及qq_send_cmd(). 参考自 _qq_xfer_cancel(). 函数调用图: ![]() |
|
||||||||||||||||||||
|
|
在文件send_file.c第661行定义。 参考 _qq_send_packet_file_cancel()、_qq_send_packet_file_reject()及gaim_name_to_uid(). 参考自 qq_process_recv_file_request()及qq_send_file(). 函数调用图: ![]() |
|
|
在文件send_file.c第199行定义。 参考 _ft_info::dest_fp、info、_ft_info::major_fd、_ft_info::minor_fd及qq_xfer_close_file(). 参考自 qq_process_recv_file_request(). 函数调用图: ![]() |
|
|
在文件send_file.c第634行定义。 参考 _qq_send_packet_file_request()及gaim_name_to_uid(). 参考自 qq_send_file(). 函数调用图: ![]() |
|
|
在文件send_file.c第382行定义。 参考自 _qq_send_packet_file_accept()及qq_process_recv_file_accept(). 函数调用图: ![]() |
|
|
|
在文件send_file.c第696行定义。 参考 _qq_send_packet_file_accept()、gaim_name_to_uid()及info. 参考自 qq_process_recv_file_request(). 函数调用图: ![]() |
|
||||||||||||||||
|
在文件send_file.c第148行定义。 参考 _qq_xfer_udp_recv()、info、qq_process_recv_file()及_ft_info::recv_fd. 参考自 _qq_send_packet_file_notifyip()及_qq_xfer_send_notify_ip_ack(). 函数调用图: ![]() |
|
|
在文件send_file.c第194行定义。 |
|
||||||||||||||||
|
在文件send_file.c第182行定义。 函数调用图: ![]() |
|
||||||||||||||||
|
在文件send_file.c第861行定义。 参考 _qq_xfer_recv_packet()、info、QQ_FILE_CMD_NOTIFY_IP_ACK、qq_send_file_ctl_packet()、_ft_info::recv_fd及_ft_info::to_uid. 参考自 qq_process_recv_file_notify(). 函数调用图: ![]() |
|
|
在文件send_file.c第170行定义。 参考 info. |
|
||||||||||||||||
|
在文件send_file.c第80行定义。 |
|
||||||||||||||||
|
在文件send_file.c第104行定义。 参考自 _qq_xfer_write(). 函数调用图: ![]() |
|
||||||||||||||||
|
在文件send_file.c第142行定义。 参考自 _qq_send_file()、qq_process_recv_file_request()及qq_send_file(). 函数调用图: ![]() |
|
||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||||||
|
在文件send_file.c第775行定义。 参考 _qq_send_packet_file_notifyip()、_qq_xfer_init_socket()、_qq_xfer_init_udp_channel()、info、qq_get_conn_info()及_qq_data::xfer. 参考自 _qq_process_recv_normal_im(). 函数调用图: ![]() |
|
||||||||||||||||||||||||
|
在文件send_file.c第744行定义。 参考 _qq_data::xfer. |
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
在文件send_file.c第713行定义。 参考 _qq_data::xfer. |
|
||||||||||||||||||||||||
|
|
在文件send_file.c第929行定义。 |
|
||||||||||||||||
|
在文件send_file.c第906行定义。 参考 _qq_xfer_cancel()、_qq_xfer_init()、_qq_xfer_write()及_qq_data::xfer. 参考自 _qq_menu_send_file(). 函数调用图: ![]() |
|
||||||||||||
|
在文件send_file.c第924行定义。 参考 QQ_CMD_REQUEST_KEY及qq_send_cmd(). 函数调用图: ![]() |
|
1.4.4