1 /** @page xfer-signals File Transfer Signals
4 @signal file-recv-accept
5 @signal file-recv-start
6 @signal file-recv-cancel
7 @signal file-recv-complete
8 @signal file-recv-request
9 @signal file-send-accept
10 @signal file-send-start
11 @signal file-send-cancel
12 @signal file-send-complete
19 @signaldef file-recv-accept
21 void (*file_recv_accept)(PurpleXfer *xfer, gpointer data);
24 Emitted when an incoming file transfer has been accepted.
25 @param xfer The file transfer
29 @signaldef file-recv-start
31 void (*file_recv_start)(PurpleXfer *xfer, gpointer data);
34 Emitted when an incoming file transfer has been started.
35 @param xfer The file transfer
39 @signaldef file-recv-cancel
41 void (*file_recv_cancel)(PurpleXfer *xfer, gpointer data);
44 Emitted when an incoming file transfer has been canceled.
45 @param xfer The file transfer
49 @signaldef file-recv-complete
51 void (*file_recv_complete)(PurpleXfer *xfer, gpointer data);
54 Emitted when an incoming file transfer has been completed.
55 @param xfer The file transfer
59 @signaldef file-recv-request
61 void (*file_recv_request)(PurpleXfer *xfer, gpointer data);
64 Emitted before the user is prompted for an incoming file-transfer.
65 Plugins can intercept the signal to auto-accept/auto-reject the
66 requests. To auto-accept the file transfer, use
67 purple_xfer_request_accepted(). To auto-reject, set the status of the
68 xfer to PURPLE_XFER_STATUS_CANCEL_LOCAL.
69 @param xfer The file transfer
73 @signaldef file-send-accept
75 void (*file_send_accept)(PurpleXfer *xfer, gpointer data);
78 Emitted when an outgoing file transfer has been accepted.
79 @param xfer The file transfer
83 @signaldef file-send-start
85 void (*file_send_start)(PurpleXfer *xfer, gpointer data);
88 Emitted when an outgoing file transfer has started.
89 @param xfer The file transfer
93 @signaldef file-send-cancel
95 void (*file_send_cancel)(PurpleXfer *xfer, gpointer data);
98 Emitted when an outgoing file transfer has been canceled.
99 @param xfer The file transfer
100 @param data User data
103 @signaldef file-send-complete
105 void (*file_send_complete)(PurpleXfer *xfer, gpointer data);
108 Emitted when an outgoing file transfer has been completed.
109 @param xfer The file transfer
110 @param data User data
114 // vim: syntax=c.doxygen tw=75 et