This file is indexed.

/usr/share/gtk-doc/html/Libosinfo/OsinfoOs.html is in libosinfo-1.0-dev 1.1.0-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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>OsinfoOs: Libosinfo Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Libosinfo Reference Manual">
<link rel="up" href="ch01.html" title="Libosinfo">
<link rel="prev" href="OsinfoLoader.html" title="OsinfoLoader">
<link rel="next" href="OsinfoOsList.html" title="OsinfoOsList">
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#OsinfoOs.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#OsinfoOs.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#OsinfoOs.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="OsinfoLoader.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="OsinfoOsList.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="OsinfoOs"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="OsinfoOs.top_of_page"></a>OsinfoOs</span></h2>
<p>OsinfoOs — An operating system</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="OsinfoOs.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="returnvalue">OsinfoOs</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-new" title="osinfo_os_new ()">osinfo_os_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoDeviceList.html" title="OsinfoDeviceList"><span class="returnvalue">OsinfoDeviceList</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-get-devices" title="osinfo_os_get_devices ()">osinfo_os_get_devices</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoDeviceList.html" title="OsinfoDeviceList"><span class="returnvalue">OsinfoDeviceList</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-get-all-devices" title="osinfo_os_get_all_devices ()">osinfo_os_get_all_devices</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoDeviceList.html" title="OsinfoDeviceList"><span class="returnvalue">OsinfoDeviceList</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-get-devices-by-property" title="osinfo_os_get_devices_by_property ()">osinfo_os_get_devices_by_property</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoDeviceLinkList.html" title="OsinfoDeviceLinkList"><span class="returnvalue">OsinfoDeviceLinkList</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-get-device-links" title="osinfo_os_get_device_links ()">osinfo_os_get_device_links</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoDeviceLink.html" title="OsinfoDeviceLink"><span class="returnvalue">OsinfoDeviceLink</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-add-device" title="osinfo_os_add_device ()">osinfo_os_add_device</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-get-family" title="osinfo_os_get_family ()">osinfo_os_get_family</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-get-distro" title="osinfo_os_get_distro ()">osinfo_os_get_distro</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-get-release-status" title="osinfo_os_get_release_status ()">osinfo_os_get_release_status</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoMediaList.html" title="OsinfoMediaList"><span class="returnvalue">OsinfoMediaList</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-get-media-list" title="osinfo_os_get_media_list ()">osinfo_os_get_media_list</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-add-media" title="osinfo_os_add_media ()">osinfo_os_add_media</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoTreeList.html" title="OsinfoTreeList"><span class="returnvalue">OsinfoTreeList</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-get-tree-list" title="osinfo_os_get_tree_list ()">osinfo_os_get_tree_list</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-add-tree" title="osinfo_os_add_tree ()">osinfo_os_add_tree</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoOsVariantList.html" title="OsinfoOsVariantList"><span class="returnvalue">OsinfoOsVariantList</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-get-variant-list" title="osinfo_os_get_variant_list ()">osinfo_os_get_variant_list</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-add-variant" title="osinfo_os_add_variant ()">osinfo_os_add_variant</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoResourcesList.html" title="OsinfoResourcesList"><span class="returnvalue">OsinfoResourcesList</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-get-minimum-resources" title="osinfo_os_get_minimum_resources ()">osinfo_os_get_minimum_resources</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoResourcesList.html" title="OsinfoResourcesList"><span class="returnvalue">OsinfoResourcesList</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-get-recommended-resources" title="osinfo_os_get_recommended_resources ()">osinfo_os_get_recommended_resources</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-add-minimum-resources" title="osinfo_os_add_minimum_resources ()">osinfo_os_add_minimum_resources</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-add-recommended-resources" title="osinfo_os_add_recommended_resources ()">osinfo_os_add_recommended_resources</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="returnvalue">OsinfoInstallScript</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-find-install-script" title="osinfo_os_find_install_script ()">osinfo_os_find_install_script</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoInstallScriptList.html" title="OsinfoInstallScriptList"><span class="returnvalue">OsinfoInstallScriptList</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-get-install-script-list" title="osinfo_os_get_install_script_list ()">osinfo_os_get_install_script_list</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-add-install-script" title="osinfo_os_add_install_script ()">osinfo_os_add_install_script</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoDeviceDriverList.html" title="OsinfoDeviceDriverList"><span class="returnvalue">OsinfoDeviceDriverList</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-get-device-drivers" title="osinfo_os_get_device_drivers ()">osinfo_os_get_device_drivers</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="OsinfoOs.html#osinfo-os-add-device-driver" title="osinfo_os_add_device_driver ()">osinfo_os_add_device_driver</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="OsinfoOs.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoOs--distro" title="The “distro” property">distro</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="OsinfoInstallScript.html#OsinfoOs--family" title="The “family” property">family</a></td>
<td class="property_flags">Read</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="OsinfoOs.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoOs.html#OSINFO-OS-PROP-FAMILY:CAPS" title="OSINFO_OS_PROP_FAMILY">OSINFO_OS_PROP_FAMILY</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoOs.html#OSINFO-OS-PROP-DISTRO:CAPS" title="OSINFO_OS_PROP_DISTRO">OSINFO_OS_PROP_DISTRO</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoOs.html#OSINFO-OS-PROP-RELEASE-STATUS:CAPS" title="OSINFO_OS_PROP_RELEASE_STATUS">OSINFO_OS_PROP_RELEASE_STATUS</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="OsinfoOs.html#OsinfoReleaseStatus" title="enum OsinfoReleaseStatus">OsinfoReleaseStatus</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="OsinfoOs.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    GEnum
    <span class="lineart">╰──</span> OsinfoReleaseStatus
    GObject
    <span class="lineart">╰──</span> <a class="link" href="OsinfoEntity.html" title="OsinfoEntity">OsinfoEntity</a>
        <span class="lineart">╰──</span> <a class="link" href="OsinfoProduct.html" title="OsinfoProduct">OsinfoProduct</a>
            <span class="lineart">╰──</span> OsinfoOs
</pre>
</div>
<div class="refsect1">
<a name="OsinfoOs.description"></a><h2>Description</h2>
<p><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> is an entity representing an operating system.
Operating systems have a list of supported devices.
There are relationships amongst operating systems to
declare which are newest releases, which are clones
and which are derived from a common ancestry.</p>
</div>
<div class="refsect1">
<a name="OsinfoOs.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="osinfo-os-new"></a><h3>osinfo_os_new ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="returnvalue">OsinfoOs</span></a> *
osinfo_os_new (<em class="parameter"><code>const <span class="type">gchar</span> *id</code></em>);</pre>
<p>Create a new operating system entity</p>
<div class="refsect3">
<a name="osinfo-os-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>id</p></td>
<td class="parameter_description"><p>a unique identifier</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-os-new.returns"></a><h4>Returns</h4>
<p> a new operating system entity. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-get-devices"></a><h3>osinfo_os_get_devices ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoDeviceList.html" title="OsinfoDeviceList"><span class="returnvalue">OsinfoDeviceList</span></a> *
osinfo_os_get_devices (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>,
                       <em class="parameter"><code><a class="link" href="OsinfoFilter.html" title="OsinfoFilter"><span class="type">OsinfoFilter</span></a> *filter</code></em>);</pre>
<p>Get all devices matching a given filter</p>
<div class="refsect3">
<a name="osinfo-os-get-devices.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an operating system</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>filter</p></td>
<td class="parameter_description"><p> an optional device property filter. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-os-get-devices.returns"></a><h4>Returns</h4>
<p> A list of devices. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-get-all-devices"></a><h3>osinfo_os_get_all_devices ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoDeviceList.html" title="OsinfoDeviceList"><span class="returnvalue">OsinfoDeviceList</span></a> *
osinfo_os_get_all_devices (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>,
                           <em class="parameter"><code><a class="link" href="OsinfoFilter.html" title="OsinfoFilter"><span class="type">OsinfoFilter</span></a> *filter</code></em>);</pre>
<p>Get all devices matching a given filter but unlike osinfo_os_get_devices
this function also retrieves devices from all derived and cloned operating
systems.</p>
<div class="refsect3">
<a name="osinfo-os-get-all-devices.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an operating system</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>filter</p></td>
<td class="parameter_description"><p> an optional device property filter. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-os-get-all-devices.returns"></a><h4>Returns</h4>
<p> A list of devices. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-get-devices-by-property"></a><h3>osinfo_os_get_devices_by_property ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoDeviceList.html" title="OsinfoDeviceList"><span class="returnvalue">OsinfoDeviceList</span></a> *
osinfo_os_get_devices_by_property (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>,
                                   <em class="parameter"><code>const <span class="type">char</span> *property</code></em>,
                                   <em class="parameter"><code>const <span class="type">char</span> *value</code></em>,
                                   <em class="parameter"><code><span class="type">gboolean</span> inherited</code></em>);</pre>
<p>A utility function that gets devices found from the list of devices
<em class="parameter"><code>os</code></em>
 supports, for which the value of <em class="parameter"><code>property</code></em>
 is <em class="parameter"><code>value</code></em>
.</p>
<div class="refsect3">
<a name="osinfo-os-get-devices-by-property.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an operating system</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>property</p></td>
<td class="parameter_description"><p>the property of interest</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the required value of property <em class="parameter"><code>property</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>inherited</p></td>
<td class="parameter_description"><p>Should devices from inherited and cloned OSs be included in the
search.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-os-get-devices-by-property.returns"></a><h4>Returns</h4>
<p> The found devices. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-get-device-links"></a><h3>osinfo_os_get_device_links ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoDeviceLinkList.html" title="OsinfoDeviceLinkList"><span class="returnvalue">OsinfoDeviceLinkList</span></a> *
osinfo_os_get_device_links (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>,
                            <em class="parameter"><code><a class="link" href="OsinfoFilter.html" title="OsinfoFilter"><span class="type">OsinfoFilter</span></a> *filter</code></em>);</pre>
<p>Get all devices matching a given filter. The filter
matches against the links, not the devices.</p>
<div class="refsect3">
<a name="osinfo-os-get-device-links.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an operating system</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>filter</p></td>
<td class="parameter_description"><p> an optional device property filter. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-os-get-device-links.returns"></a><h4>Returns</h4>
<p> A list of device links. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-add-device"></a><h3>osinfo_os_add_device ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoDeviceLink.html" title="OsinfoDeviceLink"><span class="returnvalue">OsinfoDeviceLink</span></a> *
osinfo_os_add_device (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>,
                      <em class="parameter"><code><a class="link" href="OsinfoDevice.html" title="OsinfoDevice"><span class="type">OsinfoDevice</span></a> *dev</code></em>);</pre>
<p>Associated a device with an operating system.  The
returned <a class="link" href="OsinfoDeviceLink.html" title="OsinfoDeviceLink"><span class="type">OsinfoDeviceLink</span></a> can be used to record
extra metadata against the link</p>
<div class="refsect3">
<a name="osinfo-os-add-device.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an operating system</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dev</p></td>
<td class="parameter_description"><p> the device to associate with. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-os-add-device.returns"></a><h4>Returns</h4>
<p> the device association. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-get-family"></a><h3>osinfo_os_get_family ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
osinfo_os_get_family (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>);</pre>
<p>Retrieves the generic family the OS <em class="parameter"><code>os</code></em>
 belongs to, based upon its kernel,
for example linux, winnt, solaris, freebsd etc.</p>
<div class="refsect3">
<a name="osinfo-os-get-family.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an <a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-os-get-family.returns"></a><h4>Returns</h4>
<p> the family of this os. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-get-distro"></a><h3>osinfo_os_get_distro ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
osinfo_os_get_distro (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>);</pre>
<p>Retrieves the generic family the OS <em class="parameter"><code>os</code></em>
 belongs to, for example fedora,
ubuntu, windows, solaris, freebsd etc.</p>
<div class="refsect3">
<a name="osinfo-os-get-distro.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an <a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-os-get-distro.returns"></a><h4>Returns</h4>
<p> the distro of this os. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-get-release-status"></a><h3>osinfo_os_get_release_status ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
osinfo_os_get_release_status (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>);</pre>
<p>Use this to determine the release status of the <em class="parameter"><code>os</code></em>
.</p>
<div class="refsect3">
<a name="osinfo-os-get-release-status.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an <a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-os-get-release-status.returns"></a><h4>Returns</h4>
<p> release status of <em class="parameter"><code>os</code></em>
. </p>
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> OsinfoReleaseStatus]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-get-media-list"></a><h3>osinfo_os_get_media_list ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoMediaList.html" title="OsinfoMediaList"><span class="returnvalue">OsinfoMediaList</span></a> *
osinfo_os_get_media_list (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>);</pre>
<p>Get all installation medias associated with operating system <em class="parameter"><code>os</code></em>
.</p>
<div class="refsect3">
<a name="osinfo-os-get-media-list.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an operating system</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-os-get-media-list.returns"></a><h4>Returns</h4>
<p> A list of medias. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-add-media"></a><h3>osinfo_os_add_media ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osinfo_os_add_media (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>,
                     <em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoMedia"><span class="type">OsinfoMedia</span></a> *media</code></em>);</pre>
<p>Adds installation media <em class="parameter"><code>media</code></em>
 to operating system <em class="parameter"><code>os</code></em>
.</p>
<div class="refsect3">
<a name="osinfo-os-add-media.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an operating system</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>media</p></td>
<td class="parameter_description"><p> the media to add. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-get-tree-list"></a><h3>osinfo_os_get_tree_list ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoTreeList.html" title="OsinfoTreeList"><span class="returnvalue">OsinfoTreeList</span></a> *
osinfo_os_get_tree_list (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>);</pre>
<p>Get all installation trees associated with operating system <em class="parameter"><code>os</code></em>
.</p>
<div class="refsect3">
<a name="osinfo-os-get-tree-list.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an operating system</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-os-get-tree-list.returns"></a><h4>Returns</h4>
<p> A list of trees. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-add-tree"></a><h3>osinfo_os_add_tree ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osinfo_os_add_tree (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>,
                    <em class="parameter"><code><a class="link" href="OsinfoTree.html" title="OsinfoTree"><span class="type">OsinfoTree</span></a> *tree</code></em>);</pre>
<p>Adds installation tree <em class="parameter"><code>tree</code></em>
 to operating system <em class="parameter"><code>os</code></em>
.</p>
<div class="refsect3">
<a name="osinfo-os-add-tree.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an operating system</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>tree</p></td>
<td class="parameter_description"><p> the tree to add. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-get-variant-list"></a><h3>osinfo_os_get_variant_list ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoOsVariantList.html" title="OsinfoOsVariantList"><span class="returnvalue">OsinfoOsVariantList</span></a> *
osinfo_os_get_variant_list (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>);</pre>
<p>Gets all known variants of operating system <em class="parameter"><code>os</code></em>
.</p>
<div class="refsect3">
<a name="osinfo-os-get-variant-list.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an operating system</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-os-get-variant-list.returns"></a><h4>Returns</h4>
<p> A list of variants. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-add-variant"></a><h3>osinfo_os_add_variant ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osinfo_os_add_variant (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>,
                       <em class="parameter"><code><a class="link" href="OsinfoOsVariant.html" title="OsinfoOsVariant"><span class="type">OsinfoOsVariant</span></a> *variant</code></em>);</pre>
<p>Adds a variant <em class="parameter"><code>variant</code></em>
 to operating system <em class="parameter"><code>os</code></em>
.</p>
<div class="refsect3">
<a name="osinfo-os-add-variant.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an operating system</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>variant</p></td>
<td class="parameter_description"><p> the variant to add. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-get-minimum-resources"></a><h3>osinfo_os_get_minimum_resources ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoResourcesList.html" title="OsinfoResourcesList"><span class="returnvalue">OsinfoResourcesList</span></a> *
osinfo_os_get_minimum_resources (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>);</pre>
<p>Get the list of minimum required resources for the operating system <em class="parameter"><code>os</code></em>
.</p>
<div class="refsect3">
<a name="osinfo-os-get-minimum-resources.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an operating system</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-os-get-minimum-resources.returns"></a><h4>Returns</h4>
<p> A list of resources. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-get-recommended-resources"></a><h3>osinfo_os_get_recommended_resources ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoResourcesList.html" title="OsinfoResourcesList"><span class="returnvalue">OsinfoResourcesList</span></a> *
osinfo_os_get_recommended_resources (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>);</pre>
<p>Get the list of recommended resources for the operating system <em class="parameter"><code>os</code></em>
.</p>
<div class="refsect3">
<a name="osinfo-os-get-recommended-resources.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an operating system</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-os-get-recommended-resources.returns"></a><h4>Returns</h4>
<p> A list of resources. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-add-minimum-resources"></a><h3>osinfo_os_add_minimum_resources ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osinfo_os_add_minimum_resources (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>,
                                 <em class="parameter"><code><a class="link" href="OsinfoResources.html" title="OsinfoResources"><span class="type">OsinfoResources</span></a> *resources</code></em>);</pre>
<p>Adds <em class="parameter"><code>resources</code></em>
 to list of minimum resources of operating system <em class="parameter"><code>os</code></em>
.</p>
<div class="refsect3">
<a name="osinfo-os-add-minimum-resources.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an operating system</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>resources</p></td>
<td class="parameter_description"><p> the resources to add. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-add-recommended-resources"></a><h3>osinfo_os_add_recommended_resources ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osinfo_os_add_recommended_resources (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>,
                                     <em class="parameter"><code><a class="link" href="OsinfoResources.html" title="OsinfoResources"><span class="type">OsinfoResources</span></a> *resources</code></em>);</pre>
<p>Adds <em class="parameter"><code>resources</code></em>
 to list of recommended resources of operating system <em class="parameter"><code>os</code></em>
.</p>
<div class="refsect3">
<a name="osinfo-os-add-recommended-resources.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an operating system</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>resources</p></td>
<td class="parameter_description"><p> the resources to add. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-find-install-script"></a><h3>osinfo_os_find_install_script ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="returnvalue">OsinfoInstallScript</span></a> *
osinfo_os_find_install_script (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>,
                               <em class="parameter"><code>const <span class="type">gchar</span> *profile</code></em>);</pre>
<div class="refsect3">
<a name="osinfo-os-find-install-script.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an operating system</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>profile</p></td>
<td class="parameter_description"><p>the install script profile</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-os-find-install-script.returns"></a><h4>Returns</h4>
<p> A new <a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> for the <em class="parameter"><code>os</code></em>
<em class="parameter"><code>profile</code></em>
. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-get-install-script-list"></a><h3>osinfo_os_get_install_script_list ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoInstallScriptList.html" title="OsinfoInstallScriptList"><span class="returnvalue">OsinfoInstallScriptList</span></a> *
osinfo_os_get_install_script_list (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>);</pre>
<div class="refsect3">
<a name="osinfo-os-get-install-script-list.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an operating system</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-os-get-install-script-list.returns"></a><h4>Returns</h4>
<p> a list of the install scripts for the specified os. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-add-install-script"></a><h3>osinfo_os_add_install_script ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osinfo_os_add_install_script (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>,
                              <em class="parameter"><code><a class="link" href="OsinfoInstallScript.html" title="OsinfoInstallScript"><span class="type">OsinfoInstallScript</span></a> *script</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-get-device-drivers"></a><h3>osinfo_os_get_device_drivers ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoDeviceDriverList.html" title="OsinfoDeviceDriverList"><span class="returnvalue">OsinfoDeviceDriverList</span></a> *
osinfo_os_get_device_drivers (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>);</pre>
<p>Gets list of all available device drivers for OS <em class="parameter"><code>os</code></em>
.</p>
<div class="refsect3">
<a name="osinfo-os-get-device-drivers.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>os</p></td>
<td class="parameter_description"><p>an operating system</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-os-get-device-drivers.returns"></a><h4>Returns</h4>
<p> A list of device drivers. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-os-add-device-driver"></a><h3>osinfo_os_add_device_driver ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
osinfo_os_add_device_driver (<em class="parameter"><code><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a> *os</code></em>,
                             <em class="parameter"><code><a class="link" href="OsinfoDeviceDriver.html" title="OsinfoDeviceDriver"><span class="type">OsinfoDeviceDriver</span></a> *driver</code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="OsinfoOs.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="OSINFO-OS-PROP-FAMILY:CAPS"></a><h3>OSINFO_OS_PROP_FAMILY</h3>
<pre class="programlisting">#define OSINFO_OS_PROP_FAMILY                 "family"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-OS-PROP-DISTRO:CAPS"></a><h3>OSINFO_OS_PROP_DISTRO</h3>
<pre class="programlisting">#define OSINFO_OS_PROP_DISTRO                 "distro"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-OS-PROP-RELEASE-STATUS:CAPS"></a><h3>OSINFO_OS_PROP_RELEASE_STATUS</h3>
<pre class="programlisting">#define OSINFO_OS_PROP_RELEASE_STATUS         "release-status"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoReleaseStatus"></a><h3>enum OsinfoReleaseStatus</h3>
<div class="refsect3">
<a name="OsinfoReleaseStatus.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="OSINFO-RELEASE-STATUS-RELEASED:CAPS"></a>OSINFO_RELEASE_STATUS_RELEASED</p></td>
<td class="enum_member_description">
<p>A released OS.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSINFO-RELEASE-STATUS-SNAPSHOT:CAPS"></a>OSINFO_RELEASE_STATUS_SNAPSHOT</p></td>
<td class="enum_member_description">
<p>A continuous integration snapshot and not
an actual released product yet. For example, gnome-continuous images for
development snapshots of GNOME and nightly build ISOs of Fedora etc.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="OSINFO-RELEASE-STATUS-PRERELEASE:CAPS"></a>OSINFO_RELEASE_STATUS_PRERELEASE</p></td>
<td class="enum_member_description">
<p>A pre-release. For example, alpha and
beta pre-releases of Fedora etc.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="OsinfoOs.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="OsinfoOs--distro"></a><h3>The <code class="literal">“distro”</code> property</h3>
<pre class="programlisting">  “distro”                   <span class="type">gchar</span> *</pre>
<p>The generic distro this OS belongs to, for example fedora, windows,
solaris, freebsd etc.</p>
<p>Flags: Read</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="OsinfoOs--family"></a><h3>The <code class="literal">“family”</code> property</h3>
<pre class="programlisting">  “family”                   <span class="type">gchar</span> *</pre>
<p>The generic family this OS belongs to, based upon its kernel,
for example linux, winnt, solaris, freebsd etc.</p>
<p>Flags: Read</p>
<p>Default value: NULL</p>
</div>
</div>
<div class="refsect1">
<a name="OsinfoOs.see-also"></a><h2>See Also</h2>
<p><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a>, <a class="link" href="OsinfoDeployment.html" title="OsinfoDeployment"><span class="type">OsinfoDeployment</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25</div>
</body>
</html>