GType: Fix C warnings for properties in interface_init
[vala-lang.git] / vapi / packages / rest / rest.gi
blob2da0d1ce846f0e5b092e3b12f56c0818130ee7ad
1 <?xml version="1.0"?>
2 <api version="1.0">
3 <namespace name="Rest">
4 <callback name="OAuthProxyAuthCallback">
5 <return-type type="void"/>
6 <parameters>
7 <parameter name="proxy" type="OAuthProxy*"/>
8 <parameter name="error" type="GError*"/>
9 <parameter name="weak_object" type="GObject*"/>
10 <parameter name="userdata" type="gpointer"/>
11 </parameters>
12 </callback>
13 <callback name="RestProxyCallAsyncCallback">
14 <return-type type="void"/>
15 <parameters>
16 <parameter name="call" type="RestProxyCall*"/>
17 <parameter name="error" type="GError*"/>
18 <parameter name="weak_object" type="GObject*"/>
19 <parameter name="userdata" type="gpointer"/>
20 </parameters>
21 </callback>
22 <boxed name="RestXmlNode" type-name="RestXmlNode" get-type="rest_xml_node_get_type">
23 <method name="find" symbol="rest_xml_node_find">
24 <return-type type="RestXmlNode*"/>
25 <parameters>
26 <parameter name="node" type="RestXmlNode*"/>
27 <parameter name="tag" type="gchar*"/>
28 </parameters>
29 </method>
30 <method name="free" symbol="rest_xml_node_free">
31 <return-type type="void"/>
32 <parameters>
33 <parameter name="node" type="RestXmlNode*"/>
34 </parameters>
35 </method>
36 <method name="get_attr" symbol="rest_xml_node_get_attr">
37 <return-type type="gchar*"/>
38 <parameters>
39 <parameter name="node" type="RestXmlNode*"/>
40 <parameter name="attr_name" type="gchar*"/>
41 </parameters>
42 </method>
43 <method name="ref" symbol="rest_xml_node_ref">
44 <return-type type="RestXmlNode*"/>
45 <parameters>
46 <parameter name="node" type="RestXmlNode*"/>
47 </parameters>
48 </method>
49 <method name="unref" symbol="rest_xml_node_unref">
50 <return-type type="void"/>
51 <parameters>
52 <parameter name="node" type="RestXmlNode*"/>
53 </parameters>
54 </method>
55 <field name="ref_count" type="int"/>
56 <field name="name" type="gchar*"/>
57 <field name="content" type="gchar*"/>
58 <field name="children" type="GHashTable*"/>
59 <field name="attrs" type="GHashTable*"/>
60 <field name="next" type="RestXmlNode*"/>
61 </boxed>
62 <enum name="OAuthSignatureMethod">
63 <member name="PLAINTEXT" value="0"/>
64 <member name="HMAC_SHA1" value="1"/>
65 </enum>
66 <enum name="RestProxyCallError">
67 <member name="REST_PROXY_CALL_FAILED" value="0"/>
68 </enum>
69 <enum name="RestProxyError">
70 <member name="REST_PROXY_ERROR_CANCELLED" value="1"/>
71 <member name="REST_PROXY_ERROR_RESOLUTION" value="2"/>
72 <member name="REST_PROXY_ERROR_CONNECTION" value="3"/>
73 <member name="REST_PROXY_ERROR_SSL" value="4"/>
74 <member name="REST_PROXY_ERROR_IO" value="5"/>
75 <member name="REST_PROXY_ERROR_FAILED" value="6"/>
76 <member name="REST_PROXY_ERROR_HTTP_MULTIPLE_CHOICES" value="300"/>
77 <member name="REST_PROXY_ERROR_HTTP_MOVED_PERMANENTLY" value="301"/>
78 <member name="REST_PROXY_ERROR_HTTP_FOUND" value="302"/>
79 <member name="REST_PROXY_ERROR_HTTP_SEE_OTHER" value="303"/>
80 <member name="REST_PROXY_ERROR_HTTP_NOT_MODIFIED" value="304"/>
81 <member name="REST_PROXY_ERROR_HTTP_USE_PROXY" value="305"/>
82 <member name="REST_PROXY_ERROR_HTTP_THREEOHSIX" value="306"/>
83 <member name="REST_PROXY_ERROR_HTTP_TEMPORARY_REDIRECT" value="307"/>
84 <member name="REST_PROXY_ERROR_HTTP_BAD_REQUEST" value="400"/>
85 <member name="REST_PROXY_ERROR_HTTP_UNAUTHORIZED" value="401"/>
86 <member name="REST_PROXY_ERROR_HTTP_FOUROHTWO" value="402"/>
87 <member name="REST_PROXY_ERROR_HTTP_FORBIDDEN" value="403"/>
88 <member name="REST_PROXY_ERROR_HTTP_NOT_FOUND" value="404"/>
89 <member name="REST_PROXY_ERROR_HTTP_METHOD_NOT_ALLOWED" value="405"/>
90 <member name="REST_PROXY_ERROR_HTTP_NOT_ACCEPTABLE" value="406"/>
91 <member name="REST_PROXY_ERROR_HTTP_PROXY_AUTHENTICATION_REQUIRED" value="407"/>
92 <member name="REST_PROXY_ERROR_HTTP_REQUEST_TIMEOUT" value="408"/>
93 <member name="REST_PROXY_ERROR_HTTP_CONFLICT" value="409"/>
94 <member name="REST_PROXY_ERROR_HTTP_GONE" value="410"/>
95 <member name="REST_PROXY_ERROR_HTTP_LENGTH_REQUIRED" value="411"/>
96 <member name="REST_PROXY_ERROR_HTTP_PRECONDITION_FAILED" value="412"/>
97 <member name="REST_PROXY_ERROR_HTTP_REQUEST_ENTITY_TOO_LARGE" value="413"/>
98 <member name="REST_PROXY_ERROR_HTTP_REQUEST_URI_TOO_LONG" value="414"/>
99 <member name="REST_PROXY_ERROR_HTTP_UNSUPPORTED_MEDIA_TYPE" value="415"/>
100 <member name="REST_PROXY_ERROR_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE" value="416"/>
101 <member name="REST_PROXY_ERROR_HTTP_EXPECTATION_FAILED" value="417"/>
102 <member name="REST_PROXY_ERROR_HTTP_INTERNAL_SERVER_ERROR" value="500"/>
103 <member name="REST_PROXY_ERROR_HTTP_NOT_IMPLEMENTED" value="501"/>
104 <member name="REST_PROXY_ERROR_HTTP_BAD_GATEWAY" value="502"/>
105 <member name="REST_PROXY_ERROR_HTTP_SERVICE_UNAVAILABLE" value="503"/>
106 <member name="REST_PROXY_ERROR_HTTP_GATEWAY_TIMEOUT" value="504"/>
107 <member name="REST_PROXY_ERROR_HTTP_HTTP_VERSION_NOT_SUPPORTED" value="505"/>
108 </enum>
109 <object name="FacebookProxy" parent="RestProxy" type-name="FacebookProxy" get-type="facebook_proxy_get_type">
110 <method name="build_login_url" symbol="facebook_proxy_build_login_url">
111 <return-type type="char*"/>
112 <parameters>
113 <parameter name="proxy" type="FacebookProxy*"/>
114 <parameter name="frob" type="char*"/>
115 </parameters>
116 </method>
117 <method name="build_permission_url" symbol="facebook_proxy_build_permission_url">
118 <return-type type="char*"/>
119 <parameters>
120 <parameter name="proxy" type="FacebookProxy*"/>
121 <parameter name="perms" type="char*"/>
122 </parameters>
123 </method>
124 <method name="get_api_key" symbol="facebook_proxy_get_api_key">
125 <return-type type="char*"/>
126 <parameters>
127 <parameter name="proxy" type="FacebookProxy*"/>
128 </parameters>
129 </method>
130 <method name="get_app_secret" symbol="facebook_proxy_get_app_secret">
131 <return-type type="char*"/>
132 <parameters>
133 <parameter name="proxy" type="FacebookProxy*"/>
134 </parameters>
135 </method>
136 <method name="get_session_key" symbol="facebook_proxy_get_session_key">
137 <return-type type="char*"/>
138 <parameters>
139 <parameter name="proxy" type="FacebookProxy*"/>
140 </parameters>
141 </method>
142 <constructor name="new" symbol="facebook_proxy_new">
143 <return-type type="RestProxy*"/>
144 <parameters>
145 <parameter name="api_key" type="char*"/>
146 <parameter name="app_secret" type="char*"/>
147 </parameters>
148 </constructor>
149 <constructor name="new_with_session" symbol="facebook_proxy_new_with_session">
150 <return-type type="RestProxy*"/>
151 <parameters>
152 <parameter name="api_key" type="char*"/>
153 <parameter name="app_secret" type="char*"/>
154 <parameter name="session_key" type="char*"/>
155 </parameters>
156 </constructor>
157 <method name="set_app_secret" symbol="facebook_proxy_set_app_secret">
158 <return-type type="void"/>
159 <parameters>
160 <parameter name="proxy" type="FacebookProxy*"/>
161 <parameter name="secret" type="char*"/>
162 </parameters>
163 </method>
164 <method name="set_session_key" symbol="facebook_proxy_set_session_key">
165 <return-type type="void"/>
166 <parameters>
167 <parameter name="proxy" type="FacebookProxy*"/>
168 <parameter name="session_key" type="char*"/>
169 </parameters>
170 </method>
171 <method name="sign" symbol="facebook_proxy_sign">
172 <return-type type="char*"/>
173 <parameters>
174 <parameter name="proxy" type="FacebookProxy*"/>
175 <parameter name="params" type="GHashTable*"/>
176 </parameters>
177 </method>
178 <property name="api-key" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
179 <property name="app-secret" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
180 <property name="session-key" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
181 </object>
182 <object name="FacebookProxyCall" parent="RestProxyCall" type-name="FacebookProxyCall" get-type="facebook_proxy_call_get_type">
183 </object>
184 <object name="FlickrProxy" parent="RestProxy" type-name="FlickrProxy" get-type="flickr_proxy_get_type">
185 <method name="build_login_url" symbol="flickr_proxy_build_login_url">
186 <return-type type="char*"/>
187 <parameters>
188 <parameter name="proxy" type="FlickrProxy*"/>
189 <parameter name="frob" type="char*"/>
190 </parameters>
191 </method>
192 <method name="get_api_key" symbol="flickr_proxy_get_api_key">
193 <return-type type="char*"/>
194 <parameters>
195 <parameter name="proxy" type="FlickrProxy*"/>
196 </parameters>
197 </method>
198 <method name="get_shared_secret" symbol="flickr_proxy_get_shared_secret">
199 <return-type type="char*"/>
200 <parameters>
201 <parameter name="proxy" type="FlickrProxy*"/>
202 </parameters>
203 </method>
204 <method name="get_token" symbol="flickr_proxy_get_token">
205 <return-type type="char*"/>
206 <parameters>
207 <parameter name="proxy" type="FlickrProxy*"/>
208 </parameters>
209 </method>
210 <constructor name="new" symbol="flickr_proxy_new">
211 <return-type type="RestProxy*"/>
212 <parameters>
213 <parameter name="api_key" type="char*"/>
214 <parameter name="shared_secret" type="char*"/>
215 </parameters>
216 </constructor>
217 <constructor name="new_with_token" symbol="flickr_proxy_new_with_token">
218 <return-type type="RestProxy*"/>
219 <parameters>
220 <parameter name="api_key" type="char*"/>
221 <parameter name="shared_secret" type="char*"/>
222 <parameter name="token" type="char*"/>
223 </parameters>
224 </constructor>
225 <method name="set_token" symbol="flickr_proxy_set_token">
226 <return-type type="void"/>
227 <parameters>
228 <parameter name="proxy" type="FlickrProxy*"/>
229 <parameter name="token" type="char*"/>
230 </parameters>
231 </method>
232 <method name="sign" symbol="flickr_proxy_sign">
233 <return-type type="char*"/>
234 <parameters>
235 <parameter name="proxy" type="FlickrProxy*"/>
236 <parameter name="params" type="GHashTable*"/>
237 </parameters>
238 </method>
239 <property name="api-key" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
240 <property name="shared-secret" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
241 <property name="token" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
242 </object>
243 <object name="FlickrProxyCall" parent="RestProxyCall" type-name="FlickrProxyCall" get-type="flickr_proxy_call_get_type">
244 </object>
245 <object name="OAuthProxy" parent="RestProxy" type-name="OAuthProxy" get-type="oauth_proxy_get_type">
246 <method name="auth_step" symbol="oauth_proxy_auth_step">
247 <return-type type="gboolean"/>
248 <parameters>
249 <parameter name="proxy" type="OAuthProxy*"/>
250 <parameter name="function" type="char*"/>
251 <parameter name="error" type="GError**"/>
252 </parameters>
253 </method>
254 <method name="auth_step_async" symbol="oauth_proxy_auth_step_async">
255 <return-type type="gboolean"/>
256 <parameters>
257 <parameter name="proxy" type="OAuthProxy*"/>
258 <parameter name="function" type="char*"/>
259 <parameter name="callback" type="OAuthProxyAuthCallback"/>
260 <parameter name="weak_object" type="GObject*"/>
261 <parameter name="user_data" type="gpointer"/>
262 <parameter name="error_out" type="GError**"/>
263 </parameters>
264 </method>
265 <method name="get_token" symbol="oauth_proxy_get_token">
266 <return-type type="char*"/>
267 <parameters>
268 <parameter name="proxy" type="OAuthProxy*"/>
269 </parameters>
270 </method>
271 <method name="get_token_secret" symbol="oauth_proxy_get_token_secret">
272 <return-type type="char*"/>
273 <parameters>
274 <parameter name="proxy" type="OAuthProxy*"/>
275 </parameters>
276 </method>
277 <constructor name="new" symbol="oauth_proxy_new">
278 <return-type type="RestProxy*"/>
279 <parameters>
280 <parameter name="consumer_key" type="char*"/>
281 <parameter name="consumer_secret" type="char*"/>
282 <parameter name="url_format" type="gchar*"/>
283 <parameter name="binding_required" type="gboolean"/>
284 </parameters>
285 </constructor>
286 <constructor name="new_with_token" symbol="oauth_proxy_new_with_token">
287 <return-type type="RestProxy*"/>
288 <parameters>
289 <parameter name="consumer_key" type="char*"/>
290 <parameter name="consumer_secret" type="char*"/>
291 <parameter name="token" type="char*"/>
292 <parameter name="token_secret" type="char*"/>
293 <parameter name="url_format" type="gchar*"/>
294 <parameter name="binding_required" type="gboolean"/>
295 </parameters>
296 </constructor>
297 <method name="set_token" symbol="oauth_proxy_set_token">
298 <return-type type="void"/>
299 <parameters>
300 <parameter name="proxy" type="OAuthProxy*"/>
301 <parameter name="token" type="char*"/>
302 </parameters>
303 </method>
304 <method name="set_token_secret" symbol="oauth_proxy_set_token_secret">
305 <return-type type="void"/>
306 <parameters>
307 <parameter name="proxy" type="OAuthProxy*"/>
308 <parameter name="token_secret" type="char*"/>
309 </parameters>
310 </method>
311 <property name="consumer-key" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
312 <property name="consumer-secret" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
313 <property name="token" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
314 <property name="token-secret" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
315 </object>
316 <object name="OAuthProxyCall" parent="RestProxyCall" type-name="OAuthProxyCall" get-type="oauth_proxy_call_get_type">
317 </object>
318 <object name="RestProxy" parent="GObject" type-name="RestProxy" get-type="rest_proxy_get_type">
319 <method name="bind" symbol="rest_proxy_bind">
320 <return-type type="gboolean"/>
321 <parameters>
322 <parameter name="proxy" type="RestProxy*"/>
323 </parameters>
324 </method>
325 <method name="bind_valist" symbol="rest_proxy_bind_valist">
326 <return-type type="gboolean"/>
327 <parameters>
328 <parameter name="proxy" type="RestProxy*"/>
329 <parameter name="params" type="va_list"/>
330 </parameters>
331 </method>
332 <method name="error_quark" symbol="rest_proxy_error_quark">
333 <return-type type="GQuark"/>
334 </method>
335 <method name="get_user_agent" symbol="rest_proxy_get_user_agent">
336 <return-type type="gchar*"/>
337 <parameters>
338 <parameter name="proxy" type="RestProxy*"/>
339 </parameters>
340 </method>
341 <constructor name="new" symbol="rest_proxy_new">
342 <return-type type="RestProxy*"/>
343 <parameters>
344 <parameter name="url_format" type="gchar*"/>
345 <parameter name="binding_required" type="gboolean"/>
346 </parameters>
347 </constructor>
348 <constructor name="new_call" symbol="rest_proxy_new_call">
349 <return-type type="RestProxyCall*"/>
350 <parameters>
351 <parameter name="proxy" type="RestProxy*"/>
352 </parameters>
353 </constructor>
354 <method name="set_user_agent" symbol="rest_proxy_set_user_agent">
355 <return-type type="void"/>
356 <parameters>
357 <parameter name="proxy" type="RestProxy*"/>
358 <parameter name="user_agent" type="char*"/>
359 </parameters>
360 </method>
361 <method name="simple_run" symbol="rest_proxy_simple_run">
362 <return-type type="gboolean"/>
363 <parameters>
364 <parameter name="proxy" type="RestProxy*"/>
365 <parameter name="payload" type="gchar**"/>
366 <parameter name="len" type="goffset*"/>
367 <parameter name="error" type="GError**"/>
368 </parameters>
369 </method>
370 <method name="simple_run_valist" symbol="rest_proxy_simple_run_valist">
371 <return-type type="gboolean"/>
372 <parameters>
373 <parameter name="proxy" type="RestProxy*"/>
374 <parameter name="payload" type="gchar**"/>
375 <parameter name="len" type="goffset*"/>
376 <parameter name="error" type="GError**"/>
377 <parameter name="params" type="va_list"/>
378 </parameters>
379 </method>
380 <property name="binding-required" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
381 <property name="url-format" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
382 <property name="user-agent" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
383 <vfunc name="bind_valist">
384 <return-type type="gboolean"/>
385 <parameters>
386 <parameter name="proxy" type="RestProxy*"/>
387 <parameter name="params" type="va_list"/>
388 </parameters>
389 </vfunc>
390 <vfunc name="new_call">
391 <return-type type="RestProxyCall*"/>
392 <parameters>
393 <parameter name="proxy" type="RestProxy*"/>
394 </parameters>
395 </vfunc>
396 <vfunc name="simple_run_valist">
397 <return-type type="gboolean"/>
398 <parameters>
399 <parameter name="proxy" type="RestProxy*"/>
400 <parameter name="payload" type="gchar**"/>
401 <parameter name="len" type="goffset*"/>
402 <parameter name="error" type="GError**"/>
403 <parameter name="params" type="va_list"/>
404 </parameters>
405 </vfunc>
406 </object>
407 <object name="RestProxyCall" parent="GObject" type-name="RestProxyCall" get-type="rest_proxy_call_get_type">
408 <method name="add_header" symbol="rest_proxy_call_add_header">
409 <return-type type="void"/>
410 <parameters>
411 <parameter name="call" type="RestProxyCall*"/>
412 <parameter name="header" type="gchar*"/>
413 <parameter name="value" type="gchar*"/>
414 </parameters>
415 </method>
416 <method name="add_headers" symbol="rest_proxy_call_add_headers">
417 <return-type type="void"/>
418 <parameters>
419 <parameter name="call" type="RestProxyCall*"/>
420 </parameters>
421 </method>
422 <method name="add_headers_from_valist" symbol="rest_proxy_call_add_headers_from_valist">
423 <return-type type="void"/>
424 <parameters>
425 <parameter name="call" type="RestProxyCall*"/>
426 <parameter name="headers" type="va_list"/>
427 </parameters>
428 </method>
429 <method name="add_param" symbol="rest_proxy_call_add_param">
430 <return-type type="void"/>
431 <parameters>
432 <parameter name="call" type="RestProxyCall*"/>
433 <parameter name="param" type="gchar*"/>
434 <parameter name="value" type="gchar*"/>
435 </parameters>
436 </method>
437 <method name="add_params" symbol="rest_proxy_call_add_params">
438 <return-type type="void"/>
439 <parameters>
440 <parameter name="call" type="RestProxyCall*"/>
441 </parameters>
442 </method>
443 <method name="add_params_from_valist" symbol="rest_proxy_call_add_params_from_valist">
444 <return-type type="void"/>
445 <parameters>
446 <parameter name="call" type="RestProxyCall*"/>
447 <parameter name="params" type="va_list"/>
448 </parameters>
449 </method>
450 <method name="async" symbol="rest_proxy_call_async">
451 <return-type type="gboolean"/>
452 <parameters>
453 <parameter name="call" type="RestProxyCall*"/>
454 <parameter name="callback" type="RestProxyCallAsyncCallback"/>
455 <parameter name="weak_object" type="GObject*"/>
456 <parameter name="userdata" type="gpointer"/>
457 <parameter name="error" type="GError**"/>
458 </parameters>
459 </method>
460 <method name="cancel" symbol="rest_proxy_call_cancel">
461 <return-type type="gboolean"/>
462 <parameters>
463 <parameter name="call" type="RestProxyCall*"/>
464 <parameter name="error" type="GError**"/>
465 </parameters>
466 </method>
467 <method name="error_quark" symbol="rest_proxy_call_error_quark">
468 <return-type type="GQuark"/>
469 </method>
470 <method name="get_method" symbol="rest_proxy_call_get_method">
471 <return-type type="char*"/>
472 <parameters>
473 <parameter name="call" type="RestProxyCall*"/>
474 </parameters>
475 </method>
476 <method name="get_params" symbol="rest_proxy_call_get_params">
477 <return-type type="GHashTable*"/>
478 <parameters>
479 <parameter name="call" type="RestProxyCall*"/>
480 </parameters>
481 </method>
482 <method name="get_payload" symbol="rest_proxy_call_get_payload">
483 <return-type type="gchar*"/>
484 <parameters>
485 <parameter name="call" type="RestProxyCall*"/>
486 </parameters>
487 </method>
488 <method name="get_payload_length" symbol="rest_proxy_call_get_payload_length">
489 <return-type type="goffset"/>
490 <parameters>
491 <parameter name="call" type="RestProxyCall*"/>
492 </parameters>
493 </method>
494 <method name="get_response_headers" symbol="rest_proxy_call_get_response_headers">
495 <return-type type="GHashTable*"/>
496 <parameters>
497 <parameter name="call" type="RestProxyCall*"/>
498 </parameters>
499 </method>
500 <method name="get_status_code" symbol="rest_proxy_call_get_status_code">
501 <return-type type="guint"/>
502 <parameters>
503 <parameter name="call" type="RestProxyCall*"/>
504 </parameters>
505 </method>
506 <method name="get_status_message" symbol="rest_proxy_call_get_status_message">
507 <return-type type="gchar*"/>
508 <parameters>
509 <parameter name="call" type="RestProxyCall*"/>
510 </parameters>
511 </method>
512 <method name="lookup_header" symbol="rest_proxy_call_lookup_header">
513 <return-type type="gchar*"/>
514 <parameters>
515 <parameter name="call" type="RestProxyCall*"/>
516 <parameter name="header" type="gchar*"/>
517 </parameters>
518 </method>
519 <method name="lookup_param" symbol="rest_proxy_call_lookup_param">
520 <return-type type="gchar*"/>
521 <parameters>
522 <parameter name="call" type="RestProxyCall*"/>
523 <parameter name="param" type="gchar*"/>
524 </parameters>
525 </method>
526 <method name="lookup_response_header" symbol="rest_proxy_call_lookup_response_header">
527 <return-type type="gchar*"/>
528 <parameters>
529 <parameter name="call" type="RestProxyCall*"/>
530 <parameter name="header" type="gchar*"/>
531 </parameters>
532 </method>
533 <method name="remove_header" symbol="rest_proxy_call_remove_header">
534 <return-type type="void"/>
535 <parameters>
536 <parameter name="call" type="RestProxyCall*"/>
537 <parameter name="header" type="gchar*"/>
538 </parameters>
539 </method>
540 <method name="remove_param" symbol="rest_proxy_call_remove_param">
541 <return-type type="void"/>
542 <parameters>
543 <parameter name="call" type="RestProxyCall*"/>
544 <parameter name="param" type="gchar*"/>
545 </parameters>
546 </method>
547 <method name="run" symbol="rest_proxy_call_run">
548 <return-type type="gboolean"/>
549 <parameters>
550 <parameter name="call" type="RestProxyCall*"/>
551 <parameter name="loop" type="GMainLoop**"/>
552 <parameter name="error" type="GError**"/>
553 </parameters>
554 </method>
555 <method name="set_function" symbol="rest_proxy_call_set_function">
556 <return-type type="void"/>
557 <parameters>
558 <parameter name="call" type="RestProxyCall*"/>
559 <parameter name="function" type="gchar*"/>
560 </parameters>
561 </method>
562 <method name="set_method" symbol="rest_proxy_call_set_method">
563 <return-type type="void"/>
564 <parameters>
565 <parameter name="call" type="RestProxyCall*"/>
566 <parameter name="method" type="gchar*"/>
567 </parameters>
568 </method>
569 <method name="sync" symbol="rest_proxy_call_sync">
570 <return-type type="gboolean"/>
571 <parameters>
572 <parameter name="call" type="RestProxyCall*"/>
573 <parameter name="error_out" type="GError**"/>
574 </parameters>
575 </method>
576 <property name="proxy" type="RestProxy*" readable="1" writable="1" construct="0" construct-only="1"/>
577 <vfunc name="prepare">
578 <return-type type="gboolean"/>
579 <parameters>
580 <parameter name="call" type="RestProxyCall*"/>
581 <parameter name="error" type="GError**"/>
582 </parameters>
583 </vfunc>
584 </object>
585 <object name="RestXmlParser" parent="GObject" type-name="RestXmlParser" get-type="rest_xml_parser_get_type">
586 <constructor name="new" symbol="rest_xml_parser_new">
587 <return-type type="RestXmlParser*"/>
588 </constructor>
589 <method name="parse_from_data" symbol="rest_xml_parser_parse_from_data">
590 <return-type type="RestXmlNode*"/>
591 <parameters>
592 <parameter name="parser" type="RestXmlParser*"/>
593 <parameter name="data" type="gchar*"/>
594 <parameter name="len" type="goffset"/>
595 </parameters>
596 </method>
597 </object>
598 </namespace>
599 </api>