Sun, 20 May 2007 06:19:49 +0000
merge of 'b98e72d4089afb8a1879e5fe9627cfb132ee88de'
and 'b2836a24d81e7a1bd1d21b3aea8794b094391344'
| 7651 | 1 | /* |
| 2 | * gaim | |
| 3 | * | |
| 8046 | 4 | * Gaim is the legal property of its developers, whose names are too numerous |
| 5 | * to list here. Please refer to the COPYRIGHT file distributed with this | |
| 6 | * source distribution. | |
| 7651 | 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify | |
| 9 | * it under the terms of the GNU General Public License as published by | |
| 10 | * the Free Software Foundation; either version 2 of the License, or | |
| 11 | * (at your option) any later version. | |
| 12 | * | |
| 13 | * This program is distributed in the hope that it will be useful, | |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | * GNU General Public License for more details. | |
| 17 | * | |
| 18 | * You should have received a copy of the GNU General Public License | |
| 19 | * along with this program; if not, write to the Free Software | |
| 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 21 | */ | |
|
12396
09d38f9eb05c
[gaim-migrate @ 14703]
Richard Laager <rlaager@pidgin.im>
parents:
12151
diff
changeset
|
22 | #ifndef _YAHOO_FILEXFER_H_ |
|
09d38f9eb05c
[gaim-migrate @ 14703]
Richard Laager <rlaager@pidgin.im>
parents:
12151
diff
changeset
|
23 | #define _YAHOO_FILEXFER_H_ |
| 7651 | 24 | |
|
12151
8002bb57756b
[gaim-migrate @ 14452]
Richard Laager <rlaager@pidgin.im>
parents:
12143
diff
changeset
|
25 | #include "ft.h" |
|
8002bb57756b
[gaim-migrate @ 14452]
Richard Laager <rlaager@pidgin.im>
parents:
12143
diff
changeset
|
26 | |
| 7651 | 27 | /** |
|
11475
1e222e6e52a0
[gaim-migrate @ 13717]
Gary Kramlich <grim@reaperworld.com>
parents:
9466
diff
changeset
|
28 | * Process ymsg events, particular IMViroments like Doodle |
|
1e222e6e52a0
[gaim-migrate @ 13717]
Gary Kramlich <grim@reaperworld.com>
parents:
9466
diff
changeset
|
29 | */ |
|
1e222e6e52a0
[gaim-migrate @ 13717]
Gary Kramlich <grim@reaperworld.com>
parents:
9466
diff
changeset
|
30 | void yahoo_process_p2pfilexfer( GaimConnection *gc, struct yahoo_packet *pkt ); |
|
1e222e6e52a0
[gaim-migrate @ 13717]
Gary Kramlich <grim@reaperworld.com>
parents:
9466
diff
changeset
|
31 | |
|
1e222e6e52a0
[gaim-migrate @ 13717]
Gary Kramlich <grim@reaperworld.com>
parents:
9466
diff
changeset
|
32 | /** |
| 7651 | 33 | * Process ymsg file receive invites. |
| 34 | */ | |
| 35 | void yahoo_process_filetransfer(GaimConnection *gc, struct yahoo_packet *pkt); | |
| 36 | ||
| 37 | /** | |
|
12143
09f216663302
[gaim-migrate @ 14444]
Evan Schoenberg <evands@pidgin.im>
parents:
11475
diff
changeset
|
38 | * Create a new GaimXfer |
|
09f216663302
[gaim-migrate @ 14444]
Evan Schoenberg <evands@pidgin.im>
parents:
11475
diff
changeset
|
39 | * |
|
09f216663302
[gaim-migrate @ 14444]
Evan Schoenberg <evands@pidgin.im>
parents:
11475
diff
changeset
|
40 | * @param gc The GaimConnection handle. |
|
09f216663302
[gaim-migrate @ 14444]
Evan Schoenberg <evands@pidgin.im>
parents:
11475
diff
changeset
|
41 | * @param who Who will we be sending it to? |
|
09f216663302
[gaim-migrate @ 14444]
Evan Schoenberg <evands@pidgin.im>
parents:
11475
diff
changeset
|
42 | */ |
|
09f216663302
[gaim-migrate @ 14444]
Evan Schoenberg <evands@pidgin.im>
parents:
11475
diff
changeset
|
43 | GaimXfer *yahoo_new_xfer(GaimConnection *gc, const char *who); |
|
09f216663302
[gaim-migrate @ 14444]
Evan Schoenberg <evands@pidgin.im>
parents:
11475
diff
changeset
|
44 | |
|
09f216663302
[gaim-migrate @ 14444]
Evan Schoenberg <evands@pidgin.im>
parents:
11475
diff
changeset
|
45 | /** |
| 7651 | 46 | * Send a file. |
| 47 | * | |
| 48 | * @param gc The GaimConnection handle. | |
| 49 | * @param who Who are we sending it to? | |
|
9466
b6425eab60ca
[gaim-migrate @ 10291]
Daniel Atallah <datallah@pidgin.im>
parents:
8046
diff
changeset
|
50 | * @param file What file? If NULL, user will choose after this call. |
| 7651 | 51 | */ |
| 52 | void yahoo_send_file(GaimConnection *gc, const char *who, const char *file); | |
|
12396
09d38f9eb05c
[gaim-migrate @ 14703]
Richard Laager <rlaager@pidgin.im>
parents:
12151
diff
changeset
|
53 | |
|
09d38f9eb05c
[gaim-migrate @ 14703]
Richard Laager <rlaager@pidgin.im>
parents:
12151
diff
changeset
|
54 | #endif |