14192
|
1 #include "module.h"
|
|
2
|
|
3 MODULE = Gaim::Xfer PACKAGE = Gaim::Xfer PREFIX = gaim_xfer_
|
|
4 PROTOTYPES: ENABLE
|
|
5
|
|
6 Gaim::Xfer
|
|
7 gaim_xfer_new(class, account, type, who)
|
|
8 Gaim::Account account
|
|
9 Gaim::XferType type
|
|
10 const char *who
|
|
11 C_ARGS:
|
|
12 account, type, who
|
|
13
|
|
14 void
|
|
15 gaim_xfer_add(xfer)
|
|
16 Gaim::Xfer xfer
|
|
17
|
|
18 void
|
|
19 gaim_xfer_cancel_local(xfer)
|
|
20 Gaim::Xfer xfer
|
|
21
|
|
22 void
|
|
23 gaim_xfer_cancel_remote(xfer)
|
|
24 Gaim::Xfer xfer
|
|
25
|
|
26 void
|
|
27 gaim_xfer_end(xfer)
|
|
28 Gaim::Xfer xfer
|
|
29
|
|
30 void
|
|
31 gaim_xfer_error(type, account, who, msg)
|
|
32 Gaim::XferType type
|
|
33 Gaim::Account account
|
|
34 const char *who
|
|
35 const char *msg
|
|
36
|
|
37 Gaim::Account
|
|
38 gaim_xfer_get_account(xfer)
|
|
39 Gaim::Xfer xfer
|
|
40
|
|
41 size_t
|
|
42 gaim_xfer_get_bytes_remaining(xfer)
|
|
43 Gaim::Xfer xfer
|
|
44
|
|
45 size_t
|
|
46 gaim_xfer_get_bytes_sent(xfer)
|
|
47 Gaim::Xfer xfer
|
|
48
|
|
49 const char *
|
|
50 gaim_xfer_get_filename(xfer)
|
|
51 Gaim::Xfer xfer
|
|
52
|
|
53 const char *
|
|
54 gaim_xfer_get_local_filename(xfer)
|
|
55 Gaim::Xfer xfer
|
|
56
|
|
57 unsigned int
|
|
58 gaim_xfer_get_local_port(xfer)
|
|
59 Gaim::Xfer xfer
|
|
60
|
|
61 double
|
|
62 gaim_xfer_get_progress(xfer)
|
|
63 Gaim::Xfer xfer
|
|
64
|
|
65 const char *
|
|
66 gaim_xfer_get_remote_ip(xfer)
|
|
67 Gaim::Xfer xfer
|
|
68
|
|
69 unsigned int
|
|
70 gaim_xfer_get_remote_port(xfer)
|
|
71 Gaim::Xfer xfer
|
|
72
|
|
73 size_t
|
|
74 gaim_xfer_get_size(xfer)
|
|
75 Gaim::Xfer xfer
|
|
76
|
|
77 Gaim::XferStatusType
|
|
78 gaim_xfer_get_status(xfer)
|
|
79 Gaim::Xfer xfer
|
|
80
|
|
81 Gaim::XferType
|
|
82 gaim_xfer_get_type(xfer)
|
|
83 Gaim::Xfer xfer
|
|
84
|
|
85 Gaim::XferUiOps
|
|
86 gaim_xfer_get_ui_ops(xfer)
|
|
87 Gaim::Xfer xfer
|
|
88
|
|
89 gboolean
|
|
90 gaim_xfer_is_canceled(xfer)
|
|
91 Gaim::Xfer xfer
|
|
92
|
|
93 gboolean
|
|
94 gaim_xfer_is_completed(xfer)
|
|
95 Gaim::Xfer xfer
|
|
96
|
|
97 ssize_t
|
|
98 gaim_xfer_read(xfer, buffer)
|
|
99 Gaim::Xfer xfer
|
|
100 guchar **buffer
|
|
101
|
|
102 void
|
|
103 gaim_xfer_ref(xfer)
|
|
104 Gaim::Xfer xfer
|
|
105
|
|
106 void
|
|
107 gaim_xfer_request(xfer)
|
|
108 Gaim::Xfer xfer
|
|
109
|
|
110 void
|
|
111 gaim_xfer_request_accepted(xfer, filename)
|
|
112 Gaim::Xfer xfer
|
|
113 const char *filename
|
|
114
|
|
115 void
|
|
116 gaim_xfer_request_denied(xfer)
|
|
117 Gaim::Xfer xfer
|
|
118
|
|
119 void
|
|
120 gaim_xfer_set_completed(xfer, completed)
|
|
121 Gaim::Xfer xfer
|
|
122 gboolean completed
|
|
123
|
|
124 void
|
|
125 gaim_xfer_set_filename(xfer, filename)
|
|
126 Gaim::Xfer xfer
|
|
127 const char *filename
|
|
128
|
|
129 void
|
|
130 gaim_xfer_set_local_filename(xfer, filename)
|
|
131 Gaim::Xfer xfer
|
|
132 const char *filename
|
|
133
|
|
134 void
|
|
135 gaim_xfer_set_message(xfer, message)
|
|
136 Gaim::Xfer xfer
|
|
137 const char *message
|
|
138
|
|
139 void
|
|
140 gaim_xfer_set_size(xfer, size)
|
|
141 Gaim::Xfer xfer
|
|
142 size_t size
|
|
143
|
|
144 void
|
|
145 gaim_xfer_unref(xfer)
|
|
146 Gaim::Xfer xfer
|
|
147
|
|
148 void
|
|
149 gaim_xfer_update_progress(xfer)
|
|
150 Gaim::Xfer xfer
|
|
151
|
|
152 ssize_t
|
|
153 gaim_xfer_write(xfer, buffer, size)
|
|
154 Gaim::Xfer xfer
|
|
155 const guchar *buffer
|
|
156 size_t size
|
|
157
|
|
158 MODULE = Gaim::Xfer PACKAGE = Gaim::Xfers PREFIX = gaim_xfers_
|
|
159 PROTOTYPES: ENABLE
|
|
160
|
|
161 Gaim::XferUiOps
|
|
162 gaim_xfers_get_ui_ops()
|
|
163
|
|
164
|
|
165 void
|
|
166 gaim_xfers_set_ui_ops(ops)
|
|
167 Gaim::XferUiOps ops
|
|
168
|