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
17 @signaldef file-recv-accept
19 void (*file_recv_accept)(PurpleXfer *xfer, gpointer data);
22 Emitted when an incoming file transfer has been accepted.
23 @param xfer The file transfer
27 @signaldef file-recv-start
29 void (*file_recv_start)(PurpleXfer *xfer, gpointer data);
32 Emitted when an incoming file transfer has been started.
33 @param xfer The file transfer
37 @signaldef file-recv-cancel
39 void (*file_recv_cancel)(PurpleXfer *xfer, gpointer data);
42 Emitted when an incoming file transfer has been canceled.
43 @param xfer The file transfer
47 @signaldef file-recv-complete
49 void (*file_recv_complete)(PurpleXfer *xfer, gpointer data);
52 Emitted when an incoming file transfer has been completed.
53 @param xfer The file transfer
57 @signaldef file-recv-request
59 void (*file_recv_request)(PurpleXfer *xfer, gpointer data);
62 Emitted before the user is prompted for an incoming file-transfer.
63 Plugins can intercept the signal to auto-accept/auto-reject the
64 requests. To auto-accept the file transfer, use
65 purple_xfer_request_accepted(). To auto-reject, set the status of the
66 xfer to PURPLE_XFER_STATUS_CANCEL_LOCAL.
67 @param xfer The file transfer
71 @signaldef file-send-accept
73 void (*file_send_accept)(PurpleXfer *xfer, gpointer data);
76 Emitted when an outgoing file transfer has been accepted.
77 @param xfer The file transfer
81 @signaldef file-send-start
83 void (*file_send_start)(PurpleXfer *xfer, gpointer data);
86 Emitted when an outgoing file transfer has started.
87 @param xfer The file transfer
91 @signaldef file-send-cancel
93 void (*file_send_cancel)(PurpleXfer *xfer, gpointer data);
96 Emitted when an outgoing file transfer has been canceled.
97 @param xfer The file transfer
101 @signaldef file-send-complete
103 void (*file_send_complete)(PurpleXfer *xfer, gpointer data);
106 Emitted when an outgoing file transfer has been completed.
107 @param xfer The file transfer
108 @param data User data
112 // vim: syntax=c tw=75 et