This file is indexed.

/usr/share/gir-1.0/RestExtras-0.7.gir is in librest-extras-dev 0.7.93-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="GObject" version="2.0"/>
  <include name="Rest" version="0.7"/>
  <include name="libxml2" version="2.0"/>
  <package name="rest-extras-0.7"/>
  <c:include name="rest/flickr-proxy-call.h"/>
  <c:include name="rest/flickr-proxy.h"/>
  <c:include name="rest/lastfm-proxy-call.h"/>
  <c:include name="rest/lastfm-proxy.h"/>
  <c:include name="rest/youtube-proxy.h"/>
  <namespace name="RestExtras"
             version="0.7"
             shared-library="librest-extras-0.7.so.0"
             c:identifier-prefixes=""
             c:symbol-prefixes="">
    <class name="FlickrProxy"
           c:symbol-prefix="flickr_proxy"
           c:type="FlickrProxy"
           parent="Rest.Proxy"
           glib:type-name="FlickrProxy"
           glib:get-type="flickr_proxy_get_type"
           glib:type-struct="FlickrProxyClass">
      <doc xml:space="preserve">#FlickrProxy has no publicly available members.</doc>
      <constructor name="new" c:identifier="flickr_proxy_new">
        <return-value transfer-ownership="full">
          <type name="Rest.Proxy" c:type="RestProxy*"/>
        </return-value>
        <parameters>
          <parameter name="api_key" transfer-ownership="none">
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="shared_secret" transfer-ownership="none">
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_with_token"
                   c:identifier="flickr_proxy_new_with_token">
        <return-value transfer-ownership="full">
          <type name="Rest.Proxy" c:type="RestProxy*"/>
        </return-value>
        <parameters>
          <parameter name="api_key" transfer-ownership="none">
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="shared_secret" transfer-ownership="none">
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="token" transfer-ownership="none">
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </constructor>
      <function name="is_successful"
                c:identifier="flickr_proxy_is_successful"
                throws="1">
        <doc xml:space="preserve">Examines the Flickr response and if it not a successful reply, set @error and
return FALSE.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if this response is successful, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="root" transfer-ownership="none">
            <doc xml:space="preserve">The root node of a parsed Flickr response</doc>
            <type name="Rest.XmlNode" c:type="RestXmlNode*"/>
          </parameter>
        </parameters>
      </function>
      <method name="build_login_url"
              c:identifier="flickr_proxy_build_login_url">
        <return-value transfer-ownership="full">
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <type name="FlickrProxy" c:type="FlickrProxy*"/>
          </instance-parameter>
          <parameter name="frob" transfer-ownership="none">
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="perms" transfer-ownership="none">
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_api_key" c:identifier="flickr_proxy_get_api_key">
        <doc xml:space="preserve">Get the API key.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the API key. This string is owned by #FlickrProxy and should not be
freed.</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">an #FlickrProxy</doc>
            <type name="FlickrProxy" c:type="FlickrProxy*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_shared_secret"
              c:identifier="flickr_proxy_get_shared_secret">
        <doc xml:space="preserve">Get the shared secret for authentication.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the shared secret. This string is owned by #FlickrProxy and should not be
freed.</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">an #FlickrProxy</doc>
            <type name="FlickrProxy" c:type="FlickrProxy*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_token" c:identifier="flickr_proxy_get_token">
        <doc xml:space="preserve">Get the current token.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the token, or %NULL if there is no token yet.  This string is owned
by #FlickrProxy and should not be freed.</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">an #FlickrProxy</doc>
            <type name="FlickrProxy" c:type="FlickrProxy*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="new_upload" c:identifier="flickr_proxy_new_upload">
        <doc xml:space="preserve">Create a new #RestProxyCall that can be used for uploading.

See http://www.flickr.com/services/api/upload.api.html for details on
uploading to Flickr.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #FlickrProxyCall</doc>
          <type name="FlickrProxyCall" c:type="RestProxyCall*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">a valid #FlickrProxy</doc>
            <type name="FlickrProxy" c:type="FlickrProxy*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="new_upload_for_file"
              c:identifier="flickr_proxy_new_upload_for_file"
              throws="1">
        <doc xml:space="preserve">Create a new #RestProxyCall that can be used for uploading.  @filename will
be set as the "photo" parameter for you, avoiding you from having to open the
file and determine the MIME type.

Note that this function can in theory block.

See http://www.flickr.com/services/api/upload.api.html for details on
uploading to Flickr.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #FlickrProxyCall</doc>
          <type name="FlickrProxyCall" c:type="RestProxyCall*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">a valid #FlickrProxy</doc>
            <type name="FlickrProxy" c:type="FlickrProxy*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve">the file to upload</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_token" c:identifier="flickr_proxy_set_token">
        <doc xml:space="preserve">Set the token.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">an #FlickrProxy</doc>
            <type name="FlickrProxy" c:type="FlickrProxy*"/>
          </instance-parameter>
          <parameter name="token" transfer-ownership="none">
            <doc xml:space="preserve">the access token</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="sign" c:identifier="flickr_proxy_sign">
        <return-value transfer-ownership="full">
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <type name="FlickrProxy" c:type="FlickrProxy*"/>
          </instance-parameter>
          <parameter name="params" transfer-ownership="none">
            <type name="GLib.HashTable" c:type="GHashTable*">
              <type name="gpointer" c:type="gpointer"/>
              <type name="gpointer" c:type="gpointer"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <property name="api-key"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="shared-secret"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="token" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent">
        <type name="Rest.Proxy" c:type="RestProxy"/>
      </field>
      <field name="priv">
        <type name="FlickrProxyPrivate" c:type="FlickrProxyPrivate*"/>
      </field>
    </class>
    <class name="FlickrProxyCall"
           c:symbol-prefix="flickr_proxy_call"
           c:type="FlickrProxyCall"
           parent="Rest.ProxyCall"
           glib:type-name="FlickrProxyCall"
           glib:get-type="flickr_proxy_call_get_type"
           glib:type-struct="FlickrProxyCallClass">
      <doc xml:space="preserve">#FlickrProxyCall has no publicly available members.</doc>
      <property name="upload"
                readable="0"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Set if the call should be sent to the photo upload endpoint and not the
general-purpose endpoint.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <field name="parent">
        <type name="Rest.ProxyCall" c:type="RestProxyCall"/>
      </field>
    </class>
    <record name="FlickrProxyCallClass"
            c:type="FlickrProxyCallClass"
            glib:is-gtype-struct-for="FlickrProxyCall">
      <field name="parent_class">
        <type name="Rest.ProxyCallClass" c:type="RestProxyCallClass"/>
      </field>
      <field name="_padding_dummy" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="8">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="FlickrProxyClass"
            c:type="FlickrProxyClass"
            glib:is-gtype-struct-for="FlickrProxy">
      <field name="parent_class">
        <type name="Rest.ProxyClass" c:type="RestProxyClass"/>
      </field>
      <field name="_padding_dummy" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="8">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="FlickrProxyPrivate"
            c:type="FlickrProxyPrivate"
            disguised="1">
    </record>
    <class name="LastfmProxy"
           c:symbol-prefix="lastfm_proxy"
           c:type="LastfmProxy"
           parent="Rest.Proxy"
           glib:type-name="LastfmProxy"
           glib:get-type="lastfm_proxy_get_type"
           glib:type-struct="LastfmProxyClass">
      <doc xml:space="preserve">#LastfmProxy has no publicly available members.</doc>
      <constructor name="new" c:identifier="lastfm_proxy_new">
        <return-value transfer-ownership="full">
          <type name="Rest.Proxy" c:type="RestProxy*"/>
        </return-value>
        <parameters>
          <parameter name="api_key" transfer-ownership="none">
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="secret" transfer-ownership="none">
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_with_session"
                   c:identifier="lastfm_proxy_new_with_session">
        <return-value transfer-ownership="full">
          <type name="Rest.Proxy" c:type="RestProxy*"/>
        </return-value>
        <parameters>
          <parameter name="api_key" transfer-ownership="none">
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="secret" transfer-ownership="none">
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="session_key" transfer-ownership="none">
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </constructor>
      <function name="is_successful"
                c:identifier="lastfm_proxy_is_successful"
                throws="1">
        <doc xml:space="preserve">Examines the Lastfm response and if it not a successful reply, set @error and
return FALSE.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if this response is successful, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="root" transfer-ownership="none">
            <doc xml:space="preserve">The root node of a parsed Lastfm response</doc>
            <type name="Rest.XmlNode" c:type="RestXmlNode*"/>
          </parameter>
        </parameters>
      </function>
      <method name="build_login_url"
              c:identifier="lastfm_proxy_build_login_url">
        <return-value transfer-ownership="full">
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <type name="LastfmProxy" c:type="LastfmProxy*"/>
          </instance-parameter>
          <parameter name="token" transfer-ownership="none">
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_api_key" c:identifier="lastfm_proxy_get_api_key">
        <doc xml:space="preserve">Get the API key.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the API key. This string is owned by #LastfmProxy and should not be
freed.</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">an #LastfmProxy</doc>
            <type name="LastfmProxy" c:type="LastfmProxy*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_secret" c:identifier="lastfm_proxy_get_secret">
        <doc xml:space="preserve">Get the secret for authentication.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the secret. This string is owned by #LastfmProxy and should not be
freed.</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">an #LastfmProxy</doc>
            <type name="LastfmProxy" c:type="LastfmProxy*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_session_key"
              c:identifier="lastfm_proxy_get_session_key">
        <doc xml:space="preserve">Get the current session key.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the session key, or %NULL if there is no session key yet.  This string is owned
by #LastfmProxy and should not be freed.</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">an #LastfmProxy</doc>
            <type name="LastfmProxy" c:type="LastfmProxy*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_session_key"
              c:identifier="lastfm_proxy_set_session_key">
        <doc xml:space="preserve">Set the session key.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">an #LastfmProxy</doc>
            <type name="LastfmProxy" c:type="LastfmProxy*"/>
          </instance-parameter>
          <parameter name="session_key" transfer-ownership="none">
            <doc xml:space="preserve">the access session_key</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="sign" c:identifier="lastfm_proxy_sign">
        <return-value transfer-ownership="full">
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <type name="LastfmProxy" c:type="LastfmProxy*"/>
          </instance-parameter>
          <parameter name="params" transfer-ownership="none">
            <type name="GLib.HashTable" c:type="GHashTable*">
              <type name="gpointer" c:type="gpointer"/>
              <type name="gpointer" c:type="gpointer"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <property name="api-key"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="secret"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="session-key" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent">
        <type name="Rest.Proxy" c:type="RestProxy"/>
      </field>
      <field name="priv">
        <type name="LastfmProxyPrivate" c:type="LastfmProxyPrivate*"/>
      </field>
    </class>
    <class name="LastfmProxyCall"
           c:symbol-prefix="lastfm_proxy_call"
           c:type="LastfmProxyCall"
           parent="Rest.ProxyCall"
           glib:type-name="LastfmProxyCall"
           glib:get-type="lastfm_proxy_call_get_type"
           glib:type-struct="LastfmProxyCallClass">
      <doc xml:space="preserve">#LastfmProxyCall has no publicly available members.</doc>
      <field name="parent">
        <type name="Rest.ProxyCall" c:type="RestProxyCall"/>
      </field>
    </class>
    <record name="LastfmProxyCallClass"
            c:type="LastfmProxyCallClass"
            glib:is-gtype-struct-for="LastfmProxyCall">
      <field name="parent_class">
        <type name="Rest.ProxyCallClass" c:type="RestProxyCallClass"/>
      </field>
      <field name="_padding_dummy" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="8">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="LastfmProxyClass"
            c:type="LastfmProxyClass"
            glib:is-gtype-struct-for="LastfmProxy">
      <field name="parent_class">
        <type name="Rest.ProxyClass" c:type="RestProxyClass"/>
      </field>
      <field name="_padding_dummy" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="8">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="LastfmProxyPrivate"
            c:type="LastfmProxyPrivate"
            disguised="1">
    </record>
    <class name="YoutubeProxy"
           c:symbol-prefix="youtube_proxy"
           c:type="YoutubeProxy"
           parent="Rest.Proxy"
           glib:type-name="YoutubeProxy"
           glib:get-type="youtube_proxy_get_type"
           glib:type-struct="YoutubeProxyClass">
      <doc xml:space="preserve">#YoutubeProxy has no publicly available members.</doc>
      <constructor name="new" c:identifier="youtube_proxy_new">
        <return-value transfer-ownership="full">
          <type name="Rest.Proxy" c:type="RestProxy*"/>
        </return-value>
        <parameters>
          <parameter name="developer_key" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_with_auth"
                   c:identifier="youtube_proxy_new_with_auth">
        <return-value transfer-ownership="full">
          <type name="Rest.Proxy" c:type="RestProxy*"/>
        </return-value>
        <parameters>
          <parameter name="developer_key" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="user_auth" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="set_user_auth" c:identifier="youtube_proxy_set_user_auth">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <type name="YoutubeProxy" c:type="YoutubeProxy*"/>
          </instance-parameter>
          <parameter name="user_auth" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="upload_async"
              c:identifier="youtube_proxy_upload_async"
              throws="1">
        <doc xml:space="preserve">Upload a file.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE, or %FALSE if the file could not be opened</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #YoutubeProxy</doc>
            <type name="YoutubeProxy" c:type="YoutubeProxy*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve">filename</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="fields" transfer-ownership="none">
            <doc xml:space="preserve">fields</doc>
            <type name="GLib.HashTable" c:type="GHashTable*">
              <type name="gpointer" c:type="gpointer"/>
              <type name="gpointer" c:type="gpointer"/>
            </type>
          </parameter>
          <parameter name="incomplete" transfer-ownership="none">
            <doc xml:space="preserve">incomplete</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="async"
                     closure="5">
            <doc xml:space="preserve">callback to invoke upon completion</doc>
            <type name="YoutubeProxyUploadCallback"
                  c:type="YoutubeProxyUploadCallback"/>
          </parameter>
          <parameter name="weak_object" transfer-ownership="none">
            <doc xml:space="preserve">an object instance used to tie the life cycle of the proxy to</doc>
            <type name="GObject.Object" c:type="GObject*"/>
          </parameter>
          <parameter name="user_data" transfer-ownership="none">
            <doc xml:space="preserve">user data to pass to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <property name="developer-key"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="user-auth" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent">
        <type name="Rest.Proxy" c:type="RestProxy"/>
      </field>
      <field name="priv">
        <type name="YoutubeProxyPrivate" c:type="YoutubeProxyPrivate*"/>
      </field>
    </class>
    <record name="YoutubeProxyClass"
            c:type="YoutubeProxyClass"
            glib:is-gtype-struct-for="YoutubeProxy">
      <field name="parent_class">
        <type name="Rest.ProxyClass" c:type="RestProxyClass"/>
      </field>
      <field name="_padding_dummy" readable="0" private="1">
        <array zero-terminated="0" c:type="gpointer" fixed-size="8">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="YoutubeProxyPrivate"
            c:type="YoutubeProxyPrivate"
            disguised="1">
    </record>
    <callback name="YoutubeProxyUploadCallback">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="proxy" transfer-ownership="none">
          <type name="YoutubeProxy" c:type="YoutubeProxy*"/>
        </parameter>
        <parameter name="payload" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="total" transfer-ownership="none">
          <type name="gsize" c:type="gsize"/>
        </parameter>
        <parameter name="uploaded" transfer-ownership="none">
          <type name="gsize" c:type="gsize"/>
        </parameter>
        <parameter name="error" transfer-ownership="none">
          <type name="GLib.Error" c:type="const GError*"/>
        </parameter>
        <parameter name="weak_object" transfer-ownership="none">
          <type name="GObject.Object" c:type="GObject*"/>
        </parameter>
        <parameter name="user_data" transfer-ownership="none" closure="6">
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
  </namespace>
</repository>