Mercurial > pidgin
annotate doc/xfer-signals.dox @ 28805:57612c4d495b
Fix a crash when disconnecting with a pending buddy icon fetch request.
We weren't canceling our asynchronous URL fetch
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 12 Dec 2009 01:17:57 +0000 |
parents | e0613cf8c493 |
children |
rev | line source |
---|---|
11281 | 1 /** @page xfer-signals File Transfer Signals |
2 | |
3 @signals | |
4 @signal file-recv-accept | |
5 @signal file-recv-start | |
6 @signal file-recv-cancel | |
7 @signal file-recv-complete | |
13219
d0f7f698b6de
[gaim-migrate @ 15583]
Richard Laager <rlaager@wiktel.com>
parents:
11281
diff
changeset
|
8 @signal file-recv-request |
11281 | 9 @signal file-send-accept |
10 @signal file-send-start | |
11 @signal file-send-cancel | |
12 @signal file-send-complete | |
13 @endsignals | |
14 | |
20807
e0613cf8c493
Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents:
16196
diff
changeset
|
15 @see ft.h |
e0613cf8c493
Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents:
16196
diff
changeset
|
16 |
11281 | 17 <hr> |
18 | |
19 @signaldef file-recv-accept | |
20 @signalproto | |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
13219
diff
changeset
|
21 void (*file_recv_accept)(PurpleXfer *xfer, gpointer data); |
11281 | 22 @endsignalproto |
23 @signaldesc | |
24 Emitted when an incoming file transfer has been accepted. | |
25 @param xfer The file transfer | |
26 @param data User data | |
27 @endsignaldef | |
28 | |
29 @signaldef file-recv-start | |
30 @signalproto | |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
13219
diff
changeset
|
31 void (*file_recv_start)(PurpleXfer *xfer, gpointer data); |
11281 | 32 @endsignalproto |
33 @signaldesc | |
34 Emitted when an incoming file transfer has been started. | |
35 @param xfer The file transfer | |
36 @param data User data | |
37 @endsignaldef | |
38 | |
39 @signaldef file-recv-cancel | |
40 @signalproto | |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
13219
diff
changeset
|
41 void (*file_recv_cancel)(PurpleXfer *xfer, gpointer data); |
11281 | 42 @endsignalproto |
43 @signaldesc | |
44 Emitted when an incoming file transfer has been canceled. | |
45 @param xfer The file transfer | |
46 @param data User data | |
47 @endsignaldef | |
48 | |
49 @signaldef file-recv-complete | |
50 @signalproto | |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
13219
diff
changeset
|
51 void (*file_recv_complete)(PurpleXfer *xfer, gpointer data); |
11281 | 52 @endsignalproto |
53 @signaldesc | |
54 Emitted when an incoming file transfer has been completed. | |
55 @param xfer The file transfer | |
56 @param data User data | |
57 @endsignaldef | |
58 | |
13219
d0f7f698b6de
[gaim-migrate @ 15583]
Richard Laager <rlaager@wiktel.com>
parents:
11281
diff
changeset
|
59 @signaldef file-recv-request |
d0f7f698b6de
[gaim-migrate @ 15583]
Richard Laager <rlaager@wiktel.com>
parents:
11281
diff
changeset
|
60 @signalproto |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
13219
diff
changeset
|
61 void (*file_recv_request)(PurpleXfer *xfer, gpointer data); |
13219
d0f7f698b6de
[gaim-migrate @ 15583]
Richard Laager <rlaager@wiktel.com>
parents:
11281
diff
changeset
|
62 @endsignalproto |
d0f7f698b6de
[gaim-migrate @ 15583]
Richard Laager <rlaager@wiktel.com>
parents:
11281
diff
changeset
|
63 @signaldesc |
d0f7f698b6de
[gaim-migrate @ 15583]
Richard Laager <rlaager@wiktel.com>
parents:
11281
diff
changeset
|
64 Emitted before the user is prompted for an incoming file-transfer. |
d0f7f698b6de
[gaim-migrate @ 15583]
Richard Laager <rlaager@wiktel.com>
parents:
11281
diff
changeset
|
65 Plugins can intercept the signal to auto-accept/auto-reject the |
d0f7f698b6de
[gaim-migrate @ 15583]
Richard Laager <rlaager@wiktel.com>
parents:
11281
diff
changeset
|
66 requests. To auto-accept the file transfer, use |
16196 | 67 purple_xfer_request_accepted(). To auto-reject, set the status of the |
68 xfer to PURPLE_XFER_STATUS_CANCEL_LOCAL. | |
13219
d0f7f698b6de
[gaim-migrate @ 15583]
Richard Laager <rlaager@wiktel.com>
parents:
11281
diff
changeset
|
69 @param xfer The file transfer |
d0f7f698b6de
[gaim-migrate @ 15583]
Richard Laager <rlaager@wiktel.com>
parents:
11281
diff
changeset
|
70 @param data User data |
d0f7f698b6de
[gaim-migrate @ 15583]
Richard Laager <rlaager@wiktel.com>
parents:
11281
diff
changeset
|
71 @endsignaldef |
d0f7f698b6de
[gaim-migrate @ 15583]
Richard Laager <rlaager@wiktel.com>
parents:
11281
diff
changeset
|
72 |
11281 | 73 @signaldef file-send-accept |
74 @signalproto | |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
13219
diff
changeset
|
75 void (*file_send_accept)(PurpleXfer *xfer, gpointer data); |
11281 | 76 @endsignalproto |
77 @signaldesc | |
78 Emitted when an outgoing file transfer has been accepted. | |
79 @param xfer The file transfer | |
80 @param data User data | |
81 @endsignaldef | |
82 | |
83 @signaldef file-send-start | |
84 @signalproto | |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
13219
diff
changeset
|
85 void (*file_send_start)(PurpleXfer *xfer, gpointer data); |
11281 | 86 @endsignalproto |
87 @signaldesc | |
88 Emitted when an outgoing file transfer has started. | |
89 @param xfer The file transfer | |
90 @param data User data | |
91 @endsignaldef | |
92 | |
93 @signaldef file-send-cancel | |
94 @signalproto | |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
13219
diff
changeset
|
95 void (*file_send_cancel)(PurpleXfer *xfer, gpointer data); |
11281 | 96 @endsignalproto |
97 @signaldesc | |
98 Emitted when an outgoing file transfer has been canceled. | |
99 @param xfer The file transfer | |
100 @param data User data | |
101 @endsignaldef | |
102 | |
103 @signaldef file-send-complete | |
104 @signalproto | |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
13219
diff
changeset
|
105 void (*file_send_complete)(PurpleXfer *xfer, gpointer data); |
11281 | 106 @endsignalproto |
107 @signaldesc | |
108 Emitted when an outgoing file transfer has been completed. | |
109 @param xfer The file transfer | |
110 @param data User data | |
111 @endsignaldef | |
112 | |
113 */ | |
20807
e0613cf8c493
Add some links from signal documentation back to the documentation for the
Will Thompson <will.thompson@collabora.co.uk>
parents:
16196
diff
changeset
|
114 // vim: syntax=c.doxygen tw=75 et |