This file is indexed.

/usr/share/gir-1.0/GUPnP-1.0.gir is in libgupnp-1.0-dev 1.0.1-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
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
<?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="GSSDP" version="1.0"/>
  <include name="Soup" version="2.4"/>
  <include name="libxml2" version="2.0"/>
  <package name="gupnp-1.0"/>
  <namespace name="GUPnP"
             version="1.0"
             shared-library="libgupnp-1.0.so.4"
             c:identifier-prefixes="GUPnP"
             c:symbol-prefixes="gupnp">
    <interface name="Acl"
               c:symbol-prefix="acl"
               c:type="GUPnPAcl"
               glib:type-name="GUPnPAcl"
               glib:get-type="gupnp_acl_get_type"
               glib:type-struct="AclInterface">
      <doc xml:space="preserve">Handle to an object implementing the #GUPnPAclInterface interface.</doc>
      <virtual-method name="can_sync" invoker="can_sync" version="0.20.11">
        <doc xml:space="preserve">Check whether gupnp_acl_is_allowed_async() is supported.</doc>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPAcl
@returns %TRUE, if gupnp_acl_is_allowed_async() is supported, %FALSE
otherwise.</doc>
            <type name="Acl" c:type="GUPnPAcl*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="is_allowed" invoker="is_allowed" version="0.20.11">
        <doc xml:space="preserve">Check whether an IP address is allowed to access this resource.</doc>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">an instance of #GUPnPAcl</doc>
            <type name="Acl" c:type="GUPnPAcl*"/>
          </instance-parameter>
          <parameter name="device"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The #GUPnPDevice associated with @path or %NULL if
unknown.</doc>
            <type name="gpointer" c:type="_GUPnPDevice*"/>
          </parameter>
          <parameter name="service"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The #GUPnPService associated with @path or %NULL if
unknown.</doc>
            <type name="gpointer" c:type="_GUPnPService*"/>
          </parameter>
          <parameter name="path" transfer-ownership="none">
            <doc xml:space="preserve">The path being served.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="address" transfer-ownership="none">
            <doc xml:space="preserve">IP address of the peer.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="agent"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The User-Agent header of the peer or %NULL if not
unknown.
@returns %TRUE if the peer is allowed, %FALSE otherwise</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="is_allowed_async"
                      invoker="is_allowed_async"
                      version="0.20.11">
        <doc xml:space="preserve">Optional. Check asynchronously whether an IP address is allowed to access
this resource. Use this function if the process of verifying the access right
is expected to take some time, for example when using D-Bus etc.

If this function is supported, gupnp_acl_can_sync() should return %TRUE.

Use gupnp_acl_is_allowed_finish() to retrieve the result.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #GUPnPAcl</doc>
            <type name="Acl" c:type="GUPnPAcl*"/>
          </instance-parameter>
          <parameter name="device"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The #GUPnPDevice associated with @path or %NULL if
unknown.</doc>
            <type name="gpointer" c:type="_GUPnPDevice*"/>
          </parameter>
          <parameter name="service"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The #GUPnPService associated with @path or %NULL if
unknown.</doc>
            <type name="gpointer" c:type="_GUPnPService*"/>
          </parameter>
          <parameter name="path" transfer-ownership="none">
            <doc xml:space="preserve">The path being served.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="address" transfer-ownership="none">
            <doc xml:space="preserve">IP address of the peer</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="agent"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The User-Agent header of the peer or %NULL if not
unknown.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A #GCancellable which can be used to cancel the
operation.</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="7">
            <doc xml:space="preserve">Callback to call after the function is done.</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     closure="7">
            <doc xml:space="preserve">Some user data.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="is_allowed_finish"
                      invoker="is_allowed_finish"
                      version="0.20.11"
                      throws="1">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">An instance of #GUPnPAcl</doc>
            <type name="Acl" c:type="GUPnPAcl*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve">%GAsyncResult obtained from the callback in gupnp_acl_is_allowed_async()</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="can_sync"
              c:identifier="gupnp_acl_can_sync"
              version="0.20.11">
        <doc xml:space="preserve">Check whether gupnp_acl_is_allowed_async() is supported.</doc>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPAcl
@returns %TRUE, if gupnp_acl_is_allowed_async() is supported, %FALSE
otherwise.</doc>
            <type name="Acl" c:type="GUPnPAcl*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_allowed"
              c:identifier="gupnp_acl_is_allowed"
              version="0.20.11">
        <doc xml:space="preserve">Check whether an IP address is allowed to access this resource.</doc>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">an instance of #GUPnPAcl</doc>
            <type name="Acl" c:type="GUPnPAcl*"/>
          </instance-parameter>
          <parameter name="device"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The #GUPnPDevice associated with @path or %NULL if
unknown.</doc>
            <type name="gpointer" c:type="_GUPnPDevice*"/>
          </parameter>
          <parameter name="service"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The #GUPnPService associated with @path or %NULL if
unknown.</doc>
            <type name="gpointer" c:type="_GUPnPService*"/>
          </parameter>
          <parameter name="path" transfer-ownership="none">
            <doc xml:space="preserve">The path being served.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="address" transfer-ownership="none">
            <doc xml:space="preserve">IP address of the peer.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="agent"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The User-Agent header of the peer or %NULL if not
unknown.
@returns %TRUE if the peer is allowed, %FALSE otherwise</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_allowed_async"
              c:identifier="gupnp_acl_is_allowed_async"
              version="0.20.11">
        <doc xml:space="preserve">Optional. Check asynchronously whether an IP address is allowed to access
this resource. Use this function if the process of verifying the access right
is expected to take some time, for example when using D-Bus etc.

If this function is supported, gupnp_acl_can_sync() should return %TRUE.

Use gupnp_acl_is_allowed_finish() to retrieve the result.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #GUPnPAcl</doc>
            <type name="Acl" c:type="GUPnPAcl*"/>
          </instance-parameter>
          <parameter name="device"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The #GUPnPDevice associated with @path or %NULL if
unknown.</doc>
            <type name="gpointer" c:type="_GUPnPDevice*"/>
          </parameter>
          <parameter name="service"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The #GUPnPService associated with @path or %NULL if
unknown.</doc>
            <type name="gpointer" c:type="_GUPnPService*"/>
          </parameter>
          <parameter name="path" transfer-ownership="none">
            <doc xml:space="preserve">The path being served.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="address" transfer-ownership="none">
            <doc xml:space="preserve">IP address of the peer</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="agent"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The User-Agent header of the peer or %NULL if not
unknown.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A #GCancellable which can be used to cancel the
operation.</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="7">
            <doc xml:space="preserve">Callback to call after the function is done.</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">Some user data.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_allowed_finish"
              c:identifier="gupnp_acl_is_allowed_finish"
              version="0.20.11"
              throws="1">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">An instance of #GUPnPAcl</doc>
            <type name="Acl" c:type="GUPnPAcl*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve">%GAsyncResult obtained from the callback in gupnp_acl_is_allowed_async()</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
    </interface>
    <record name="AclInterface"
            c:type="GUPnPAclInterface"
            glib:is-gtype-struct-for="Acl"
            version="0.20.11">
      <doc xml:space="preserve">Implement a simple access control list for GUPnP.</doc>
      <field name="parent">
        <doc xml:space="preserve">The parent interface.</doc>
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
      <field name="is_allowed">
        <callback name="is_allowed">
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="self" transfer-ownership="none">
              <doc xml:space="preserve">an instance of #GUPnPAcl</doc>
              <type name="Acl" c:type="GUPnPAcl*"/>
            </parameter>
            <parameter name="device"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">The #GUPnPDevice associated with @path or %NULL if
unknown.</doc>
              <type name="gpointer" c:type="_GUPnPDevice*"/>
            </parameter>
            <parameter name="service"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">The #GUPnPService associated with @path or %NULL if
unknown.</doc>
              <type name="gpointer" c:type="_GUPnPService*"/>
            </parameter>
            <parameter name="path" transfer-ownership="none">
              <doc xml:space="preserve">The path being served.</doc>
              <type name="utf8" c:type="const char*"/>
            </parameter>
            <parameter name="address" transfer-ownership="none">
              <doc xml:space="preserve">IP address of the peer.</doc>
              <type name="utf8" c:type="const char*"/>
            </parameter>
            <parameter name="agent"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">The User-Agent header of the peer or %NULL if not
unknown.
@returns %TRUE if the peer is allowed, %FALSE otherwise</doc>
              <type name="utf8" c:type="const char*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="is_allowed_async">
        <callback name="is_allowed_async">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="self" transfer-ownership="none">
              <doc xml:space="preserve">a #GUPnPAcl</doc>
              <type name="Acl" c:type="GUPnPAcl*"/>
            </parameter>
            <parameter name="device"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">The #GUPnPDevice associated with @path or %NULL if
unknown.</doc>
              <type name="gpointer" c:type="_GUPnPDevice*"/>
            </parameter>
            <parameter name="service"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">The #GUPnPService associated with @path or %NULL if
unknown.</doc>
              <type name="gpointer" c:type="_GUPnPService*"/>
            </parameter>
            <parameter name="path" transfer-ownership="none">
              <doc xml:space="preserve">The path being served.</doc>
              <type name="utf8" c:type="const char*"/>
            </parameter>
            <parameter name="address" transfer-ownership="none">
              <doc xml:space="preserve">IP address of the peer</doc>
              <type name="utf8" c:type="const char*"/>
            </parameter>
            <parameter name="agent"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">The User-Agent header of the peer or %NULL if not
unknown.</doc>
              <type name="utf8" c:type="const char*"/>
            </parameter>
            <parameter name="cancellable"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">A #GCancellable which can be used to cancel the
operation.</doc>
              <type name="Gio.Cancellable" c:type="GCancellable*"/>
            </parameter>
            <parameter name="callback"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1"
                       scope="async"
                       closure="8">
              <doc xml:space="preserve">Callback to call after the function is done.</doc>
              <type name="Gio.AsyncReadyCallback"
                    c:type="GAsyncReadyCallback"/>
            </parameter>
            <parameter name="user_data"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1"
                       closure="8">
              <doc xml:space="preserve">Some user data.</doc>
              <type name="gpointer" c:type="gpointer"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="is_allowed_finish">
        <callback name="is_allowed_finish" throws="1">
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="self" transfer-ownership="none">
              <doc xml:space="preserve">An instance of #GUPnPAcl</doc>
              <type name="Acl" c:type="GUPnPAcl*"/>
            </parameter>
            <parameter name="res" transfer-ownership="none">
              <doc xml:space="preserve">%GAsyncResult obtained from the callback in gupnp_acl_is_allowed_async()</doc>
              <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="can_sync">
        <callback name="can_sync">
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="self" transfer-ownership="none">
              <doc xml:space="preserve">A #GUPnPAcl
@returns %TRUE, if gupnp_acl_is_allowed_async() is supported, %FALSE
otherwise.</doc>
              <type name="Acl" c:type="GUPnPAcl*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gupnp_reserved1" introspectable="0">
        <callback name="_gupnp_reserved1">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved2" introspectable="0">
        <callback name="_gupnp_reserved2">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved3" introspectable="0">
        <callback name="_gupnp_reserved3">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved4" introspectable="0">
        <callback name="_gupnp_reserved4">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <glib:boxed glib:name="BinBase64"
                c:symbol-prefix="bin_base64"
                glib:type-name="GUPnPBinBase64"
                glib:get-type="gupnp_bin_base64_get_type">
    </glib:boxed>
    <glib:boxed glib:name="BinHex"
                c:symbol-prefix="bin_hex"
                glib:type-name="GUPnPBinHex"
                glib:get-type="gupnp_bin_hex_get_type">
    </glib:boxed>
    <class name="Context"
           c:symbol-prefix="context"
           c:type="GUPnPContext"
           parent="GSSDP.Client"
           glib:type-name="GUPnPContext"
           glib:get-type="gupnp_context_get_type"
           glib:type-struct="ContextClass">
      <doc xml:space="preserve">This struct contains private data only, and should be accessed using the
functions below.</doc>
      <implements name="Gio.Initable"/>
      <constructor name="new" c:identifier="gupnp_context_new" throws="1">
        <doc xml:space="preserve">Create a new #GUPnPContext with the specified @main_context, @iface and
@port.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A new #GUPnPContext object, or %NULL on an error</doc>
          <type name="Context" c:type="GUPnPContext*"/>
        </return-value>
        <parameters>
          <parameter name="main_context"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">Deprecated: 0.17.2: Always set to %NULL. If you
want to use a different context, use g_main_context_push_thread_default().</doc>
            <type name="GLib.MainContext" c:type="GMainContext*"/>
          </parameter>
          <parameter name="iface"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The network interface to use, or %NULL to
auto-detect.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="port" transfer-ownership="none">
            <doc xml:space="preserve">Port to run on, or 0 if you don't care what port is used.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="add_server_handler"
              c:identifier="gupnp_context_add_server_handler"
              version="0.20.11">
        <doc xml:space="preserve">Add a #SoupServerCallback to the #GUPnPContext&lt;!-- --&gt;'s #SoupServer.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </instance-parameter>
          <parameter name="use_acl" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE, if the path should query the GUPnPContext::acl before
serving the resource, %FALSE otherwise.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="path" transfer-ownership="none">
            <doc xml:space="preserve">the toplevel path for the handler.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="notified"
                     closure="3"
                     destroy="4">
            <doc xml:space="preserve">callback to invoke for requests under @path</doc>
            <type name="Soup.ServerCallback" c:type="SoupServerCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the user_data passed to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="destroy"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async">
            <doc xml:space="preserve">A #GDestroyNotify for @user_data or %NULL if none.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_acl"
              c:identifier="gupnp_context_get_acl"
              version="0.20.11">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The access control list associated with this context or %NULL
if no acl is set.</doc>
          <type name="Acl" c:type="GUPnPAcl*"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_default_language"
              c:identifier="gupnp_context_get_default_language"
              version="0.17.0">
        <doc xml:space="preserve">Get the default Content-Language header for this context.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The default content of the Content-Language
header.</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_host_ip"
              c:identifier="gupnp_context_get_host_ip"
              deprecated="1"
              deprecated-version="0.12.7">
        <doc xml:space="preserve">Get the IP address we advertise ourselves as using.</doc>
        <doc-deprecated xml:space="preserve">The "host-ip" property has moved to the base class
#GSSDPClient so newer applications should use
#gssdp_client_get_host_ip instead.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The IP address. This string should not be freed.</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_port" c:identifier="gupnp_context_get_port">
        <doc xml:space="preserve">Get the port that the SOAP server is running on.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The port the SOAP server is running on.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_server" c:identifier="gupnp_context_get_server">
        <doc xml:space="preserve">Get the #SoupServer HTTP server that GUPnP is using.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The #SoupServer used by GUPnP. Do not unref this when finished.</doc>
          <type name="Soup.Server" c:type="SoupServer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_session"
              c:identifier="gupnp_context_get_session"
              version="0.12.3">
        <doc xml:space="preserve">Get the #SoupSession object that GUPnP is using.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The #SoupSession used by GUPnP. Do not unref
this when finished.</doc>
          <type name="Soup.Session" c:type="SoupSession*"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_subscription_timeout"
              c:identifier="gupnp_context_get_subscription_timeout">
        <doc xml:space="preserve">Get the event subscription timeout (in seconds), or 0 meaning there is no
timeout.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The event subscription timeout in seconds.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="host_path" c:identifier="gupnp_context_host_path">
        <doc xml:space="preserve">Start hosting @local_path at @server_path. Files with the path
@local_path.LOCALE (if they exist) will be served up when LOCALE is
specified in the request's Accept-Language header.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </instance-parameter>
          <parameter name="local_path" transfer-ownership="none">
            <doc xml:space="preserve">Path to the local file or folder to be hosted</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="server_path" transfer-ownership="none">
            <doc xml:space="preserve">Web server path where @local_path should be hosted</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="host_path_for_agent"
              c:identifier="gupnp_context_host_path_for_agent"
              version="0.13.3">
        <doc xml:space="preserve">Use this method to serve different local path to specific user-agent(s). The
path @server_path must already be hosted by @context.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </instance-parameter>
          <parameter name="local_path" transfer-ownership="none">
            <doc xml:space="preserve">Path to the local file or folder to be hosted</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="server_path" transfer-ownership="none">
            <doc xml:space="preserve">Web server path already being hosted</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="user_agent" transfer-ownership="none">
            <doc xml:space="preserve">The user-agent as a #GRegex.</doc>
            <type name="GLib.Regex" c:type="GRegex*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_server_handler"
              c:identifier="gupnp_context_remove_server_handler"
              version="0.20.11">
        <doc xml:space="preserve">Remove a #SoupServerCallback from the #GUPnPContext&lt;!-- --&gt;'s #SoupServer.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </instance-parameter>
          <parameter name="path" transfer-ownership="none">
            <doc xml:space="preserve">the toplevel path for the handler.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_acl"
              c:identifier="gupnp_context_set_acl"
              version="0.20.11">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </instance-parameter>
          <parameter name="acl"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The new access control list or %NULL to remove the
current list.</doc>
            <type name="Acl" c:type="GUPnPAcl*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_default_language"
              c:identifier="gupnp_context_set_default_language"
              version="0.17.0">
        <doc xml:space="preserve">Set the default language for the Content-Length header to @language.

If the client sends an Accept-Language header the UPnP HTTP server
is required to send a Content-Language header in return. If there are
no files hosted in languages which match the requested ones the
Content-Language header is set to this value. The default value is "en".</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </instance-parameter>
          <parameter name="language" transfer-ownership="none">
            <doc xml:space="preserve">A language tag as defined in RFC 2616 3.10</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_subscription_timeout"
              c:identifier="gupnp_context_set_subscription_timeout">
        <doc xml:space="preserve">Sets the event subscription timeout to @timeout. Use 0 if you don't
want subscriptions to time out. Note that any client side subscriptions
will automatically be renewed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </instance-parameter>
          <parameter name="timeout" transfer-ownership="none">
            <doc xml:space="preserve">Event subscription timeout in seconds</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="unhost_path" c:identifier="gupnp_context_unhost_path">
        <doc xml:space="preserve">Stop hosting the file or folder at @server_path.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </instance-parameter>
          <parameter name="server_path" transfer-ownership="none">
            <doc xml:space="preserve">Web server path where the file or folder is hosted</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <property name="acl"
                version="0.20.11"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <doc xml:space="preserve">An access control list.</doc>
        <type name="Acl"/>
      </property>
      <property name="default-language"
                version="0.17.0"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The content of the Content-Language header id the client
sends Accept-Language and no language-specific pages to serve
exist. The property defaults to 'en'.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="port"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The port to run on. Set to 0 if you don't care what port to run on.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="server" transfer-ownership="none">
        <doc xml:space="preserve">The #SoupServer HTTP server used by GUPnP.</doc>
        <type name="Soup.Server"/>
      </property>
      <property name="session" transfer-ownership="none">
        <doc xml:space="preserve">The #SoupSession object used by GUPnP.</doc>
        <type name="Soup.Session"/>
      </property>
      <property name="subscription-timeout"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The preferred subscription timeout: the number of seconds after
which subscriptions are renewed. Set to '0' if subscriptions
are never to time out.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <field name="parent">
        <type name="GSSDP.Client" c:type="GSSDPClient"/>
      </field>
      <field name="priv">
        <type name="ContextPrivate" c:type="GUPnPContextPrivate*"/>
      </field>
    </class>
    <record name="ContextClass"
            c:type="GUPnPContextClass"
            glib:is-gtype-struct-for="Context">
      <field name="parent_class">
        <type name="GSSDP.ClientClass" c:type="GSSDPClientClass"/>
      </field>
      <field name="_gupnp_reserved1" introspectable="0">
        <callback name="_gupnp_reserved1">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved2" introspectable="0">
        <callback name="_gupnp_reserved2">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved3" introspectable="0">
        <callback name="_gupnp_reserved3">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved4" introspectable="0">
        <callback name="_gupnp_reserved4">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <class name="ContextManager"
           c:symbol-prefix="context_manager"
           c:type="GUPnPContextManager"
           parent="GObject.Object"
           abstract="1"
           glib:type-name="GUPnPContextManager"
           glib:get-type="gupnp_context_manager_get_type"
           glib:type-struct="ContextManagerClass">
      <doc xml:space="preserve">This struct contains private data only, and should be accessed using the
functions below.</doc>
      <constructor name="new"
                   c:identifier="gupnp_context_manager_new"
                   version="0.13.0"
                   deprecated="1"
                   deprecated-version="0.17.2">
        <doc xml:space="preserve">Same as gupnp_context_manager_create().</doc>
        <doc-deprecated xml:space="preserve">Use gupnp_context_manager_create().</doc-deprecated>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A new #GUPnPContextManager object.</doc>
          <type name="ContextManager" c:type="GUPnPContextManager*"/>
        </return-value>
        <parameters>
          <parameter name="main_context"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">Deprecated: 0.17.2: %NULL. If you want to use
               a different main context use
               g_main_context_push_thread_default() instead.</doc>
            <type name="GLib.MainContext" c:type="GMainContext*"/>
          </parameter>
          <parameter name="port" transfer-ownership="none">
            <doc xml:space="preserve">Port to create contexts for, or 0 if you don't care what port is used.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </constructor>
      <function name="create"
                c:identifier="gupnp_context_manager_create"
                version="0.17.2">
        <doc xml:space="preserve">Factory-method to create a new #GUPnPContextManager. The final type of the
#GUPnPContextManager depends on the compile-time selection or - in case of
NetworkManager - on its availability during runtime. If it is not available,
the implementation falls back to the basic Unix context manager instead.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A new #GUPnPContextManager object.</doc>
          <type name="ContextManager" c:type="GUPnPContextManager*"/>
        </return-value>
        <parameters>
          <parameter name="port" transfer-ownership="none">
            <doc xml:space="preserve">Port to create contexts for, or 0 if you don't care what port is used.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_port"
              c:identifier="gupnp_context_manager_get_port"
              version="0.19.1">
        <doc xml:space="preserve">Get the network port associated with this context manager.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The network port asssociated with this context manager.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContextManager</doc>
            <type name="ContextManager" c:type="GUPnPContextManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_white_list"
              c:identifier="gupnp_context_manager_get_white_list">
        <doc xml:space="preserve">Get the #GUPnPWhiteList associated with @manager.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The #GUPnPWhiteList asssociated with this
context manager.</doc>
          <type name="WhiteList" c:type="GUPnPWhiteList*"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContextManager</doc>
            <type name="ContextManager" c:type="GUPnPContextManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="manage_control_point"
              c:identifier="gupnp_context_manager_manage_control_point"
              version="0.13.0">
        <doc xml:space="preserve">By calling this function, you are asking @manager to keep a reference to
@control_point until its associated #GUPnPContext is no longer available.
You usually want to call this function from
#GUPnPContextManager::context-available handler after you create a
#GUPnPControlPoint object for the newly available context.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContextManager</doc>
            <type name="ContextManager" c:type="GUPnPContextManager*"/>
          </instance-parameter>
          <parameter name="control_point" transfer-ownership="none">
            <doc xml:space="preserve">The #GUPnPControlPoint to be taken care of</doc>
            <type name="ControlPoint" c:type="GUPnPControlPoint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="manage_root_device"
              c:identifier="gupnp_context_manager_manage_root_device"
              version="0.13.0">
        <doc xml:space="preserve">By calling this function, you are asking @manager to keep a reference to
@root_device when its associated #GUPnPContext is no longer available. You
usually want to call this function from
#GUPnPContextManager::context-available handler after you create a
#GUPnPRootDevice object for the newly available context.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContextManager</doc>
            <type name="ContextManager" c:type="GUPnPContextManager*"/>
          </instance-parameter>
          <parameter name="root_device" transfer-ownership="none">
            <doc xml:space="preserve">The #GUPnPRootDevice to be taken care of</doc>
            <type name="RootDevice" c:type="GUPnPRootDevice*"/>
          </parameter>
        </parameters>
      </method>
      <method name="rescan_control_points"
              c:identifier="gupnp_context_manager_rescan_control_points"
              version="0.20.3">
        <doc xml:space="preserve">This function starts a rescan on every control point managed by @manager.
Only the active control points send discovery messages.
This function should be called when servers are suspected to have
disappeared.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContextManager</doc>
            <type name="ContextManager" c:type="GUPnPContextManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="main-context"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="gpointer" c:type="gpointer"/>
      </property>
      <property name="port"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Port the contexts listen on, or 0 if you don't care what
port is used by #GUPnPContext objects created by this object.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="white-list" transfer-ownership="none">
        <doc xml:space="preserve">The white list to use.</doc>
        <type name="WhiteList"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="ContextManagerPrivate"
              c:type="GUPnPContextManagerPrivate*"/>
      </field>
      <glib:signal name="context-available" when="first">
        <doc xml:space="preserve">Signals the availability of new #GUPnPContext.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">The now available #GUPnPContext</doc>
            <type name="Context"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="context-unavailable" when="first">
        <doc xml:space="preserve">Signals the unavailability of a #GUPnPContext.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">The now unavailable #GUPnPContext</doc>
            <type name="Context"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="ContextManagerClass"
            c:type="GUPnPContextManagerClass"
            glib:is-gtype-struct-for="ContextManager">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_gupnp_reserved1" introspectable="0">
        <callback name="_gupnp_reserved1">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved2" introspectable="0">
        <callback name="_gupnp_reserved2">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved3" introspectable="0">
        <callback name="_gupnp_reserved3">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved4" introspectable="0">
        <callback name="_gupnp_reserved4">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <record name="ContextManagerPrivate"
            c:type="GUPnPContextManagerPrivate"
            disguised="1">
    </record>
    <record name="ContextPrivate" c:type="GUPnPContextPrivate" disguised="1">
    </record>
    <enumeration name="ControlError"
                 c:type="GUPnPControlError"
                 glib:error-domain="gupnp-control-error">
      <doc xml:space="preserve">#GError codes used for errors in the #GUPNP_CONTROL_ERROR domain, during
invocation of service actions.</doc>
      <member name="invalid_action"
              value="401"
              c:identifier="GUPNP_CONTROL_ERROR_INVALID_ACTION">
        <doc xml:space="preserve">The action name was invalid.</doc>
      </member>
      <member name="invalid_args"
              value="402"
              c:identifier="GUPNP_CONTROL_ERROR_INVALID_ARGS">
        <doc xml:space="preserve">The action arguments were invalid.</doc>
      </member>
      <member name="out_of_sync"
              value="403"
              c:identifier="GUPNP_CONTROL_ERROR_OUT_OF_SYNC">
        <doc xml:space="preserve">Out of sync (deprecated).</doc>
      </member>
      <member name="action_failed"
              value="501"
              c:identifier="GUPNP_CONTROL_ERROR_ACTION_FAILED">
        <doc xml:space="preserve">The action failed.</doc>
      </member>
    </enumeration>
    <class name="ControlPoint"
           c:symbol-prefix="control_point"
           c:type="GUPnPControlPoint"
           parent="GSSDP.ResourceBrowser"
           glib:type-name="GUPnPControlPoint"
           glib:get-type="gupnp_control_point_get_type"
           glib:type-struct="ControlPointClass">
      <doc xml:space="preserve">This struct contains private data only, and should be accessed using the
functions below.</doc>
      <constructor name="new" c:identifier="gupnp_control_point_new">
        <doc xml:space="preserve">Create a new #GUPnPControlPoint with the specified @context and @target.

@target should be a service or device name, such as
&lt;literal&gt;urn:schemas-upnp-org:service:WANIPConnection:1&lt;/literal&gt; or
&lt;literal&gt;urn:schemas-upnp-org:device:MediaRenderer:1&lt;/literal&gt;.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A new #GUPnPControlPoint object.</doc>
          <type name="ControlPoint" c:type="GUPnPControlPoint*"/>
        </return-value>
        <parameters>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </parameter>
          <parameter name="target" transfer-ownership="none">
            <doc xml:space="preserve">The search target</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_full" c:identifier="gupnp_control_point_new_full">
        <doc xml:space="preserve">Create a new #GUPnPControlPoint with the specified @context, @factory and
@target.

@target should be a service or device name, such as
&lt;literal&gt;urn:schemas-upnp-org:service:WANIPConnection:1&lt;/literal&gt; or
&lt;literal&gt;urn:schemas-upnp-org:device:MediaRenderer:1&lt;/literal&gt;.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A new #GUPnPControlPoint object.</doc>
          <type name="ControlPoint" c:type="GUPnPControlPoint*"/>
        </return-value>
        <parameters>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </parameter>
          <parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPResourceFactory</doc>
            <type name="ResourceFactory" c:type="GUPnPResourceFactory*"/>
          </parameter>
          <parameter name="target" transfer-ownership="none">
            <doc xml:space="preserve">The search target</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </constructor>
      <virtual-method name="device_proxy_available">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="control_point" transfer-ownership="none">
            <type name="ControlPoint" c:type="GUPnPControlPoint*"/>
          </instance-parameter>
          <parameter name="proxy" transfer-ownership="none">
            <type name="DeviceProxy" c:type="GUPnPDeviceProxy*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="device_proxy_unavailable">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="control_point" transfer-ownership="none">
            <type name="ControlPoint" c:type="GUPnPControlPoint*"/>
          </instance-parameter>
          <parameter name="proxy" transfer-ownership="none">
            <type name="DeviceProxy" c:type="GUPnPDeviceProxy*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="service_proxy_available">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="control_point" transfer-ownership="none">
            <type name="ControlPoint" c:type="GUPnPControlPoint*"/>
          </instance-parameter>
          <parameter name="proxy" transfer-ownership="none">
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="service_proxy_unavailable">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="control_point" transfer-ownership="none">
            <type name="ControlPoint" c:type="GUPnPControlPoint*"/>
          </instance-parameter>
          <parameter name="proxy" transfer-ownership="none">
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="get_context"
              c:identifier="gupnp_control_point_get_context">
        <doc xml:space="preserve">Get the #GUPnPControlPoint associated with @control_point.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The #GUPnPContext.</doc>
          <type name="Context" c:type="GUPnPContext*"/>
        </return-value>
        <parameters>
          <instance-parameter name="control_point" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPControlPoint</doc>
            <type name="ControlPoint" c:type="GUPnPControlPoint*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_resource_factory"
              c:identifier="gupnp_control_point_get_resource_factory">
        <doc xml:space="preserve">Get the #GUPnPResourceFactory used by the @control_point.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GUPnPResourceFactory.</doc>
          <type name="ResourceFactory" c:type="GUPnPResourceFactory*"/>
        </return-value>
        <parameters>
          <instance-parameter name="control_point" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPControlPoint</doc>
            <type name="ControlPoint" c:type="GUPnPControlPoint*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="list_device_proxies"
              c:identifier="gupnp_control_point_list_device_proxies">
        <doc xml:space="preserve">Get the #GList of discovered #GUPnPDeviceProxy objects. Do not free the list
nor its elements.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GList of
#GUPnPDeviceProxy objects.</doc>
          <type name="GLib.List" c:type="const GList*">
            <type name="DeviceProxy"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="control_point" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPControlPoint</doc>
            <type name="ControlPoint" c:type="GUPnPControlPoint*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="list_service_proxies"
              c:identifier="gupnp_control_point_list_service_proxies">
        <doc xml:space="preserve">Get the #GList of discovered #GUPnPServiceProxy objects. Do not free the
list nor its elements.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GList
of #GUPnPServiceProxy objects.</doc>
          <type name="GLib.List" c:type="const GList*">
            <type name="ServiceProxy"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="control_point" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPControlPoint</doc>
            <type name="ControlPoint" c:type="GUPnPControlPoint*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="resource-factory"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The resource factory to use. Set to NULL for default factory.</doc>
        <type name="ResourceFactory"/>
      </property>
      <field name="parent">
        <type name="GSSDP.ResourceBrowser" c:type="GSSDPResourceBrowser"/>
      </field>
      <field name="priv">
        <type name="ControlPointPrivate" c:type="GUPnPControlPointPrivate*"/>
      </field>
      <glib:signal name="device-proxy-available" when="last">
        <doc xml:space="preserve">The ::device-proxy-available signal is emitted whenever a new
device has become available.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">The now available #GUPnPDeviceProxy</doc>
            <type name="DeviceProxy"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="device-proxy-unavailable" when="last">
        <doc xml:space="preserve">The ::device-proxy-unavailable signal is emitted whenever a
device is not available any more.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">The now unavailable #GUPnPDeviceProxy</doc>
            <type name="DeviceProxy"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="service-proxy-available" when="last">
        <doc xml:space="preserve">The ::service-proxy-available signal is emitted whenever a new
service has become available.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">The now available #GUPnPServiceProxy</doc>
            <type name="ServiceProxy"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="service-proxy-unavailable" when="last">
        <doc xml:space="preserve">The ::service-proxy-unavailable signal is emitted whenever a
service is not available any more.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">The now unavailable #GUPnPServiceProxy</doc>
            <type name="ServiceProxy"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="ControlPointClass"
            c:type="GUPnPControlPointClass"
            glib:is-gtype-struct-for="ControlPoint">
      <field name="parent_class">
        <type name="GSSDP.ResourceBrowserClass"
              c:type="GSSDPResourceBrowserClass"/>
      </field>
      <field name="device_proxy_available">
        <callback name="device_proxy_available">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="control_point" transfer-ownership="none">
              <type name="ControlPoint" c:type="GUPnPControlPoint*"/>
            </parameter>
            <parameter name="proxy" transfer-ownership="none">
              <type name="DeviceProxy" c:type="GUPnPDeviceProxy*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="device_proxy_unavailable">
        <callback name="device_proxy_unavailable">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="control_point" transfer-ownership="none">
              <type name="ControlPoint" c:type="GUPnPControlPoint*"/>
            </parameter>
            <parameter name="proxy" transfer-ownership="none">
              <type name="DeviceProxy" c:type="GUPnPDeviceProxy*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="service_proxy_available">
        <callback name="service_proxy_available">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="control_point" transfer-ownership="none">
              <type name="ControlPoint" c:type="GUPnPControlPoint*"/>
            </parameter>
            <parameter name="proxy" transfer-ownership="none">
              <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="service_proxy_unavailable">
        <callback name="service_proxy_unavailable">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="control_point" transfer-ownership="none">
              <type name="ControlPoint" c:type="GUPnPControlPoint*"/>
            </parameter>
            <parameter name="proxy" transfer-ownership="none">
              <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gupnp_reserved1" introspectable="0">
        <callback name="_gupnp_reserved1">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved2" introspectable="0">
        <callback name="_gupnp_reserved2">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved3" introspectable="0">
        <callback name="_gupnp_reserved3">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <record name="ControlPointPrivate"
            c:type="GUPnPControlPointPrivate"
            disguised="1">
    </record>
    <glib:boxed glib:name="Date"
                c:symbol-prefix="date"
                glib:type-name="GUPnPDate"
                glib:get-type="gupnp_date_get_type">
    </glib:boxed>
    <glib:boxed glib:name="DateTime"
                c:symbol-prefix="date_time"
                glib:type-name="GUPnPDateTime"
                glib:get-type="gupnp_date_time_get_type">
    </glib:boxed>
    <glib:boxed glib:name="DateTimeTZ"
                c:symbol-prefix="date_time_tz"
                glib:type-name="GUPnPDateTimeTZ"
                glib:get-type="gupnp_date_time_tz_get_type">
    </glib:boxed>
    <class name="Device"
           c:symbol-prefix="device"
           c:type="GUPnPDevice"
           parent="DeviceInfo"
           glib:type-name="GUPnPDevice"
           glib:get-type="gupnp_device_get_type"
           glib:type-struct="DeviceClass">
      <doc xml:space="preserve">This struct contains private data only, and should be accessed using the
functions below.</doc>
      <property name="root-device"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The containing #GUPnPRootDevice, or NULL if this is the root
device.</doc>
        <type name="RootDevice"/>
      </property>
      <field name="parent">
        <type name="DeviceInfo" c:type="GUPnPDeviceInfo"/>
      </field>
      <field name="priv">
        <type name="DevicePrivate" c:type="GUPnPDevicePrivate*"/>
      </field>
    </class>
    <record name="DeviceClass"
            c:type="GUPnPDeviceClass"
            glib:is-gtype-struct-for="Device">
      <field name="parent_class">
        <type name="DeviceInfoClass" c:type="GUPnPDeviceInfoClass"/>
      </field>
      <field name="_gupnp_reserved1" introspectable="0">
        <callback name="_gupnp_reserved1">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved2" introspectable="0">
        <callback name="_gupnp_reserved2">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved3" introspectable="0">
        <callback name="_gupnp_reserved3">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved4" introspectable="0">
        <callback name="_gupnp_reserved4">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <class name="DeviceInfo"
           c:symbol-prefix="device_info"
           c:type="GUPnPDeviceInfo"
           parent="GObject.Object"
           abstract="1"
           glib:type-name="GUPnPDeviceInfo"
           glib:get-type="gupnp_device_info_get_type"
           glib:type-struct="DeviceInfoClass">
      <doc xml:space="preserve">This struct contains private data only, and should be accessed using the
functions below.</doc>
      <virtual-method name="get_element" introspectable="0">
        <return-value>
          <type name="libxml2.Node" c:type="xmlNode*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="get_context" c:identifier="gupnp_device_info_get_context">
        <doc xml:space="preserve">Get the associated #GUPnPContext.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GUPnPContext.</doc>
          <type name="Context" c:type="GUPnPContext*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_description_value"
              c:identifier="gupnp_device_info_get_description_value"
              version="0.13.0">
        <doc xml:space="preserve">This function provides generic access to the contents of arbitrary elements
in the device description file.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a newly allocated string or %NULL if the device
              description doesn't contain the given @element</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
          <parameter name="element" transfer-ownership="none">
            <doc xml:space="preserve">Name of the description element to retrieve</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_device" c:identifier="gupnp_device_info_get_device">
        <doc xml:space="preserve">Get the service with type @type directly contained in @info as
a new object implementing #GUPnPDeviceInfo, or %NULL if no such device
was found. The returned object should be unreffed when done.

Note that devices are not cached internally, so that every time you call
this function a new object is created. The application must cache any used
devices if it wishes to keep them around and re-use them.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">A new #GUPnPDeviceInfo.</doc>
          <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">The type of the device to be retrieved.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_device_type"
              c:identifier="gupnp_device_info_get_device_type">
        <doc xml:space="preserve">Get the UPnP device type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A constant string, or %NULL.</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_friendly_name"
              c:identifier="gupnp_device_info_get_friendly_name">
        <doc xml:space="preserve">Get the friendly name of the device.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A string, or %NULL. g_free() after use.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_icon_url"
              c:identifier="gupnp_device_info_get_icon_url">
        <doc xml:space="preserve">Get a URL pointing to the icon most closely matching the
given criteria, or %NULL. If @requested_mime_type is set, only icons with
this mime type will be returned. If @requested_depth is set, only icons with
this or lower depth will be returned. If @requested_width and/or
@requested_height are set, only icons that are this size or smaller are
returned, unless @prefer_bigger is set, in which case the next biggest icon
will be returned. The returned strings should be freed.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a string, or %NULL.  g_free() after use.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
          <parameter name="requested_mime_type"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The requested file
format, or %NULL for any</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="requested_depth" transfer-ownership="none">
            <doc xml:space="preserve">The requested color depth, or -1 for any</doc>
            <type name="gint" c:type="int"/>
          </parameter>
          <parameter name="requested_width" transfer-ownership="none">
            <doc xml:space="preserve">The requested width, or -1 for any</doc>
            <type name="gint" c:type="int"/>
          </parameter>
          <parameter name="requested_height" transfer-ownership="none">
            <doc xml:space="preserve">The requested height, or -1 for any</doc>
            <type name="gint" c:type="int"/>
          </parameter>
          <parameter name="prefer_bigger" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if a bigger, rather than a smaller icon should be
returned if no exact match could be found</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="mime_type"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">The location where to store the the format
of the returned icon, or %NULL. The returned string should be freed after
use</doc>
            <type name="utf8" c:type="char**"/>
          </parameter>
          <parameter name="depth"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">The location where to store the depth of the
returned icon, or %NULL</doc>
            <type name="gint" c:type="int*"/>
          </parameter>
          <parameter name="width"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">The location where to store the width of the
returned icon, or %NULL</doc>
            <type name="gint" c:type="int*"/>
          </parameter>
          <parameter name="height"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">The location where to store the height of the
returned icon, or %NULL</doc>
            <type name="gint" c:type="int*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_location"
              c:identifier="gupnp_device_info_get_location">
        <doc xml:space="preserve">Get the location of the device description file.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A constant string.</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_manufacturer"
              c:identifier="gupnp_device_info_get_manufacturer">
        <doc xml:space="preserve">Get the manufacturer of the device.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A string, or %NULL. g_free() after use.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_manufacturer_url"
              c:identifier="gupnp_device_info_get_manufacturer_url">
        <doc xml:space="preserve">Get a URL pointing to the manufacturer's website.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A string, or %NULL. g_free() after use.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_model_description"
              c:identifier="gupnp_device_info_get_model_description">
        <doc xml:space="preserve">Get the description of the device model.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A string, or %NULL. g_free() after use.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_model_name"
              c:identifier="gupnp_device_info_get_model_name">
        <doc xml:space="preserve">Get the model name of the device.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A string, or %NULL. g_free() after use.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_model_number"
              c:identifier="gupnp_device_info_get_model_number">
        <doc xml:space="preserve">Get the model number of the device.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A string, or %NULL. g_free() after use.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_model_url"
              c:identifier="gupnp_device_info_get_model_url">
        <doc xml:space="preserve">Get a URL pointing to the device model's website.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A string, or %NULL. g_free() after use.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_presentation_url"
              c:identifier="gupnp_device_info_get_presentation_url">
        <doc xml:space="preserve">Get a URL pointing to the device's presentation page, for web-based
administration.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A string, or %NULL. g_free() after use.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_resource_factory"
              c:identifier="gupnp_device_info_get_resource_factory">
        <doc xml:space="preserve">Get the #GUPnPResourceFactory used by the @device_info.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GUPnPResourceFactory.</doc>
          <type name="ResourceFactory" c:type="GUPnPResourceFactory*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device_info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_serial_number"
              c:identifier="gupnp_device_info_get_serial_number">
        <doc xml:space="preserve">Get the serial number of the device.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A string, or %NULL. g_free() after use.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_service" c:identifier="gupnp_device_info_get_service">
        <doc xml:space="preserve">Get the service with type @type directly contained in @info as a new object
implementing #GUPnPServiceInfo, or %NULL if no such device was found. The
returned object should be unreffed when done.

Note that services are not cached internally, so that every time you call
this function a new object is created. The application must cache any used
services if it wishes to keep them around and re-use them.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A #GUPnPServiceInfo.</doc>
          <type name="ServiceInfo" c:type="GUPnPServiceInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">The type of the service to be retrieved.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_udn" c:identifier="gupnp_device_info_get_udn">
        <doc xml:space="preserve">Get the Unique Device Name of the device.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A constant string.</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_upc" c:identifier="gupnp_device_info_get_upc">
        <doc xml:space="preserve">Get the Universal Product Code of the device.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A string, or %NULL. g_free() after use.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_url_base"
              c:identifier="gupnp_device_info_get_url_base">
        <doc xml:space="preserve">Get the URL base of this device.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #SoupURI.</doc>
          <type name="Soup.URI" c:type="const SoupURI*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="list_device_types"
              c:identifier="gupnp_device_info_list_device_types">
        <doc xml:space="preserve">Get a #GList of strings representing the types of the devices
directly contained in @info.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A #GList of strings. The
elements should be g_free()'d and the list should be g_list_free()'d.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="utf8"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="list_devices"
              c:identifier="gupnp_device_info_list_devices">
        <doc xml:space="preserve">Get a #GList of new objects implementing #GUPnPDeviceInfo
representing the devices directly contained in @info. The returned list
should be g_list_free()'d and the elements should be g_object_unref()'d.

Note that devices are not cached internally, so that every time you
call this function new objects are created. The application
must cache any used devices if it wishes to keep them around and re-use
them.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GList of
new #GUPnPDeviceInfo objects.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="DeviceInfo"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="list_dlna_capabilities"
              c:identifier="gupnp_device_info_list_dlna_capabilities"
              version="0.13.0">
        <doc xml:space="preserve">Get a #GList of strings that represent the device capabilities as announced
in the device description file using the &amp;lt;dlna:X_DLNACAP&amp;gt; element.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GList of newly allocated strings or
%NULL if the device description doesn't contain the &amp;lt;dlna:X_DLNACAP&amp;gt;
element.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="utf8"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="list_dlna_device_class_identifier"
              c:identifier="gupnp_device_info_list_dlna_device_class_identifier"
              version="0.20.4">
        <doc xml:space="preserve">Get a #GList of strings that represent the device class and version as
announced in the device description file using the &amp;lt;dlna:X_DLNADOC&amp;gt;
element.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GList of newly allocated strings or
%NULL if the device description doesn't contain the &amp;lt;dlna:X_DLNADOC&amp;gt;
element.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="utf8"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="list_service_types"
              c:identifier="gupnp_device_info_list_service_types">
        <doc xml:space="preserve">Get a #GList of strings representing the types of the services
directly contained in @info.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A #GList of strings. The
elements should be g_free()'d and the list should be g_list_free()'d.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="utf8"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="list_services"
              c:identifier="gupnp_device_info_list_services">
        <doc xml:space="preserve">Get a #GList of new objects implementing #GUPnPServiceInfo representing the
services directly contained in @info. The returned list should be
g_list_free()'d and the elements should be g_object_unref()'d.

Note that services are not cached internally, so that every time you call
function new objects are created. The application must cache any used
services if it wishes to keep them around and re-use them.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A #GList of
new #GUPnPServiceInfo objects.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="ServiceInfo"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPDeviceInfo</doc>
            <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="context"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The #GUPnPContext to use.</doc>
        <type name="Context"/>
      </property>
      <property name="device-type"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The device type.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="document"
                stability="Private"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Private property.</doc>
        <type name="XMLDoc"/>
      </property>
      <property name="element"
                stability="Private"
                readable="0"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Private property.</doc>
        <type name="gpointer" c:type="gpointer"/>
      </property>
      <property name="location"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The location of the device description file.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="resource-factory"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The resource factory to use. Set to NULL for default factory.</doc>
        <type name="ResourceFactory"/>
      </property>
      <property name="udn"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The UDN of this device.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="url-base"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The URL base (#SoupURI).</doc>
        <type name="Soup.URI"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="DeviceInfoPrivate" c:type="GUPnPDeviceInfoPrivate*"/>
      </field>
    </class>
    <record name="DeviceInfoClass"
            c:type="GUPnPDeviceInfoClass"
            glib:is-gtype-struct-for="DeviceInfo">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="get_element" introspectable="0">
        <callback name="get_element" introspectable="0">
          <return-value>
            <type name="libxml2.Node" c:type="xmlNode*"/>
          </return-value>
          <parameters>
            <parameter name="info" transfer-ownership="none">
              <type name="DeviceInfo" c:type="GUPnPDeviceInfo*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gupnp_reserved1" introspectable="0">
        <callback name="_gupnp_reserved1">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved2" introspectable="0">
        <callback name="_gupnp_reserved2">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved3" introspectable="0">
        <callback name="_gupnp_reserved3">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved4" introspectable="0">
        <callback name="_gupnp_reserved4">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <record name="DeviceInfoPrivate"
            c:type="GUPnPDeviceInfoPrivate"
            disguised="1">
    </record>
    <record name="DevicePrivate" c:type="GUPnPDevicePrivate" disguised="1">
    </record>
    <class name="DeviceProxy"
           c:symbol-prefix="device_proxy"
           c:type="GUPnPDeviceProxy"
           parent="DeviceInfo"
           glib:type-name="GUPnPDeviceProxy"
           glib:get-type="gupnp_device_proxy_get_type"
           glib:type-struct="DeviceProxyClass">
      <doc xml:space="preserve">This struct contains private data only, and should be accessed using the
functions below.</doc>
      <field name="parent">
        <type name="DeviceInfo" c:type="GUPnPDeviceInfo"/>
      </field>
      <field name="priv">
        <type name="DeviceProxyPrivate" c:type="GUPnPDeviceProxyPrivate*"/>
      </field>
    </class>
    <record name="DeviceProxyClass"
            c:type="GUPnPDeviceProxyClass"
            glib:is-gtype-struct-for="DeviceProxy">
      <field name="parent_class">
        <type name="DeviceInfoClass" c:type="GUPnPDeviceInfoClass"/>
      </field>
      <field name="_gupnp_reserved1" introspectable="0">
        <callback name="_gupnp_reserved1">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved2" introspectable="0">
        <callback name="_gupnp_reserved2">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved3" introspectable="0">
        <callback name="_gupnp_reserved3">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved4" introspectable="0">
        <callback name="_gupnp_reserved4">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <record name="DeviceProxyPrivate"
            c:type="GUPnPDeviceProxyPrivate"
            disguised="1">
    </record>
    <enumeration name="EventingError"
                 c:type="GUPnPEventingError"
                 glib:error-domain="gupnp-eventing-error">
      <doc xml:space="preserve">#GError codes used for errors in the #GUPNP_EVENTING_ERROR domain, during
eventing of state variables.</doc>
      <member name="subscription_failed"
              value="0"
              c:identifier="GUPNP_EVENTING_ERROR_SUBSCRIPTION_FAILED">
        <doc xml:space="preserve">The subscription attempt failed.</doc>
      </member>
      <member name="subscription_lost"
              value="1"
              c:identifier="GUPNP_EVENTING_ERROR_SUBSCRIPTION_LOST">
        <doc xml:space="preserve">The subscription was lost.</doc>
      </member>
      <member name="notify_failed"
              value="2"
              c:identifier="GUPNP_EVENTING_ERROR_NOTIFY_FAILED">
        <doc xml:space="preserve">The notification failed.</doc>
      </member>
    </enumeration>
    <class name="ResourceFactory"
           c:symbol-prefix="resource_factory"
           c:type="GUPnPResourceFactory"
           parent="GObject.Object"
           glib:type-name="GUPnPResourceFactory"
           glib:get-type="gupnp_resource_factory_get_type"
           glib:type-struct="ResourceFactoryClass">
      <doc xml:space="preserve">This struct contains private data only, and should be accessed using the
functions below.</doc>
      <constructor name="new" c:identifier="gupnp_resource_factory_new">
        <doc xml:space="preserve">Create a new #GUPnPResourceFactory object.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A #GUPnPResourceFactory object.</doc>
          <type name="ResourceFactory" c:type="GUPnPResourceFactory*"/>
        </return-value>
      </constructor>
      <function name="get_default"
                c:identifier="gupnp_resource_factory_get_default">
        <doc xml:space="preserve">Get the default singleton #GUPnPResourceFactory object.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A @GUPnPResourceFactory object.</doc>
          <type name="ResourceFactory" c:type="GUPnPResourceFactory*"/>
        </return-value>
      </function>
      <method name="register_resource_proxy_type"
              c:identifier="gupnp_resource_factory_register_resource_proxy_type">
        <doc xml:space="preserve">Registers the GType @type for the proxy of resource of UPnP type @upnp_type.
After this call, the factory @factory will create object of GType @type each
time it is asked to create a resource proxy object for UPnP type @upnp_type.

Note: GType @type must be a derived type of #GUPNP_TYPE_DEVICE_PROXY if
resource is a device or #GUPNP_TYPE_SERVICE_PROXY if its a service.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPResourceFactory.</doc>
            <type name="ResourceFactory" c:type="GUPnPResourceFactory*"/>
          </instance-parameter>
          <parameter name="upnp_type" transfer-ownership="none">
            <doc xml:space="preserve">The UPnP type name of the resource.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">The requested GType assignment for the resource proxy.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </method>
      <method name="register_resource_type"
              c:identifier="gupnp_resource_factory_register_resource_type">
        <doc xml:space="preserve">Registers the GType @type for the resource of UPnP type @upnp_type. After
this call, the factory @factory will create object of GType @type each time
it is asked to create a resource object for UPnP type @upnp_type.

Note: GType @type must be a derived type of #GUPNP_TYPE_DEVICE if resource is
a device or #GUPNP_TYPE_SERVICE if its a service.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPResourceFactory.</doc>
            <type name="ResourceFactory" c:type="GUPnPResourceFactory*"/>
          </instance-parameter>
          <parameter name="upnp_type" transfer-ownership="none">
            <doc xml:space="preserve">The UPnP type name of the resource.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">The requested GType assignment for the resource.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </method>
      <method name="unregister_resource_proxy_type"
              c:identifier="gupnp_resource_factory_unregister_resource_proxy_type">
        <doc xml:space="preserve">Unregisters the GType assignment for the proxy of resource of UPnP type
@upnp_type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if GType assignment was removed successfully, %FALSE
otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPResourceFactory.</doc>
            <type name="ResourceFactory" c:type="GUPnPResourceFactory*"/>
          </instance-parameter>
          <parameter name="upnp_type" transfer-ownership="none">
            <doc xml:space="preserve">The UPnP type name of the resource.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="unregister_resource_type"
              c:identifier="gupnp_resource_factory_unregister_resource_type">
        <doc xml:space="preserve">Unregisters the GType assignment for the resource of UPnP type @upnp_type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if GType assignment was removed successfully, %FALSE
otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPResourceFactory.</doc>
            <type name="ResourceFactory" c:type="GUPnPResourceFactory*"/>
          </instance-parameter>
          <parameter name="upnp_type" transfer-ownership="none">
            <doc xml:space="preserve">The UPnP type name of the resource.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="ResourceFactoryPrivate"
              c:type="GUPnPResourceFactoryPrivate*"/>
      </field>
    </class>
    <record name="ResourceFactoryClass"
            c:type="GUPnPResourceFactoryClass"
            glib:is-gtype-struct-for="ResourceFactory">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_gupnp_reserved1" introspectable="0">
        <callback name="_gupnp_reserved1">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved2" introspectable="0">
        <callback name="_gupnp_reserved2">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved3" introspectable="0">
        <callback name="_gupnp_reserved3">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved4" introspectable="0">
        <callback name="_gupnp_reserved4">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <record name="ResourceFactoryPrivate"
            c:type="GUPnPResourceFactoryPrivate"
            disguised="1">
    </record>
    <class name="RootDevice"
           c:symbol-prefix="root_device"
           c:type="GUPnPRootDevice"
           parent="Device"
           glib:type-name="GUPnPRootDevice"
           glib:get-type="gupnp_root_device_get_type"
           glib:type-struct="RootDeviceClass">
      <doc xml:space="preserve">This struct contains private data only, and should be accessed using the
functions below.</doc>
      <constructor name="new" c:identifier="gupnp_root_device_new">
        <doc xml:space="preserve">Create a new #GUPnPRootDevice object, automatically loading and parsing
device description document from @description_path.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A new @GUPnPRootDevice object.</doc>
          <type name="RootDevice" c:type="GUPnPRootDevice*"/>
        </return-value>
        <parameters>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">The #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </parameter>
          <parameter name="description_path" transfer-ownership="none">
            <doc xml:space="preserve">Path to device description document. This could either
be an absolute path or path relative to @description_dir.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="description_dir" transfer-ownership="none">
            <doc xml:space="preserve">Path to directory where description documents are provided.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_full" c:identifier="gupnp_root_device_new_full">
        <doc xml:space="preserve">Create a new #GUPnPRootDevice, automatically loading and parsing
device description document from @description_path if @description_doc is
%NULL.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A new #GUPnPRootDevice object.</doc>
          <type name="RootDevice" c:type="GUPnPRootDevice*"/>
        </return-value>
        <parameters>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContext</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </parameter>
          <parameter name="factory" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPResourceFactory</doc>
            <type name="ResourceFactory" c:type="GUPnPResourceFactory*"/>
          </parameter>
          <parameter name="description_doc" transfer-ownership="none">
            <doc xml:space="preserve">Device description document, or %NULL</doc>
            <type name="XMLDoc" c:type="GUPnPXMLDoc*"/>
          </parameter>
          <parameter name="description_path" transfer-ownership="none">
            <doc xml:space="preserve">Path to device description document. This could either
be an absolute path or path relative to @description_dir.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="description_dir" transfer-ownership="none">
            <doc xml:space="preserve">Path to directory where description documents are provided.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="get_available"
              c:identifier="gupnp_root_device_get_available">
        <doc xml:space="preserve">Get whether or not @root_device is available (announcing its presence).</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @root_device is available, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="root_device" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPRootDevice</doc>
            <type name="RootDevice" c:type="GUPnPRootDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_description_dir"
              c:identifier="gupnp_root_device_get_description_dir">
        <doc xml:space="preserve">Get the path to the directory containing description documents related to
@root_device.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The path to description document directory of @root_device.</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="root_device" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPRootDevice</doc>
            <type name="RootDevice" c:type="GUPnPRootDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_description_path"
              c:identifier="gupnp_root_device_get_description_path">
        <doc xml:space="preserve">Get the path to the device description document of @root_device.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The path to device description document of @root_device.</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="root_device" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPRootDevice</doc>
            <type name="RootDevice" c:type="GUPnPRootDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_relative_location"
              c:identifier="gupnp_root_device_get_relative_location">
        <doc xml:space="preserve">Get the relative location of @root_device.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The relative location of @root_device.</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="root_device" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPRootDevice</doc>
            <type name="RootDevice" c:type="GUPnPRootDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_ssdp_resource_group"
              c:identifier="gupnp_root_device_get_ssdp_resource_group"
              version="0.19.2">
        <doc xml:space="preserve">Get the #GSSDPResourceGroup used by @root_device.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The #GSSDPResourceGroup of @root_device.</doc>
          <type name="GSSDP.ResourceGroup" c:type="GSSDPResourceGroup*"/>
        </return-value>
        <parameters>
          <instance-parameter name="root_device" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPRootDevice</doc>
            <type name="RootDevice" c:type="GUPnPRootDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_available"
              c:identifier="gupnp_root_device_set_available">
        <doc xml:space="preserve">Controls whether or not @root_device is available (announcing
its presence).</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="root_device" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPRootDevice</doc>
            <type name="RootDevice" c:type="GUPnPRootDevice*"/>
          </instance-parameter>
          <parameter name="available" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if @root_device should be available</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <property name="available" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">TRUE if this device is available.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="description-dir"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The path to directory where description documents are provided.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="description-doc"
                version="0.13.0"
                readable="0"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Device description document. Constructor property.</doc>
        <type name="XMLDoc"/>
      </property>
      <property name="description-path"
                version="0.13.0"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The path to device description document. This could either be an
absolute path or path relative to GUPnPRootDevice:description-dir.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent">
        <type name="Device" c:type="GUPnPDevice"/>
      </field>
      <field name="priv">
        <type name="RootDevicePrivate" c:type="GUPnPRootDevicePrivate*"/>
      </field>
    </class>
    <record name="RootDeviceClass"
            c:type="GUPnPRootDeviceClass"
            glib:is-gtype-struct-for="RootDevice">
      <field name="parent_class">
        <type name="DeviceClass" c:type="GUPnPDeviceClass"/>
      </field>
      <field name="_gupnp_reserved1" introspectable="0">
        <callback name="_gupnp_reserved1">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved2" introspectable="0">
        <callback name="_gupnp_reserved2">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved3" introspectable="0">
        <callback name="_gupnp_reserved3">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved4" introspectable="0">
        <callback name="_gupnp_reserved4">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <record name="RootDevicePrivate"
            c:type="GUPnPRootDevicePrivate"
            disguised="1">
    </record>
    <enumeration name="ServerError"
                 c:type="GUPnPServerError"
                 glib:error-domain="gupnp-server-error">
      <doc xml:space="preserve">#GError codes used for errors in the #GUPNP_SERVER_ERROR domain, when there
is communication with another server.</doc>
      <member name="internal_server_error"
              value="0"
              c:identifier="GUPNP_SERVER_ERROR_INTERNAL_SERVER_ERROR">
        <doc xml:space="preserve">Internal server error.</doc>
      </member>
      <member name="not_found"
              value="1"
              c:identifier="GUPNP_SERVER_ERROR_NOT_FOUND">
        <doc xml:space="preserve">The resource was not found.</doc>
      </member>
      <member name="not_implemented"
              value="2"
              c:identifier="GUPNP_SERVER_ERROR_NOT_IMPLEMENTED">
        <doc xml:space="preserve">This method is not implemented.</doc>
      </member>
      <member name="invalid_response"
              value="3"
              c:identifier="GUPNP_SERVER_ERROR_INVALID_RESPONSE">
        <doc xml:space="preserve">Invalid response.</doc>
      </member>
      <member name="invalid_url"
              value="4"
              c:identifier="GUPNP_SERVER_ERROR_INVALID_URL">
        <doc xml:space="preserve">Invalid URL.</doc>
      </member>
      <member name="other" value="5" c:identifier="GUPNP_SERVER_ERROR_OTHER">
        <doc xml:space="preserve">Unknown/unhandled error.</doc>
      </member>
    </enumeration>
    <class name="Service"
           c:symbol-prefix="service"
           c:type="GUPnPService"
           parent="ServiceInfo"
           glib:type-name="GUPnPService"
           glib:get-type="gupnp_service_get_type"
           glib:type-struct="ServiceClass">
      <doc xml:space="preserve">This struct contains private data only, and should be accessed using the
functions below.</doc>
      <virtual-method name="action_invoked">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="service" transfer-ownership="none">
            <type name="Service" c:type="GUPnPService*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <type name="ServiceAction" c:type="GUPnPServiceAction*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="notify_failed" introspectable="0">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="service" transfer-ownership="none">
            <type name="Service" c:type="GUPnPService*"/>
          </instance-parameter>
          <parameter name="callback_urls" transfer-ownership="none">
            <type name="GLib.List" c:type="const GList*">
              <type name="gpointer" c:type="gpointer"/>
            </type>
          </parameter>
          <parameter name="reason" transfer-ownership="none">
            <type name="GLib.Error" c:type="const GError*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="query_variable">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="service" transfer-ownership="none">
            <type name="Service" c:type="GUPnPService*"/>
          </instance-parameter>
          <parameter name="variable" transfer-ownership="none">
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="freeze_notify" c:identifier="gupnp_service_freeze_notify">
        <doc xml:space="preserve">Causes new notifications to be queued up until gupnp_service_thaw_notify()
is called.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="service" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPService</doc>
            <type name="Service" c:type="GUPnPService*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="notify"
              c:identifier="gupnp_service_notify"
              introspectable="0">
        <doc xml:space="preserve">Notifies listening clients that the properties listed in @Varargs
have changed to the specified values.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="service" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPService</doc>
            <type name="Service" c:type="GUPnPService*"/>
          </instance-parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">Tuples of variable name, variable type, and variable value,
terminated with %NULL.</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="notify_valist"
              c:identifier="gupnp_service_notify_valist"
              introspectable="0">
        <doc xml:space="preserve">See gupnp_service_notify(); this version takes a va_list for
use by language bindings.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="service" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPService</doc>
            <type name="Service" c:type="GUPnPService*"/>
          </instance-parameter>
          <parameter name="var_args" transfer-ownership="none">
            <doc xml:space="preserve">A va_list of tuples of variable name, variable type, and variable
value, terminated with %NULL.</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="notify_value" c:identifier="gupnp_service_notify_value">
        <doc xml:space="preserve">Notifies listening clients that @variable has changed to @value.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="service" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPService</doc>
            <type name="Service" c:type="GUPnPService*"/>
          </instance-parameter>
          <parameter name="variable" transfer-ownership="none">
            <doc xml:space="preserve">The name of the variable to notify</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">The value of the variable</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="signals_autoconnect"
              c:identifier="gupnp_service_signals_autoconnect"
              throws="1">
        <doc xml:space="preserve">A convenience function that attempts to connect all possible
#GUPnPService::action-invoked and #GUPnPService::query-variable signals to
appropriate callbacks for the service @service. It uses service introspection
and #GModule&lt;!-- --&gt;'s introspective features. It is very simillar to
gtk_builder_connect_signals() except that it attempts to guess the names of
the signal handlers on its own.

For this function to do its magic, the application must name the callback
functions for #GUPnPService::action-invoked signals by striping the CamelCase
off the action names and either prepend "on_" or append "_cb" to them. Same
goes for #GUPnPService::query-variable signals, except that "query_" should
be prepended to the variable name. For example, callback function for
&lt;varname&gt;GetSystemUpdateID&lt;/varname&gt; action should be either named as
"get_system_update_id_cb" or "on_get_system_update_id" and callback function
for the query of "SystemUpdateID" state variable should be named
&lt;function&gt;query_system_update_id_cb&lt;/function&gt; or
&lt;function&gt;on_query_system_update_id&lt;/function&gt;.

&lt;note&gt;This function will not work correctly if #GModule is not supported
on the platform or introspection is not available for @service.&lt;/note&gt;

&lt;warning&gt;This function can not and therefore does not guarantee that the
resulting signal connections will be correct as it depends heavily on a
particular naming schemes described above.&lt;/warning&gt;</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="service" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPService</doc>
            <type name="Service" c:type="GUPnPService*"/>
          </instance-parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the data to pass to each of the callbacks</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="thaw_notify" c:identifier="gupnp_service_thaw_notify">
        <doc xml:space="preserve">Sends out any pending notifications, and stops queuing of new ones.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="service" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPService</doc>
            <type name="Service" c:type="GUPnPService*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="root-device"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The containing #GUPnPRootDevice.</doc>
        <type name="RootDevice"/>
      </property>
      <field name="parent">
        <type name="ServiceInfo" c:type="GUPnPServiceInfo"/>
      </field>
      <field name="priv">
        <type name="ServicePrivate" c:type="GUPnPServicePrivate*"/>
      </field>
      <glib:signal name="action-invoked" when="last" detailed="1">
        <doc xml:space="preserve">Emitted whenever an action is invoked. Handler should process
@action and must call either gupnp_service_action_return() or
gupnp_service_action_return_error().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">The invoked #GUPnPServiceAction</doc>
            <type name="ServiceAction"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="notify-failed" when="last">
        <doc xml:space="preserve">Emitted whenever notification of a client fails.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="callback_url" transfer-ownership="none">
            <doc xml:space="preserve">A #GList of callback URLs</doc>
            <type name="GLib.List" c:type="gpointer">
              <type name="Soup.URI"/>
            </type>
          </parameter>
          <parameter name="reason" transfer-ownership="none">
            <doc xml:space="preserve">A pointer to a #GError describing why the notify failed</doc>
            <type name="GLib.Error" c:type="gpointer"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="query-variable" when="last" detailed="1">
        <doc xml:space="preserve">Emitted whenever @service needs to know the value of @variable.
Handler should fill @value with the value of @variable.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="variable" transfer-ownership="none">
            <doc xml:space="preserve">The variable that is being queried</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
          <parameter name="value"
                     direction="inout"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">The location of the #GValue of the variable</doc>
            <type name="GObject.Value" c:type="gpointer"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="ServiceAction"
            c:type="GUPnPServiceAction"
            glib:type-name="GUPnPServiceAction"
            glib:get-type="gupnp_service_action_get_type"
            c:symbol-prefix="service_action">
      <doc xml:space="preserve">Opaque structure for holding in-progress action data.</doc>
      <method name="get"
              c:identifier="gupnp_service_action_get"
              introspectable="0">
        <doc xml:space="preserve">Retrieves the specified action arguments.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceAction</doc>
            <type name="ServiceAction" c:type="GUPnPServiceAction*"/>
          </instance-parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">tuples of argument name, argument type, and argument value
location, terminated with %NULL.</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="get_argument_count"
              c:identifier="gupnp_service_action_get_argument_count"
              version="0.17.0">
        <doc xml:space="preserve">Get the number of IN arguments from the @action and return it.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The number of IN arguments from the @action.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceAction</doc>
            <type name="ServiceAction" c:type="GUPnPServiceAction*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_gvalue"
              c:identifier="gupnp_service_action_get_gvalue"
              shadows="get_value"
              version="0.13.3">
        <doc xml:space="preserve">Retrieves the value of @argument into a GValue of type @type and returns it.
The method exists only and only to satify PyGI, please use
gupnp_service_action_get_value() and ignore this if possible.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">Value as #GValue associated with @action.
g_value_unset() and g_slice_free() it after usage.</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </return-value>
        <parameters>
          <instance-parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceAction</doc>
            <type name="ServiceAction" c:type="GUPnPServiceAction*"/>
          </instance-parameter>
          <parameter name="argument" transfer-ownership="none">
            <doc xml:space="preserve">The name of the argument to retrieve</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">The type of argument to retrieve</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_locales"
              c:identifier="gupnp_service_action_get_locales">
        <doc xml:space="preserve">Get an ordered (preferred first) #GList of locales preferred by
the client. Free list and elements after use.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A #GList of #char*
locale names.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="utf8"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceAction</doc>
            <type name="ServiceAction" c:type="GUPnPServiceAction*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_message"
              c:identifier="gupnp_service_action_get_message"
              version="0.13.0">
        <doc xml:space="preserve">Get the #SoupMessage associated with @action. Mainly intended for
applications to be able to read HTTP headers received from clients.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">#SoupMessage associated with @action. Unref
after using it.</doc>
          <type name="Soup.Message" c:type="SoupMessage*"/>
        </return-value>
        <parameters>
          <instance-parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceAction</doc>
            <type name="ServiceAction" c:type="GUPnPServiceAction*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="gupnp_service_action_get_name">
        <doc xml:space="preserve">Get the name of @action.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The name of @action</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceAction</doc>
            <type name="ServiceAction" c:type="GUPnPServiceAction*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_valist"
              c:identifier="gupnp_service_action_get_valist"
              introspectable="0">
        <doc xml:space="preserve">See gupnp_service_action_get(); this version takes a va_list for
use by language bindings.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceAction</doc>
            <type name="ServiceAction" c:type="GUPnPServiceAction*"/>
          </instance-parameter>
          <parameter name="var_args" transfer-ownership="none">
            <doc xml:space="preserve">va_list of tuples of argument name, argument type, and argument
value location.</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_value"
              c:identifier="gupnp_service_action_get_value"
              shadowed-by="get_gvalue"
              introspectable="0">
        <doc xml:space="preserve">Retrieves the value of @argument into @value.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceAction</doc>
            <type name="ServiceAction" c:type="GUPnPServiceAction*"/>
          </instance-parameter>
          <parameter name="argument" transfer-ownership="none">
            <doc xml:space="preserve">The name of the argument to retrieve</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="value"
                     direction="inout"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">The #GValue to store the value of the argument, initialized
to the correct type.</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_values"
              c:identifier="gupnp_service_action_get_values"
              version="0.13.3">
        <doc xml:space="preserve">A variant of #gupnp_service_action_get that uses #GList instead of varargs.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">The values as #GList of
#GValue. g_list_free() the returned list and g_value_unset() and g_slice_free()
each element.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="GObject.Value"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceAction</doc>
            <type name="ServiceAction" c:type="GUPnPServiceAction*"/>
          </instance-parameter>
          <parameter name="arg_names" transfer-ownership="none">
            <doc xml:space="preserve">A #GList of argument names as string</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="utf8"/>
            </type>
          </parameter>
          <parameter name="arg_types" transfer-ownership="none">
            <doc xml:space="preserve">A #GList of argument types as #GType</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="GType"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <method name="return" c:identifier="gupnp_service_action_return">
        <doc xml:space="preserve">Return succesfully.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceAction</doc>
            <type name="ServiceAction" c:type="GUPnPServiceAction*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="return_error"
              c:identifier="gupnp_service_action_return_error">
        <doc xml:space="preserve">Return @error_code.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceAction</doc>
            <type name="ServiceAction" c:type="GUPnPServiceAction*"/>
          </instance-parameter>
          <parameter name="error_code" transfer-ownership="none">
            <doc xml:space="preserve">The error code</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="error_description" transfer-ownership="none">
            <doc xml:space="preserve">The error description, or %NULL if @error_code is
one of #GUPNP_CONTROL_ERROR_INVALID_ACTION,
#GUPNP_CONTROL_ERROR_INVALID_ARGS, #GUPNP_CONTROL_ERROR_OUT_OF_SYNC or
#GUPNP_CONTROL_ERROR_ACTION_FAILED, in which case a description is
provided automatically.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set"
              c:identifier="gupnp_service_action_set"
              introspectable="0">
        <doc xml:space="preserve">Sets the specified action return values.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceAction</doc>
            <type name="ServiceAction" c:type="GUPnPServiceAction*"/>
          </instance-parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">tuples of return value name, return value type, and
actual return value, terminated with %NULL.</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="set_valist"
              c:identifier="gupnp_service_action_set_valist"
              introspectable="0">
        <doc xml:space="preserve">See gupnp_service_action_set(); this version takes a va_list for
use by language bindings.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceAction</doc>
            <type name="ServiceAction" c:type="GUPnPServiceAction*"/>
          </instance-parameter>
          <parameter name="var_args" transfer-ownership="none">
            <doc xml:space="preserve">va_list of tuples of return value name, return value type, and
actual return value.</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_value" c:identifier="gupnp_service_action_set_value">
        <doc xml:space="preserve">Sets the value of @argument to @value.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceAction</doc>
            <type name="ServiceAction" c:type="GUPnPServiceAction*"/>
          </instance-parameter>
          <parameter name="argument" transfer-ownership="none">
            <doc xml:space="preserve">The name of the return value to retrieve</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">The #GValue to store the return value</doc>
            <type name="GObject.Value" c:type="const GValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_values"
              c:identifier="gupnp_service_action_set_values"
              version="0.13.3">
        <doc xml:space="preserve">Sets the specified action return values.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceAction</doc>
            <type name="ServiceAction" c:type="GUPnPServiceAction*"/>
          </instance-parameter>
          <parameter name="arg_names" transfer-ownership="none">
            <doc xml:space="preserve">A #GList of argument names</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="utf8"/>
            </type>
          </parameter>
          <parameter name="arg_values" transfer-ownership="none">
            <doc xml:space="preserve">The #GList of values (as
#GValues) that line up with @arg_names.</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="GObject.Value"/>
            </type>
          </parameter>
        </parameters>
      </method>
    </record>
    <enumeration name="ServiceActionArgDirection"
                 c:type="GUPnPServiceActionArgDirection">
      <doc xml:space="preserve">Represents the direction of a service state variable.</doc>
      <member name="in"
              value="0"
              c:identifier="GUPNP_SERVICE_ACTION_ARG_DIRECTION_IN">
        <doc xml:space="preserve">An "in" variable, to the service.</doc>
      </member>
      <member name="out"
              value="1"
              c:identifier="GUPNP_SERVICE_ACTION_ARG_DIRECTION_OUT">
        <doc xml:space="preserve">An "out" variable, from the service.</doc>
      </member>
    </enumeration>
    <record name="ServiceActionArgInfo" c:type="GUPnPServiceActionArgInfo">
      <doc xml:space="preserve">This structure contains information about the argument of service action.</doc>
      <field name="name" writable="1">
        <doc xml:space="preserve">The name of the action argument.</doc>
        <type name="utf8" c:type="char*"/>
      </field>
      <field name="direction" writable="1">
        <doc xml:space="preserve">The direction of the action argument.</doc>
        <type name="ServiceActionArgDirection"
              c:type="GUPnPServiceActionArgDirection"/>
      </field>
      <field name="related_state_variable" writable="1">
        <doc xml:space="preserve">The name of the state variable associated with this
argument.</doc>
        <type name="utf8" c:type="char*"/>
      </field>
      <field name="retval" writable="1">
        <doc xml:space="preserve">Whether this argument is the return value of the action.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </field>
    </record>
    <record name="ServiceActionInfo" c:type="GUPnPServiceActionInfo">
      <doc xml:space="preserve">This structure contains information about a service action.</doc>
      <field name="name" writable="1">
        <doc xml:space="preserve">The name of the action argument.</doc>
        <type name="utf8" c:type="char*"/>
      </field>
      <field name="arguments" writable="1">
        <doc xml:space="preserve">A GList of all the arguments
(of type #GUPnPServiceActionArgInfo) of this action.</doc>
        <type name="GLib.List">
          <type name="ServiceActionArgInfo"/>
        </type>
      </field>
    </record>
    <record name="ServiceClass"
            c:type="GUPnPServiceClass"
            glib:is-gtype-struct-for="Service">
      <field name="parent_class">
        <type name="ServiceInfoClass" c:type="GUPnPServiceInfoClass"/>
      </field>
      <field name="action_invoked">
        <callback name="action_invoked">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="service" transfer-ownership="none">
              <type name="Service" c:type="GUPnPService*"/>
            </parameter>
            <parameter name="action" transfer-ownership="none">
              <type name="ServiceAction" c:type="GUPnPServiceAction*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="query_variable">
        <callback name="query_variable">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="service" transfer-ownership="none">
              <type name="Service" c:type="GUPnPService*"/>
            </parameter>
            <parameter name="variable" transfer-ownership="none">
              <type name="utf8" c:type="const char*"/>
            </parameter>
            <parameter name="value" transfer-ownership="none">
              <type name="GObject.Value" c:type="GValue*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="notify_failed" introspectable="0">
        <callback name="notify_failed" introspectable="0">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="service" transfer-ownership="none">
              <type name="Service" c:type="GUPnPService*"/>
            </parameter>
            <parameter name="callback_urls" transfer-ownership="none">
              <type name="GLib.List" c:type="const GList*">
                <type name="gpointer" c:type="gpointer"/>
              </type>
            </parameter>
            <parameter name="reason" transfer-ownership="none">
              <type name="GLib.Error" c:type="const GError*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gupnp_reserved1" introspectable="0">
        <callback name="_gupnp_reserved1">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved2" introspectable="0">
        <callback name="_gupnp_reserved2">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved3" introspectable="0">
        <callback name="_gupnp_reserved3">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved4" introspectable="0">
        <callback name="_gupnp_reserved4">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <class name="ServiceInfo"
           c:symbol-prefix="service_info"
           c:type="GUPnPServiceInfo"
           parent="GObject.Object"
           abstract="1"
           glib:type-name="GUPnPServiceInfo"
           glib:get-type="gupnp_service_info_get_type"
           glib:type-struct="ServiceInfoClass">
      <doc xml:space="preserve">This struct contains private data only, and should be accessed using the
functions below.</doc>
      <method name="get_context" c:identifier="gupnp_service_info_get_context">
        <doc xml:space="preserve">Get the #GUPnPContext associated with @info.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GUPnPContext.</doc>
          <type name="Context" c:type="GUPnPContext*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceInfo</doc>
            <type name="ServiceInfo" c:type="GUPnPServiceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_control_url"
              c:identifier="gupnp_service_info_get_control_url">
        <doc xml:space="preserve">Get the control URL for this service, or %NULL..</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A string. This string should be freed with g_free() after use.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceInfo</doc>
            <type name="ServiceInfo" c:type="GUPnPServiceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_event_subscription_url"
              c:identifier="gupnp_service_info_get_event_subscription_url">
        <doc xml:space="preserve">Get the event subscription URL for this service, or %NULL.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A string. This string should be freed with g_free() after use.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceInfo</doc>
            <type name="ServiceInfo" c:type="GUPnPServiceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_id" c:identifier="gupnp_service_info_get_id">
        <doc xml:space="preserve">Get the ID of this service, or %NULL if there is no ID.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A string. This string should be freed with g_free() after use.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceInfo</doc>
            <type name="ServiceInfo" c:type="GUPnPServiceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_introspection"
              c:identifier="gupnp_service_info_get_introspection"
              deprecated="1"
              deprecated-version="0.20.15."
              throws="1">
        <doc xml:space="preserve">Note that introspection object is created from the information in service
description document (SCPD) provided by the service so it can not be created
if the service does not provide an SCPD.

Warning: You  should use gupnp_service_info_get_introspection_async()
instead, this function re-enter the GMainloop before returning or might
even block.</doc>
        <doc-deprecated xml:space="preserve">Use gupnp_service_info_get_introspection_async() or
gupnp_service_info_get_introspection_async_full() instead.</doc-deprecated>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A new #GUPnPServiceIntrospection for this
service or %NULL. Unref after use.</doc>
          <type name="ServiceIntrospection"
                c:type="GUPnPServiceIntrospection*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceInfo</doc>
            <type name="ServiceInfo" c:type="GUPnPServiceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_introspection_async"
              c:identifier="gupnp_service_info_get_introspection_async">
        <doc xml:space="preserve">Note that introspection object is created from the information in service
description document (SCPD) provided by the service so it can not be created
if the service does not provide an SCPD.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceInfo</doc>
            <type name="ServiceInfo" c:type="GUPnPServiceInfo*"/>
          </instance-parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="async"
                     closure="1">
            <doc xml:space="preserve">callback to be called when introspection object is ready.</doc>
            <type name="ServiceIntrospectionCallback"
                  c:type="GUPnPServiceIntrospectionCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user_data to be passed to the callback.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_introspection_async_full"
              c:identifier="gupnp_service_info_get_introspection_async_full"
              version="0.20.9">
        <doc xml:space="preserve">Note that introspection object is created from the information in service
description document (SCPD) provided by the service so it can not be created
if the service does not provide an SCPD.

If @cancellable is used to cancel the call, @callback will be called with
error code %G_IO_ERROR_CANCELLED.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceInfo</doc>
            <type name="ServiceInfo" c:type="GUPnPServiceInfo*"/>
          </instance-parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve">callback to be called when introspection object is ready.</doc>
            <type name="ServiceIntrospectionCallback"
                  c:type="GUPnPServiceIntrospectionCallback"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">GCancellable that can be used to cancel the call, or %NULL.</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user_data to be passed to the callback.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_location"
              c:identifier="gupnp_service_info_get_location">
        <doc xml:space="preserve">Get the location of the device description file.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A constant string.</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceInfo</doc>
            <type name="ServiceInfo" c:type="GUPnPServiceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_scpd_url"
              c:identifier="gupnp_service_info_get_scpd_url">
        <doc xml:space="preserve">Get the SCPD URL for this service, or %NULL if there is no SCPD.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A string. This string should be freed with g_free() after use.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceInfo</doc>
            <type name="ServiceInfo" c:type="GUPnPServiceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_service_type"
              c:identifier="gupnp_service_info_get_service_type">
        <doc xml:space="preserve">Get the UPnP service type, or %NULL.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A constant string.</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceInfo</doc>
            <type name="ServiceInfo" c:type="GUPnPServiceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_udn" c:identifier="gupnp_service_info_get_udn">
        <doc xml:space="preserve">Get the Unique Device Name of the containing device.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A constant string.</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceInfo</doc>
            <type name="ServiceInfo" c:type="GUPnPServiceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_url_base"
              c:identifier="gupnp_service_info_get_url_base">
        <doc xml:space="preserve">Get the URL base of this service.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A constant #SoupURI.</doc>
          <type name="Soup.URI" c:type="const SoupURI*"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceInfo</doc>
            <type name="ServiceInfo" c:type="GUPnPServiceInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="context"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The #GUPnPContext to use.</doc>
        <type name="Context"/>
      </property>
      <property name="document"
                stability="Private"
                readable="0"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Private property.</doc>
        <type name="XMLDoc"/>
      </property>
      <property name="element"
                stability="Private"
                readable="0"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Private property.</doc>
        <type name="gpointer" c:type="gpointer"/>
      </property>
      <property name="location"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The location of the device description file.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="service-type"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The service type.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="udn"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The UDN of the containing device.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="url-base"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The URL base (#SoupURI).</doc>
        <type name="Soup.URI"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="ServiceInfoPrivate" c:type="GUPnPServiceInfoPrivate*"/>
      </field>
    </class>
    <record name="ServiceInfoClass"
            c:type="GUPnPServiceInfoClass"
            glib:is-gtype-struct-for="ServiceInfo">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_gupnp_reserved1" introspectable="0">
        <callback name="_gupnp_reserved1">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved2" introspectable="0">
        <callback name="_gupnp_reserved2">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved3" introspectable="0">
        <callback name="_gupnp_reserved3">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved4" introspectable="0">
        <callback name="_gupnp_reserved4">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <record name="ServiceInfoPrivate"
            c:type="GUPnPServiceInfoPrivate"
            disguised="1">
    </record>
    <class name="ServiceIntrospection"
           c:symbol-prefix="service_introspection"
           c:type="GUPnPServiceIntrospection"
           parent="GObject.Object"
           glib:type-name="GUPnPServiceIntrospection"
           glib:get-type="gupnp_service_introspection_get_type"
           glib:type-struct="ServiceIntrospectionClass">
      <doc xml:space="preserve">This struct contains private data only, and should be accessed using the
functions below.</doc>
      <method name="get_action"
              c:identifier="gupnp_service_introspection_get_action">
        <doc xml:space="preserve">Returns the action by the name @action_name in this service.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the action or %NULL. Do not modify or free
it.</doc>
          <type name="ServiceActionInfo"
                c:type="const GUPnPServiceActionInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="introspection" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceIntrospection</doc>
            <type name="ServiceIntrospection"
                  c:type="GUPnPServiceIntrospection*"/>
          </instance-parameter>
          <parameter name="action_name" transfer-ownership="none">
            <doc xml:space="preserve">The name of the action to retrieve</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_state_variable"
              c:identifier="gupnp_service_introspection_get_state_variable">
        <doc xml:space="preserve">Returns the state variable by the name @variable_name in this service.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the state variable or %NULL. Do not modify or
free it.</doc>
          <type name="ServiceStateVariableInfo"
                c:type="const GUPnPServiceStateVariableInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="introspection" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceIntrospection</doc>
            <type name="ServiceIntrospection"
                  c:type="GUPnPServiceIntrospection*"/>
          </instance-parameter>
          <parameter name="variable_name" transfer-ownership="none">
            <doc xml:space="preserve">The name of the variable to retrieve</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="list_action_names"
              c:identifier="gupnp_service_introspection_list_action_names">
        <doc xml:space="preserve">Returns a GList of names of all the actions in this service.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A GList of names of all
the actions or %NULL. Do not modify or free it or its contents.</doc>
          <type name="GLib.List" c:type="const GList*">
            <type name="utf8"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="introspection" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceIntrospection</doc>
            <type name="ServiceIntrospection"
                  c:type="GUPnPServiceIntrospection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="list_actions"
              c:identifier="gupnp_service_introspection_list_actions">
        <doc xml:space="preserve">Returns a #GList of all the actions (of type #GUPnPServiceActionInfo) in
this service.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A
#GList of all the actions or %NULL. Do not modify or free it or its
contents.</doc>
          <type name="GLib.List" c:type="const GList*">
            <type name="ServiceActionInfo"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="introspection" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceIntrospection</doc>
            <type name="ServiceIntrospection"
                  c:type="GUPnPServiceIntrospection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="list_state_variable_names"
              c:identifier="gupnp_service_introspection_list_state_variable_names">
        <doc xml:space="preserve">Returns a #GList of names of all the state variables in this service.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GList of names of all
the state variables or %NULL. Do not modify or free it or its contents.</doc>
          <type name="GLib.List" c:type="const GList*">
            <type name="utf8"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="introspection" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceIntrospection</doc>
            <type name="ServiceIntrospection"
                  c:type="GUPnPServiceIntrospection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="list_state_variables"
              c:identifier="gupnp_service_introspection_list_state_variables">
        <doc xml:space="preserve">Returns a GList of all the state variables (of type
#GUPnPServiceStateVariableInfo) in this service.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">
A #GList of all the state variables or %NULL. Do not modify or free it or
its contents.</doc>
          <type name="GLib.List" c:type="const GList*">
            <type name="ServiceStateVariableInfo"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="introspection" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceIntrospection</doc>
            <type name="ServiceIntrospection"
                  c:type="GUPnPServiceIntrospection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="scpd"
                readable="0"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The scpd of the device description file.</doc>
        <type name="gpointer" c:type="gpointer"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="ServiceIntrospectionPrivate"
              c:type="GUPnPServiceIntrospectionPrivate*"/>
      </field>
    </class>
    <callback name="ServiceIntrospectionCallback"
              c:type="GUPnPServiceIntrospectionCallback">
      <doc xml:space="preserve">Callback notifying that @introspection for @info has been obtained.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="info" transfer-ownership="none">
          <doc xml:space="preserve">The #GUPnPServiceInfo introspection was requested for</doc>
          <type name="ServiceInfo" c:type="GUPnPServiceInfo*"/>
        </parameter>
        <parameter name="introspection" transfer-ownership="none">
          <doc xml:space="preserve">The new #GUPnPServiceIntrospection object, or NULL</doc>
          <type name="ServiceIntrospection"
                c:type="GUPnPServiceIntrospection*"/>
        </parameter>
        <parameter name="error" transfer-ownership="none">
          <doc xml:space="preserve">The #GError that occurred, or NULL</doc>
          <type name="GLib.Error" c:type="const GError*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="3">
          <doc xml:space="preserve">User data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="ServiceIntrospectionClass"
            c:type="GUPnPServiceIntrospectionClass"
            glib:is-gtype-struct-for="ServiceIntrospection">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <record name="ServiceIntrospectionPrivate"
            c:type="GUPnPServiceIntrospectionPrivate"
            disguised="1">
    </record>
    <record name="ServicePrivate" c:type="GUPnPServicePrivate" disguised="1">
    </record>
    <class name="ServiceProxy"
           c:symbol-prefix="service_proxy"
           c:type="GUPnPServiceProxy"
           parent="ServiceInfo"
           glib:type-name="GUPnPServiceProxy"
           glib:get-type="gupnp_service_proxy_get_type"
           glib:type-struct="ServiceProxyClass">
      <doc xml:space="preserve">This struct contains private data only, and should be accessed using the
functions below.</doc>
      <virtual-method name="subscription_lost">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="reason" transfer-ownership="none">
            <type name="GLib.Error" c:type="const GError*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="add_notify"
              c:identifier="gupnp_service_proxy_add_notify"
              shadowed-by="add_notify_full"
              introspectable="0">
        <doc xml:space="preserve">Sets up @callback to be called whenever a change notification for
@variable is recieved.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="variable" transfer-ownership="none">
            <doc xml:space="preserve">The variable to add notification for</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">The type of the variable</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve">The callback to call when @variable changes</doc>
            <type name="ServiceProxyNotifyCallback"
                  c:type="GUPnPServiceProxyNotifyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">User data for @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_notify_full"
              c:identifier="gupnp_service_proxy_add_notify_full"
              shadows="add_notify"
              version="0.20.12">
        <doc xml:space="preserve">Sets up @callback to be called whenever a change notification for
@variable is recieved.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="variable" transfer-ownership="none">
            <doc xml:space="preserve">The variable to add notification for</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">The type of the variable</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="notified"
                     closure="3"
                     destroy="4">
            <doc xml:space="preserve">The callback to call when @variable changes</doc>
            <type name="ServiceProxyNotifyCallback"
                  c:type="GUPnPServiceProxyNotifyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">User data for @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async">
            <doc xml:space="preserve">Function to call when the notification is removed, or %NULL</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_raw_notify"
              c:identifier="gupnp_service_proxy_add_raw_notify"
              version="0.20.12">
        <doc xml:space="preserve">Get a notification for anything that happens on the peer. @value in
@callback will be of type #G_TYPE_POINTER and contain the pre-parsed
#xmlDoc. Do NOT free or modify this document.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">The callback to call when the peer issues any
variable notification.</doc>
            <type name="ServiceProxyNotifyCallback"
                  c:type="GUPnPServiceProxyNotifyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">User data for @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async">
            <doc xml:space="preserve">A #GDestroyNotify for @user_data</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="begin_action"
              c:identifier="gupnp_service_proxy_begin_action"
              introspectable="0">
        <doc xml:space="preserve">Sends action @action with parameters @Varargs to the service exposed by
@proxy asynchronously, calling @callback on completion. From @callback, call
gupnp_service_proxy_end_action() to check for errors, to retrieve return
values, and to free the #GUPnPServiceProxyAction.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GUPnPServiceProxyAction handle. This will be freed when
gupnp_service_proxy_cancel_action() or
gupnp_service_proxy_end_action_valist().</doc>
          <type name="ServiceProxyAction" c:type="GUPnPServiceProxyAction*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">An action</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve">The callback to call when sending the action has succeeded
or failed</doc>
            <type name="ServiceProxyActionCallback"
                  c:type="GUPnPServiceProxyActionCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">User data for @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">tuples of in parameter name, in parameter type, and in parameter
value, terminated with %NULL</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="begin_action_hash"
              c:identifier="gupnp_service_proxy_begin_action_hash"
              introspectable="0"
              deprecated="1"
              deprecated-version="0.20.9">
        <doc xml:space="preserve">See gupnp_service_proxy_begin_action(); this version takes a #GHashTable
for runtime generated parameter lists.

Do not use this function in newly written code; it cannot guarantee the
order of arguments and thus breaks interaction with many devices.</doc>
        <doc-deprecated xml:space="preserve">Use gupnp_service_proxy_send_action() or
gupnp_service_proxy_send_action_list()</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GUPnPServiceProxyAction handle. This will
be freed when calling gupnp_service_proxy_cancel_action() or
gupnp_service_proxy_end_action_hash().</doc>
          <type name="ServiceProxyAction" c:type="GUPnPServiceProxyAction*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">An action</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve">The callback to call when sending the action has succeeded
or failed</doc>
            <type name="ServiceProxyActionCallback"
                  c:type="GUPnPServiceProxyActionCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">User data for @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="hash" transfer-ownership="none">
            <doc xml:space="preserve">A #GHashTable of in parameter name and #GValue pairs</doc>
            <type name="GLib.HashTable" c:type="GHashTable*">
              <type name="utf8"/>
              <type name="GObject.Value"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <method name="begin_action_list"
              c:identifier="gupnp_service_proxy_begin_action_list"
              version="0.13.3">
        <doc xml:space="preserve">A variant of #gupnp_service_proxy_begin_action that takes lists of
in-parameter names, types and values.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GUPnPServiceProxyAction handle. This will
be freed when calling gupnp_service_proxy_cancel_action() or
gupnp_service_proxy_end_action_list().</doc>
          <type name="ServiceProxyAction" c:type="GUPnPServiceProxyAction*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">An action</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="in_names" transfer-ownership="none">
            <doc xml:space="preserve">#GList of 'in' parameter
names (as strings)</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="utf8"/>
            </type>
          </parameter>
          <parameter name="in_values" transfer-ownership="none">
            <doc xml:space="preserve">#GList of values (as
#GValue) that line up with @in_names</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="GObject.Value"/>
            </type>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="async"
                     closure="4">
            <doc xml:space="preserve">The callback to call when sending the action has succeeded or
failed</doc>
            <type name="ServiceProxyActionCallback"
                  c:type="GUPnPServiceProxyActionCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">User data for @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="begin_action_valist"
              c:identifier="gupnp_service_proxy_begin_action_valist"
              introspectable="0">
        <doc xml:space="preserve">See gupnp_service_proxy_begin_action().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GUPnPServiceProxyAction handle. This will
be freed when calling gupnp_service_proxy_cancel_action() or
gupnp_service_proxy_end_action_valist().</doc>
          <type name="ServiceProxyAction" c:type="GUPnPServiceProxyAction*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">An action</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve">The callback to call when sending the action has succeeded
or failed</doc>
            <type name="ServiceProxyActionCallback"
                  c:type="GUPnPServiceProxyActionCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">User data for @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="var_args" transfer-ownership="none">
            <doc xml:space="preserve">A va_list of tuples of in parameter name, in parameter type, and
in parameter value</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="cancel_action"
              c:identifier="gupnp_service_proxy_cancel_action">
        <doc xml:space="preserve">Cancels @action, freeing the @action handle.</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">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxyAction handle</doc>
            <type name="ServiceProxyAction" c:type="GUPnPServiceProxyAction*"/>
          </parameter>
        </parameters>
      </method>
      <method name="end_action"
              c:identifier="gupnp_service_proxy_end_action"
              introspectable="0">
        <doc xml:space="preserve">Retrieves the result of @action. The out parameters in @Varargs will be
filled in, and if an error occurred, @error will be set. In case of
an UPnP error the error code will be the same in @error.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxyAction handle</doc>
            <type name="ServiceProxyAction" c:type="GUPnPServiceProxyAction*"/>
          </parameter>
          <parameter name="error"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The location where to store any error, or %NULL</doc>
            <type name="GLib.Error" c:type="GError**"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">tuples of out parameter name, out parameter type, and out parameter
value location, terminated with %NULL. The out parameter values should be
freed after use</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="end_action_hash"
              c:identifier="gupnp_service_proxy_end_action_hash"
              shadowed-by="end_action_hash_gi">
        <doc xml:space="preserve">See gupnp_service_proxy_end_action(); this version takes a #GHashTable for
runtime generated parameter lists.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxyAction handle</doc>
            <type name="ServiceProxyAction" c:type="GUPnPServiceProxyAction*"/>
          </parameter>
          <parameter name="error" transfer-ownership="none">
            <doc xml:space="preserve">The location where to store any error, or %NULL</doc>
            <type name="GLib.Error" c:type="GError**"/>
          </parameter>
          <parameter name="hash"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve">A #GHashTable of
out parameter name and initialised #GValue pairs</doc>
            <type name="GLib.HashTable" c:type="GHashTable*">
              <type name="utf8"/>
              <type name="GObject.Value"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <method name="end_action_hash_gi"
              c:identifier="gupnp_service_proxy_end_action_hash_gi"
              shadows="end_action_hash"
              throws="1">
        <doc xml:space="preserve">See gupnp_service_proxy_end_action(); this version takes a #GHashTable for
runtime generated parameter lists.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxyAction handle</doc>
            <type name="ServiceProxyAction" c:type="GUPnPServiceProxyAction*"/>
          </parameter>
          <parameter name="hash"
                     direction="inout"
                     caller-allocates="0"
                     transfer-ownership="none">
            <doc xml:space="preserve">A #GHashTable of
out parameter name and initialised #GValue pairs</doc>
            <type name="GLib.HashTable" c:type="GHashTable*">
              <type name="utf8"/>
              <type name="GObject.Value"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <method name="end_action_list"
              c:identifier="gupnp_service_proxy_end_action_list"
              shadowed-by="end_action_list_gi"
              introspectable="0">
        <doc xml:space="preserve">A variant of #gupnp_service_proxy_end_action that takes lists of
out-parameter names, types and place-holders for values. The returned list
in @out_values must be freed using #g_list_free and each element in it using
#g_value_unset and #g_slice_free.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxyAction handle</doc>
            <type name="ServiceProxyAction" c:type="GUPnPServiceProxyAction*"/>
          </parameter>
          <parameter name="error"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The location where to store any error, or %NULL</doc>
            <type name="GLib.Error" c:type="GError**"/>
          </parameter>
          <parameter name="out_names" transfer-ownership="none">
            <doc xml:space="preserve">#GList of 'out' parameter
names (as strings)</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="utf8"/>
            </type>
          </parameter>
          <parameter name="out_types" transfer-ownership="none">
            <doc xml:space="preserve">#GList of types (as #GType)
that line up with @out_names</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="GType"/>
            </type>
          </parameter>
          <parameter name="out_values"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">#GList of values
(as #GValue) that line up with @out_names and @out_types.</doc>
            <type name="GLib.List" c:type="GList**">
              <type name="GObject.Value"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <method name="end_action_list_gi"
              c:identifier="gupnp_service_proxy_end_action_list_gi"
              shadows="end_action_list"
              throws="1">
        <doc xml:space="preserve">A variant of #gupnp_service_proxy_end_action that takes lists of
out-parameter names, types and place-holders for values. The returned list
in @out_values must be freed using #g_list_free and each element in it using
#g_value_unset and #g_slice_free.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxyAction handle</doc>
            <type name="ServiceProxyAction" c:type="GUPnPServiceProxyAction*"/>
          </parameter>
          <parameter name="out_names" transfer-ownership="none">
            <doc xml:space="preserve">#GList of 'out' parameter
names (as strings)</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="utf8"/>
            </type>
          </parameter>
          <parameter name="out_types" transfer-ownership="none">
            <doc xml:space="preserve">#GList of types (as #GType)
that line up with @out_names</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="GType"/>
            </type>
          </parameter>
          <parameter name="out_values"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">#GList of values
(as #GValue) that line up with @out_names and @out_types.</doc>
            <type name="GLib.List" c:type="GList**">
              <type name="GObject.Value"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <method name="end_action_valist"
              c:identifier="gupnp_service_proxy_end_action_valist"
              introspectable="0">
        <doc xml:space="preserve">See gupnp_service_proxy_end_action().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxyAction handle</doc>
            <type name="ServiceProxyAction" c:type="GUPnPServiceProxyAction*"/>
          </parameter>
          <parameter name="error"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The location where to store any error, or %NULL</doc>
            <type name="GLib.Error" c:type="GError**"/>
          </parameter>
          <parameter name="var_args" transfer-ownership="none">
            <doc xml:space="preserve">A va_list of tuples of out parameter name, out parameter type,
and out parameter value location. The out parameter values should be
freed after use</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_subscribed"
              c:identifier="gupnp_service_proxy_get_subscribed">
        <doc xml:space="preserve">Returns if we are subscribed to this service.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if we are subscribed to this service, otherwise %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="remove_notify"
              c:identifier="gupnp_service_proxy_remove_notify">
        <doc xml:space="preserve">Cancels the variable change notification for @callback and @user_data.

Up to version 0.20.9 this function must not be called directlya or
indirectly from a #GUPnPServiceProxyNotifyCallback associated with this
service proxy, even if it is for another variable. In later versions such
calls are allowed.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="variable" transfer-ownership="none">
            <doc xml:space="preserve">The variable to add notification for</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="call"
                     closure="2">
            <doc xml:space="preserve">The callback to call when @variable changes</doc>
            <type name="ServiceProxyNotifyCallback"
                  c:type="GUPnPServiceProxyNotifyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">User data for @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_raw_notify"
              c:identifier="gupnp_service_proxy_remove_raw_notify">
        <doc xml:space="preserve">Cancels the variable change notification for @callback and @user_data.

This function must not be called directly or indirectly from a
#GUPnPServiceProxyNotifyCallback associated with this service proxy, even
if it is for another variable.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="call"
                     closure="1">
            <doc xml:space="preserve">The callback to call when @variable changes</doc>
            <type name="ServiceProxyNotifyCallback"
                  c:type="GUPnPServiceProxyNotifyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">User data for @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="send_action"
              c:identifier="gupnp_service_proxy_send_action"
              introspectable="0">
        <doc xml:space="preserve">Sends action @action with parameters @Varargs to the service exposed by
@proxy synchronously. If an error occurred, @error will be set. In case of
a UPnPError the error code will be the same in @error.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if sending the action was succesful.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">An action</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="error"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The location where to store any error, or %NULL</doc>
            <type name="GLib.Error" c:type="GError**"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">tuples of in parameter name, in parameter type, and in parameter
value, followed by %NULL, and then tuples of out parameter name,
out parameter type, and out parameter value location, terminated with %NULL</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="send_action_hash"
              c:identifier="gupnp_service_proxy_send_action_hash"
              introspectable="0"
              deprecated="1"
              deprecated-version="0.20.9">
        <doc xml:space="preserve">See gupnp_service_proxy_send_action(); this version takes a pair of
#GHashTable&lt;!-- --&gt;s for runtime determined parameter lists.

Do not use this function in newly written code; it cannot guarantee the
order of arguments and thus breaks interaction with many devices.</doc>
        <doc-deprecated xml:space="preserve">Use gupnp_service_proxy_send_action() or
gupnp_service_proxy_send_action_list()</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if sending the action was succesful.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">An action</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="error"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The location where to store any error, or %NULL</doc>
            <type name="GLib.Error" c:type="GError**"/>
          </parameter>
          <parameter name="in_hash" transfer-ownership="none">
            <doc xml:space="preserve">A #GHashTable of in
parameter name and #GValue pairs</doc>
            <type name="GLib.HashTable" c:type="GHashTable*">
              <type name="utf8"/>
              <type name="GObject.Value"/>
            </type>
          </parameter>
          <parameter name="out_hash"
                     direction="inout"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">A #GHashTable
of out parameter name and initialized #GValue pairs</doc>
            <type name="GLib.HashTable" c:type="GHashTable*">
              <type name="utf8"/>
              <type name="GObject.Value"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <method name="send_action_list"
              c:identifier="gupnp_service_proxy_send_action_list"
              shadowed-by="send_action_list_gi"
              version="0.13.3"
              introspectable="0">
        <doc xml:space="preserve">The synchronous variant of #gupnp_service_proxy_begin_action_list and
#gupnp_service_proxy_end_action_list.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if sending the action was succesful.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">An action</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="error"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The location where to store any error, or %NULL</doc>
            <type name="GLib.Error" c:type="GError**"/>
          </parameter>
          <parameter name="in_names" transfer-ownership="none">
            <doc xml:space="preserve">#GList of 'in' parameter
names (as strings)</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="utf8"/>
            </type>
          </parameter>
          <parameter name="in_values" transfer-ownership="none">
            <doc xml:space="preserve">#GList of values (as
#GValue) that line up with @in_names</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="GObject.Value"/>
            </type>
          </parameter>
          <parameter name="out_names" transfer-ownership="none">
            <doc xml:space="preserve">#GList of 'out' parameter
names (as strings)</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="utf8"/>
            </type>
          </parameter>
          <parameter name="out_types" transfer-ownership="none">
            <doc xml:space="preserve">#GList of types (as #GType)
that line up with @out_names</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="GType"/>
            </type>
          </parameter>
          <parameter name="out_values"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">#GList of values
(as #GValue) that line up with @out_names and @out_types.</doc>
            <type name="GLib.List" c:type="GList**">
              <type name="GObject.Value"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <method name="send_action_list_gi"
              c:identifier="gupnp_service_proxy_send_action_list_gi"
              shadows="send_action_list"
              throws="1">
        <doc xml:space="preserve">The synchronous variant of #gupnp_service_proxy_begin_action_list and
#gupnp_service_proxy_end_action_list.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if sending the action was succesful.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">An action</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="in_names" transfer-ownership="none">
            <doc xml:space="preserve">#GList of 'in' parameter
names (as strings)</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="utf8"/>
            </type>
          </parameter>
          <parameter name="in_values" transfer-ownership="none">
            <doc xml:space="preserve">#GList of values (as
#GValue) that line up with @in_names</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="GObject.Value"/>
            </type>
          </parameter>
          <parameter name="out_names" transfer-ownership="none">
            <doc xml:space="preserve">#GList of 'out' parameter
names (as strings)</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="utf8"/>
            </type>
          </parameter>
          <parameter name="out_types" transfer-ownership="none">
            <doc xml:space="preserve">#GList of types (as #GType)
that line up with @out_names</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="GType"/>
            </type>
          </parameter>
          <parameter name="out_values"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">#GList of values
(as #GValue) that line up with @out_names and @out_types.</doc>
            <type name="GLib.List" c:type="GList**">
              <type name="GObject.Value"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <method name="send_action_valist"
              c:identifier="gupnp_service_proxy_send_action_valist"
              introspectable="0">
        <doc xml:space="preserve">See gupnp_service_proxy_send_action().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if sending the action was succesful.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proxy" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">An action</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="error"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">The location where to store any error, or %NULL</doc>
            <type name="GLib.Error" c:type="GError**"/>
          </parameter>
          <parameter name="var_args" transfer-ownership="none">
            <doc xml:space="preserve">va_list of tuples of in parameter name, in parameter type, and in
parameter value, followed by %NULL, and then tuples of out parameter name,
out parameter type, and out parameter value location</doc>
            <type name="va_list" c:type="va_list"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_subscribed"
              c:identifier="gupnp_service_proxy_set_subscribed">
        <doc xml:space="preserve">(Un)subscribes to this service.

Note that the relevant messages are not immediately sent but queued.
If you want to unsubcribe from this service because the application
is quitting, rely on automatic synchronised unsubscription on object
destruction instead.</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">A #GUPnPServiceProxy</doc>
            <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
          </instance-parameter>
          <parameter name="subscribed" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE to subscribe to this service</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <property name="subscribed" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">Whether we are subscribed to this service.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <field name="parent">
        <type name="ServiceInfo" c:type="GUPnPServiceInfo"/>
      </field>
      <field name="priv">
        <type name="ServiceProxyPrivate" c:type="GUPnPServiceProxyPrivate*"/>
      </field>
      <glib:signal name="subscription-lost" when="last">
        <doc xml:space="preserve">Emitted whenever the subscription to this service has been lost due
to an error condition.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="error" transfer-ownership="none">
            <doc xml:space="preserve">A pointer to a #GError describing why the subscription has
been lost</doc>
            <type name="GLib.Error" c:type="gpointer"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="ServiceProxyAction"
            c:type="GUPnPServiceProxyAction"
            glib:type-name="GUPnPServiceProxyAction"
            glib:get-type="gupnp_service_proxy_action_get_type"
            c:symbol-prefix="service_proxy_action">
      <doc xml:space="preserve">Opaque structure for holding in-progress action data.</doc>
    </record>
    <callback name="ServiceProxyActionCallback"
              c:type="GUPnPServiceProxyActionCallback">
      <doc xml:space="preserve">Callback notifying that @action on @proxy has returned and
gupnp_service_proxy_end_action() etc can be called.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="proxy" transfer-ownership="none">
          <doc xml:space="preserve">The #GUPnPServiceProxy @action is called from</doc>
          <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
        </parameter>
        <parameter name="action" transfer-ownership="none">
          <doc xml:space="preserve">The #GUPnPServiceProxyAction in progress</doc>
          <type name="ServiceProxyAction" c:type="GUPnPServiceProxyAction*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="2">
          <doc xml:space="preserve">User data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="ServiceProxyClass"
            c:type="GUPnPServiceProxyClass"
            glib:is-gtype-struct-for="ServiceProxy">
      <field name="parent_class">
        <type name="ServiceInfoClass" c:type="GUPnPServiceInfoClass"/>
      </field>
      <field name="subscription_lost">
        <callback name="subscription_lost">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="proxy" transfer-ownership="none">
              <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
            </parameter>
            <parameter name="reason" transfer-ownership="none">
              <type name="GLib.Error" c:type="const GError*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gupnp_reserved1" introspectable="0">
        <callback name="_gupnp_reserved1">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved2" introspectable="0">
        <callback name="_gupnp_reserved2">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved3" introspectable="0">
        <callback name="_gupnp_reserved3">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gupnp_reserved4" introspectable="0">
        <callback name="_gupnp_reserved4">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <callback name="ServiceProxyNotifyCallback"
              c:type="GUPnPServiceProxyNotifyCallback">
      <doc xml:space="preserve">Callback notifying that the state variable @variable on @proxy has changed to
@value.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="proxy" transfer-ownership="none">
          <doc xml:space="preserve">The #GUPnPServiceProxy the notification originates from</doc>
          <type name="ServiceProxy" c:type="GUPnPServiceProxy*"/>
        </parameter>
        <parameter name="variable" transfer-ownership="none">
          <doc xml:space="preserve">The name of the variable being notified</doc>
          <type name="utf8" c:type="const char*"/>
        </parameter>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">The #GValue of the variable being notified</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="3">
          <doc xml:space="preserve">User data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="ServiceProxyPrivate"
            c:type="GUPnPServiceProxyPrivate"
            disguised="1">
    </record>
    <record name="ServiceStateVariableInfo"
            c:type="GUPnPServiceStateVariableInfo">
      <doc xml:space="preserve">This structure contains information about service state variable.</doc>
      <field name="name" writable="1">
        <doc xml:space="preserve">The name of the state variable.</doc>
        <type name="utf8" c:type="char*"/>
      </field>
      <field name="send_events" writable="1">
        <doc xml:space="preserve">Whether this state variable can source events.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="is_numeric" writable="1">
        <doc xml:space="preserve">Wether this state variable is a numeric type (integer and
float).</doc>
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="type" writable="1">
        <doc xml:space="preserve">The GType of this state variable.</doc>
        <type name="GType" c:type="GType"/>
      </field>
      <field name="default_value" writable="1">
        <doc xml:space="preserve">The default value of this state variable.</doc>
        <type name="GObject.Value" c:type="GValue"/>
      </field>
      <field name="minimum" writable="1">
        <doc xml:space="preserve">The minimum value of this state variable. Only applies to numeric
data types.</doc>
        <type name="GObject.Value" c:type="GValue"/>
      </field>
      <field name="maximum" writable="1">
        <doc xml:space="preserve">The maximum value of this state variable. Only applies to numeric
data types.</doc>
        <type name="GObject.Value" c:type="GValue"/>
      </field>
      <field name="step" writable="1">
        <doc xml:space="preserve">The step value of this state variable. Only applies to numeric
data types.</doc>
        <type name="GObject.Value" c:type="GValue"/>
      </field>
      <field name="allowed_values" writable="1">
        <doc xml:space="preserve">The allowed values of this state variable. Only applies to
string data types. Unlike the other fields in this structure, this field
contains a list of (char *) strings rather than GValues.</doc>
        <type name="GLib.List" c:type="GList*">
          <type name="utf8"/>
        </type>
      </field>
    </record>
    <glib:boxed glib:name="Time"
                c:symbol-prefix="time"
                glib:type-name="GUPnPTime"
                glib:get-type="gupnp_time_get_type">
    </glib:boxed>
    <glib:boxed glib:name="TimeTZ"
                c:symbol-prefix="time_tz"
                glib:type-name="GUPnPTimeTZ"
                glib:get-type="gupnp_time_tz_get_type">
    </glib:boxed>
    <glib:boxed glib:name="URI"
                c:symbol-prefix="uri"
                glib:type-name="GUPnPURI"
                glib:get-type="gupnp_uri_get_type">
    </glib:boxed>
    <glib:boxed glib:name="UUID"
                c:symbol-prefix="uuid"
                glib:type-name="GUPnPUUID"
                glib:get-type="gupnp_uuid_get_type">
    </glib:boxed>
    <class name="WhiteList"
           c:symbol-prefix="white_list"
           c:type="GUPnPWhiteList"
           parent="GObject.Object"
           glib:type-name="GUPnPWhiteList"
           glib:get-type="gupnp_white_list_get_type"
           glib:type-struct="WhiteListClass">
      <doc xml:space="preserve">This struct contains private data only, and should be accessed using the
functions below.</doc>
      <constructor name="new"
                   c:identifier="gupnp_white_list_new"
                   version="0.20.5">
        <doc xml:space="preserve">Create a new #GUPnPWhiteList.
The white list is disabled by default.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A new #GUPnPWhiteList object.</doc>
          <type name="WhiteList" c:type="GUPnPWhiteList*"/>
        </return-value>
      </constructor>
      <method name="add_entry"
              c:identifier="gupnp_white_list_add_entry"
              version="0.20.5">
        <doc xml:space="preserve">Add @entry in the list of valid criteria used by @white_list to
filter networks.
if @entry already exists, it won't be added a second time.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @entry is added, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="white_list" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPWhiteList</doc>
            <type name="WhiteList" c:type="GUPnPWhiteList*"/>
          </instance-parameter>
          <parameter name="entry" transfer-ownership="none">
            <doc xml:space="preserve">A value used to filter network</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_entryv"
              c:identifier="gupnp_white_list_add_entryv"
              version="0.20.8">
        <doc xml:space="preserve">Add a list of entries to a #GUPnPWhiteList. This is a helper function to
directly add a %NULL-terminated array of string usually aquired from
commandline args.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="white_list" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPWhiteList</doc>
            <type name="WhiteList" c:type="GUPnPWhiteList*"/>
          </instance-parameter>
          <parameter name="entries" transfer-ownership="none">
            <doc xml:space="preserve">A %NULL-terminated list of strings</doc>
            <array c:type="gchar**">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <method name="check_context"
              c:identifier="gupnp_white_list_check_context"
              version="0.20.5">
        <doc xml:space="preserve">It will check if the @context is allowed or not. The @white_list will check
all its entries againt #GUPnPContext interface, host ip and network fields
information. This function doesn't take into account the @white_list status
(enabled or not).</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @context is matching the @white_list criterias,
%FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="white_list" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPWhiteList</doc>
            <type name="WhiteList" c:type="GUPnPWhiteList*"/>
          </instance-parameter>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPContext to test.</doc>
            <type name="Context" c:type="GUPnPContext*"/>
          </parameter>
        </parameters>
      </method>
      <method name="clear"
              c:identifier="gupnp_white_list_clear"
              version="0.20.5">
        <doc xml:space="preserve">Remove all entries from #GList that compose the white list.
The list is now empty. Even if #GUPnPWhiteList is enabled, it will have the
same behavior as if it was disabled.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="white_list" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPWhiteList</doc>
            <type name="WhiteList" c:type="GUPnPWhiteList*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_enabled"
              c:identifier="gupnp_white_list_get_enabled"
              version="0.20.5">
        <doc xml:space="preserve">Return the status of the #GUPnPWhiteList</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @white_list is enabled, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="white_list" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPWhiteList</doc>
            <type name="WhiteList" c:type="GUPnPWhiteList*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_entries"
              c:identifier="gupnp_white_list_get_entries"
              version="0.20.5">
        <doc xml:space="preserve">Get the #GList of entries that compose the white list. Do not free</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GList of entries
used to filter networks, interfaces,... or %NULL.
Do not modify or free the list nor its elements.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="utf8"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="white_list" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPWhiteList</doc>
            <type name="WhiteList" c:type="GUPnPWhiteList*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_empty"
              c:identifier="gupnp_white_list_is_empty"
              version="0.20.5">
        <doc xml:space="preserve">Return the state of the entries list of #GUPnPWhiteList</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @white_list is empty, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="white_list" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPWhiteList</doc>
            <type name="WhiteList" c:type="GUPnPWhiteList*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="remove_entry"
              c:identifier="gupnp_white_list_remove_entry"
              version="0.20.5">
        <doc xml:space="preserve">Remove @entry in the list of valid criteria used by @white_list to
filter networks.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @entry is removed, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="white_list" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPWhiteList</doc>
            <type name="WhiteList" c:type="GUPnPWhiteList*"/>
          </instance-parameter>
          <parameter name="entry" transfer-ownership="none">
            <doc xml:space="preserve">A value to remove from the filter list.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_enabled"
              c:identifier="gupnp_white_list_set_enabled"
              version="0.20.5">
        <doc xml:space="preserve">Enable or disable the #GUPnPWhiteList to perform the network filtering.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="white_list" transfer-ownership="none">
            <doc xml:space="preserve">A #GUPnPWhiteList</doc>
            <type name="WhiteList" c:type="GUPnPWhiteList*"/>
          </instance-parameter>
          <parameter name="enable" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE to enable @white_list, %FALSE otherwise</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <property name="enabled"
                version="0.20.5"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Whether this white list is active or not.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="entries"
                version="0.20.5"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Whether this white list is active or not.</doc>
        <type name="GLib.List" c:type="gpointer">
          <type name="utf8"/>
        </type>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="WhiteListPrivate" c:type="GUPnPWhiteListPrivate*"/>
      </field>
    </class>
    <record name="WhiteListClass"
            c:type="GUPnPWhiteListClass"
            glib:is-gtype-struct-for="WhiteList">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <record name="WhiteListPrivate"
            c:type="GUPnPWhiteListPrivate"
            disguised="1">
    </record>
    <class name="XMLDoc"
           c:symbol-prefix="xml_doc"
           c:type="GUPnPXMLDoc"
           parent="GObject.Object"
           glib:type-name="GUPnPXMLDoc"
           glib:get-type="gupnp_xml_doc_get_type"
           glib:type-struct="XMLDocClass">
      <doc xml:space="preserve">Reference-counting wrapper for libxml's #xmlDoc</doc>
      <constructor name="new"
                   c:identifier="gupnp_xml_doc_new"
                   version="0.13.0">
        <doc xml:space="preserve">Create a new #GUPnPXMLDoc for @xml_doc.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A new #GUPnPXMLDoc, or %NULL on an error</doc>
          <type name="XMLDoc" c:type="GUPnPXMLDoc*"/>
        </return-value>
        <parameters>
          <parameter name="xml_doc" transfer-ownership="none">
            <doc xml:space="preserve">Pointer to #xmlDoc to wrap under this object</doc>
            <type name="libxml2.Doc" c:type="xmlDoc*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_from_path"
                   c:identifier="gupnp_xml_doc_new_from_path"
                   version="0.13.0"
                   throws="1">
        <doc xml:space="preserve">Create a new #GUPnPXMLDoc for the XML document at @path.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A new #GUPnPXMLDoc, or %NULL on an error</doc>
          <type name="XMLDoc" c:type="GUPnPXMLDoc*"/>
        </return-value>
        <parameters>
          <parameter name="path" transfer-ownership="none">
            <doc xml:space="preserve">Path to xml document</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </constructor>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="doc">
        <doc xml:space="preserve">Pointer to the document.</doc>
        <type name="libxml2.Doc" c:type="xmlDoc*"/>
      </field>
    </class>
    <record name="XMLDocClass"
            c:type="GUPnPXMLDocClass"
            glib:is-gtype-struct-for="XMLDoc">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <enumeration name="XMLError"
                 c:type="GUPnPXMLError"
                 glib:error-domain="gupnp-xml-error">
      <doc xml:space="preserve">#GError codes used for errors in the #GUPNP_XML_ERROR domain, during
processing of XML data.</doc>
      <member name="parse" value="0" c:identifier="GUPNP_XML_ERROR_PARSE">
        <doc xml:space="preserve">Generic XML parsing error.</doc>
      </member>
      <member name="no_node" value="1" c:identifier="GUPNP_XML_ERROR_NO_NODE">
        <doc xml:space="preserve">A required XML node was not found.</doc>
      </member>
      <member name="empty_node"
              value="2"
              c:identifier="GUPNP_XML_ERROR_EMPTY_NODE">
        <doc xml:space="preserve">An XML node is unexpectedly empty.</doc>
      </member>
      <member name="invalid_attribute"
              value="3"
              c:identifier="GUPNP_XML_ERROR_INVALID_ATTRIBUTE">
        <doc xml:space="preserve">An XML node has an unknown attribute.</doc>
      </member>
      <member name="other" value="4" c:identifier="GUPNP_XML_ERROR_OTHER">
        <doc xml:space="preserve">Unknown/unhandled XML related errors.</doc>
      </member>
    </enumeration>
    <function name="control_error_quark"
              c:identifier="gupnp_control_error_quark">
      <return-value transfer-ownership="none">
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
    <function name="eventing_error_quark"
              c:identifier="gupnp_eventing_error_quark">
      <return-value transfer-ownership="none">
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
    <function name="get_uuid" c:identifier="gupnp_get_uuid">
      <doc xml:space="preserve">Generate and return a new UUID.</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">A newly generated UUID in string representation.</doc>
        <type name="utf8" c:type="char*"/>
      </return-value>
    </function>
    <function name="server_error_quark"
              c:identifier="gupnp_server_error_quark">
      <return-value transfer-ownership="none">
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
    <function name="xml_error_quark" c:identifier="gupnp_xml_error_quark">
      <return-value transfer-ownership="none">
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
  </namespace>
</repository>