This file is indexed.

/usr/include/openscap/oval_system_characteristics.h is in libopenscap-dev 0.8.0-4build1.

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
/**
 * @addtogroup OVAL
 * @{
 * @addtogroup OVALSYS
 * Interface for System Characteristics model.
 * @{
 *
 * Class diagram
 * \image html system_characteristic.png
 *
 * @file
 *
 * @author "David Niemoller" <David.Niemoller@g2-inc.com>
 */

/*
 * Copyright 2009-2010 Red Hat Inc., Durham, North Carolina.
 * All Rights Reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * Authors:
 *      "David Niemoller" <David.Niemoller@g2-inc.com>
 */


#ifndef OVAL_SYSTEM_CHARACTERISTICS
#define OVAL_SYSTEM_CHARACTERISTICS

#include "oval_types.h"
#include "oval_definitions.h"

/// System characteristics result flag
typedef enum {
	SYSCHAR_FLAG_UNKNOWN = 0,
	SYSCHAR_FLAG_ERROR = 1,
	SYSCHAR_FLAG_COMPLETE = 2,
	SYSCHAR_FLAG_INCOMPLETE = 3,
	SYSCHAR_FLAG_DOES_NOT_EXIST = 4,
	SYSCHAR_FLAG_NOT_COLLECTED = 5,
	SYSCHAR_FLAG_NOT_APPLICABLE = 6
} oval_syschar_collection_flag_t;

/// System characteristics status
typedef enum {
	SYSCHAR_STATUS_UNKNOWN = 0,
	SYSCHAR_STATUS_ERROR = 1,
	SYSCHAR_STATUS_EXISTS = 2,
	SYSCHAR_STATUS_DOES_NOT_EXIST = 3,
	SYSCHAR_STATUS_NOT_COLLECTED = 4
} oval_syschar_status_t;

/// Message level.
typedef enum {
        OVAL_MESSAGE_LEVEL_NONE = 0,
        OVAL_MESSAGE_LEVEL_DEBUG = 1,
        OVAL_MESSAGE_LEVEL_INFO = 2,
        OVAL_MESSAGE_LEVEL_WARNING = 3,
        OVAL_MESSAGE_LEVEL_ERROR = 4,
        OVAL_MESSAGE_LEVEL_FATAL = 5
} oval_message_level_t;

const char *oval_syschar_collection_flag_get_text(oval_syschar_collection_flag_t flag);
const char *oval_syschar_status_get_text(oval_syschar_status_t status);
const char *oval_message_level_text(oval_message_level_t);






/**
 * @struct oval_syschar_model
 * OVAL System Characteristics model.
 * Object model holds OVAL system characteristics
 * structure instances.
 */
struct oval_syschar_model;

/**
 * @struct oval_sysinfo
 * General instrumented host description.
 * Instances of Oval_sysinfo specify general information about instrumented host systems,
 * including information that can be used to identify the system.
 */
struct oval_sysinfo;
/**
 * @struct oval_sysinfo_iterator
 */
struct oval_sysinfo_iterator;

/**
 * @struct oval_syschar
 * Characteristics bound to an @ref Oval_object.
 * Instances of Oval_syschar provide relate an Oval_object and @ref Oval_sysitem instances.
 *
 * If an OVAL Object does not exist on the system, then an object is still provided but with the flag attribute set to 'does not exist'
 * and with no reference child elements. This shows that the object was looked for but not found on the system.
 * If no object element is written in this case, users of the system characteristics file will not know whether
 * the object was not found or no attempt was made to collect it.
 *
 * The flag attribute holds information regarding the outcome of the data collection.
 * For example, if there was an error looking for items that match the object specification,
 * then the flag would be 'error'. Please refer to the description of FlagEnumeration for details about the different flag values.
 */
struct oval_syschar;
/**
 * @struct oval_syschar_iterator
 * @see oval_syschar_model_get_syschars
 */
struct oval_syschar_iterator;

/**
 * @struct oval_sysint
 * Network interface description.
 * Instances of Oval_sysint are used to describe existing network interfaces on the system.
 * This information can help identify a specific system on a given network.  *
 */
struct oval_sysint;
/**
 * @struct oval_sysint_iterator
 * @see oval_sysinfo_get_interfaces
 */
struct oval_sysint_iterator;

/**
 * @struct oval_sysitem
 * Each instance of Oval_sysitem represents one item.
 * An item might be a file, a rpm, a process, etc.
 * This element is extended by the different component schemas through substitution groups.
 * Each item represents a unique instance of an object as specified by an OVAL Object.
 * For example, a single file or a single user. Each item my be referenced by more than one object in
 * the collected object section. Please refer to the description of ItemType for more details about the information stored in items.
 */
struct oval_sysitem;
/**
 * @struct oval_sysitem_iterator
 * @see: oval_syschar_get_sysitem
 */
struct oval_sysitem_iterator;

/**
 * @struct oval_sysent
 */
struct oval_sysent;
/**
 * @struct oval_sysent_iterator
 * @see: oval_sysitem_get_sysents
 */
struct oval_sysent_iterator;

/**
 * @struct oval_message
 * OVAL message
 */
struct oval_message;
/**
 * @struct oval_message_iterator
 */
struct oval_message_iterator;

/**
 * @struct oval_variable_binding
 * Binding of an value to an OVAL variable.
 */
struct oval_variable_binding;
/**
 * @struct oval_variable_binding_iterator
 */
struct oval_variable_binding_iterator;





/**
 * Create new oval_syschar_model.
 * The new model is bound to a specified oval_definition_model and variable bindings.
 * @param definition_model the specified oval_definition_model.
 * @memberof oval_syschar_model
 */
struct oval_syschar_model *oval_syschar_model_new(struct oval_definition_model *definition_model);

/**
 * Import the content from the file into an oval_syschar_model.
 * If imported content specifies a model entity that is already registered within the model its content is overwritten.
 * @param model the merge target model
 * @param file filename
 * @return zero on success or non zero value if an error occurred
 * @memberof oval_syschar_model
 */
int oval_syschar_model_import(struct oval_syschar_model *model, const char *file);
/**
 * Copy an oval_syschar_model.
 * @return A copy of the specified @ref oval_syschar_model.
 * @memberof oval_syschar_model
 */
struct oval_syschar_model *oval_syschar_model_clone(struct oval_syschar_model *);
/**
 * Export system characteristics into file.
 * @memberof oval_syschar_model
 */
int oval_syschar_model_export(struct oval_syschar_model *, const char *file);
/**
 * Free memory allocated to a specified syschar model.
 * @param model the specified syschar model
 * @memberof oval_syschar_model
 */
void oval_syschar_model_free(struct oval_syschar_model *model);

/**
 * @name Setters
 * @{
 */
void oval_syschar_model_set_generator(struct oval_syschar_model *model, struct oval_generator *generator);
/**
 * Bind a variable model to the definitions bound to the syschar model.
 * @return zero on success or non zero value if an error occurred
 * @memberof oval_syschar_model
 */
int oval_syschar_model_bind_variable_model(struct oval_syschar_model *, struct oval_variable_model *);
/**
 * @memberof oval_syschar_model
 */
void oval_syschar_model_set_sysinfo(struct oval_syschar_model *model, struct oval_sysinfo *sysinfo);
/** @} */

/**
 * @name Getters
 * @{
 */
struct oval_generator *oval_syschar_model_get_generator(struct oval_syschar_model *model);
/**
 * Return related oval_definition_model from an oval_syschar_model.
 * @param model the specified oval_syschar_model.
 * @memberof oval_syschar_model
 */
struct oval_definition_model *oval_syschar_model_get_definition_model(struct oval_syschar_model *model);
/**
 * Return an iterator over the oval_sychar objects persisted by this model.
 * @param model the specified oval_syschar_model.
 * @memberof oval_syschar_model
 */
struct oval_syschar_iterator *oval_syschar_model_get_syschars(struct oval_syschar_model *model);
/**
 * Return default sysinfo bound to syschar model.
 * @param model the specified oval_syschar_model.
 * @memberof oval_syschar_model
 */
struct oval_sysinfo *oval_syschar_model_get_sysinfo(struct oval_syschar_model *model);
/**
 * Return the oval_syschar bound to a specified object_id.
 * Returns NULL if the object_id does not resolve to an oval_object in the bound oval_definition_model.
 * @param model the queried oval_syschar_model.
 * @param object_id the specified object_id.
 * @memberof oval_syschar_model
 */
struct oval_syschar *oval_syschar_model_get_syschar(struct oval_syschar_model *model, const char *object_id);
/**
 * Get the oval_values bound to a specified variable.
 * @memberof oval_syschar_model
 */
int oval_syschar_model_compute_variable(struct oval_syschar_model *, struct oval_variable *);
oval_syschar_collection_flag_t oval_variable_get_collection_flag(struct oval_variable *);
/**
 * @memberof oval_syschar_model
 */
struct oval_sysitem *oval_syschar_model_get_sysitem(struct oval_syschar_model *, const char *);
/** @} */

/**
 * @name Evaluators
 * @{
 */
/** @} */






/**
 * @memberof oval_sysinfo
 */
struct oval_sysinfo *oval_sysinfo_new(struct oval_syschar_model *);
/**
 * @return A copy of the specified @ref oval_sysinfo.
 * @memberof oval_sysinfo
 */
struct oval_sysinfo *oval_sysinfo_clone(struct oval_syschar_model *new_model, struct oval_sysinfo *old_sysinfo);
/**
 * @memberof oval_sysinfo
 */
void oval_sysinfo_free(struct oval_sysinfo *);

/**
 * @name Setters
 * @{
 */
/**
 * @memberof oval_sysinfo
 */
void oval_sysinfo_set_os_name(struct oval_sysinfo *, char *);
/**
 * @memberof oval_sysinfo
 */
void oval_sysinfo_set_os_version(struct oval_sysinfo *, char *);
/**
 * @memberof oval_sysinfo
 */
void oval_sysinfo_set_os_architecture(struct oval_sysinfo *, char *);
/**
 * @memberof oval_sysinfo
 */
void oval_sysinfo_set_primary_host_name(struct oval_sysinfo *, char *);
/**
 * @memberof oval_sysinfo
 */
void oval_sysinfo_add_interface(struct oval_sysinfo *, struct oval_sysint *);
/** @} */

/**
 * @name Getters
 * @{
 */
/**
 * Get operating system name.
 * @memberof oval_sysinfo
 */
char *oval_sysinfo_get_os_name(struct oval_sysinfo *);

/**
 * Get operating system version.
 * @memberof oval_sysinfo
 */
char *oval_sysinfo_get_os_version(struct oval_sysinfo *);

/**
 * Get operating system architecture.
 * @memberof oval_sysinfo
 */
char *oval_sysinfo_get_os_architecture(struct oval_sysinfo *);

/**
 * Get primary host name of the tested machine.
 * @memberof oval_sysinfo
 */
char *oval_sysinfo_get_primary_host_name(struct oval_sysinfo *);

/**
 * Get an iterator to the list of network interfaces.
 * @memberof oval_sysinfo
 */
struct oval_sysint_iterator *oval_sysinfo_get_interfaces(struct oval_sysinfo *);
/** @} */

/**
 * @name Iterators
 * @{
 */
/**
 * @memberof oval_sysinfo_iterator
 */
bool oval_sysinfo_iterator_has_more(struct oval_sysinfo_iterator *);
/**
 * @memberof oval_sysinfo_iterator
 */
struct oval_sysinfo *oval_sysinfo_iterator_next(struct oval_sysinfo_iterator *);
/**
 * @memberof oval_sysinfo_iterator
 */
void oval_sysinfo_iterator_free(struct oval_sysinfo_iterator *);
/** @} */

/**
 * @name Evaluators
 * @{
 */
/** @} */






/**
 * @memberof oval_syschar
 */
struct oval_syschar *oval_syschar_new(struct oval_syschar_model *, struct oval_object *);
/**
 * @return A copy of the specified @ref oval_syschar.
 * @memberof oval_syschar
 */
struct oval_syschar *oval_syschar_clone(struct oval_syschar_model *new_model, struct oval_syschar *old_syschar);
/**
 * @memberof oval_syschar
 */
void oval_syschar_free(struct oval_syschar *);

/**
 * @name Setters
 * @{
 */
/**
 * @memberof oval_syschar
 */
void oval_syschar_add_variable_binding(struct oval_syschar *, struct oval_variable_binding *);
/**
 * @memberof oval_syschar
 */
void oval_syschar_set_flag(struct oval_syschar *model, oval_syschar_collection_flag_t flag);
/**
 * @memberof oval_syschar
 */
void oval_syschar_set_object(struct oval_syschar *, struct oval_object *);
/**
 * @memberof oval_syschar
 */
void oval_syschar_add_sysitem(struct oval_syschar *, struct oval_sysitem *);
/**
 * @memberof oval_syschar
 */
void oval_syschar_add_message(struct oval_syschar *syschar, struct oval_message *message);
/**
 * @memberof oval_syschar
 */
void oval_syschar_add_new_message(struct oval_syschar *syschar, char *text, oval_message_level_t level);
/** @} */

/**
 * @name Getters
 * @{
 */
/**
 * Get system characteristic flag.
 * @memberof oval_syschar
 */
oval_syschar_collection_flag_t oval_syschar_get_flag(struct oval_syschar *);

/**
 * Get messages bound to this system characteristic.
 * @memberof oval_syschar
 */
struct oval_message_iterator *oval_syschar_get_messages(struct oval_syschar *);

/**
 * Get object associated with this system characteristic.
 * @memberof oval_syschar
 */
struct oval_object *oval_syschar_get_object(struct oval_syschar *);

/**
 * Get system characteristic variable bindings.
 * @memberof oval_syschar
 */
struct oval_variable_binding_iterator *oval_syschar_get_variable_bindings(struct oval_syschar *);

/**
 * Get system characteristic data.
 * @memberof oval_syschar
 */
struct oval_sysitem_iterator *oval_syschar_get_sysitem(struct oval_syschar *);
/** @} */

/**
 * @name Iterators
 * @{
 */
/**
 * @memberof oval_syschar_iterator
 */
bool oval_syschar_iterator_has_more(struct oval_syschar_iterator *);
/**
 * @memberof oval_syschar_iterator
 */
struct oval_syschar *oval_syschar_iterator_next(struct oval_syschar_iterator *);
/**
 * @memberof oval_syschar_iterator
 */
void oval_syschar_iterator_free(struct oval_syschar_iterator *);
/** @} */

/**
 * @name Evaluators
 * @{
 */
/** @} */






/**
 * @memberof oval_sysint
 */
struct oval_sysint *oval_sysint_new(struct oval_syschar_model *);
/**
 * @return A copy of the specified @ref oval_sysint.
 * @memberof oval_sysint
 */
struct oval_sysint *oval_sysint_clone(struct oval_syschar_model *new_model, struct oval_sysint *old_sysint);
/**
 * @memberof oval_sysint
 */
void oval_sysint_free(struct oval_sysint *);

/**
 * @name Setters
 * @{
 */
/**
 * @memberof oval_sysint
 */
void oval_sysint_set_name(struct oval_sysint *, char *);
/**
 * @memberof oval_sysint
 */
void oval_sysint_set_ip_address(struct oval_sysint *, char *);
/**
 * @memberof oval_sysint
 */
void oval_sysint_set_mac_address(struct oval_sysint *, char *);
/** @} */

/**
 * @name Getters
 * @{
 */
/**
 * Get interface name.
 * @memberof oval_sysint
 */
char *oval_sysint_get_name(struct oval_sysint *);

/**
 * Get interface IP address.
 * @memberof oval_sysint
 */
char *oval_sysint_get_ip_address(struct oval_sysint *);

/**
 * Get interface MAC address.
 * @memberof oval_sysint
 */
char *oval_sysint_get_mac_address(struct oval_sysint *);
/** @} */

/**
 * @name Iterators
 * @{
 */
/**
 * @memberof oval_sysint_iterator
 */
bool oval_sysint_iterator_has_more(struct oval_sysint_iterator *);
/**
 * @memberof oval_sysint_iterator
 */
struct oval_sysint *oval_sysint_iterator_next(struct oval_sysint_iterator *);
/**
 * @memberof oval_sysint_iterator
 */
void oval_sysint_iterator_free(struct oval_sysint_iterator *);
/** @} */

/**
 * @name Evaluators
 * @{
 */
/** @} */






/**
 * @memberof oval_sysitem
 */
struct oval_sysitem *oval_sysitem_new(struct oval_syschar_model *, const char *id);
/**
 * @return A copy of the specified @ref oval_sysitem.
 * @memberof oval_sysitem
 */
struct oval_sysitem *oval_sysitem_clone(struct oval_syschar_model *new_model, struct oval_sysitem *old_data);
/**
 * @memberof oval_sysitem
 */
void oval_sysitem_free(struct oval_sysitem *);

/**
 * @name Setters
 * @{
 */
/**
 * @memberof oval_sysitem
 */
void oval_sysitem_set_status(struct oval_sysitem *, oval_syschar_status_t);
/**
 * @memberof oval_sysitem
 */
void oval_sysitem_set_subtype(struct oval_sysitem *sysitem, oval_subtype_t subtype);
/**
 * @memberof oval_sysitem
 */
void oval_sysitem_add_message(struct oval_sysitem *, struct oval_message *);
/**
 * @memberof oval_sysitem
 */
void oval_sysitem_add_sysent(struct oval_sysitem *, struct oval_sysent *);
/** @} */

/**
 * @name Getters
 * @{
 */
/**
 * Get system data ID.
 * @memberof oval_sysitem
 */
char *oval_sysitem_get_id(struct oval_sysitem *);
/**
 * Get system data status.
 * @memberof oval_sysitem
 */
oval_syschar_status_t oval_sysitem_get_status(struct oval_sysitem *);
/**
 * Get system data individual items.
 * @memberof oval_sysitem
 */
struct oval_sysent_iterator *oval_sysitem_get_sysents(struct oval_sysitem *);
/**
 * Get system data message.
 * @memberof oval_sysitem
 */
struct oval_message_iterator *oval_sysitem_get_messages(struct oval_sysitem *);
/**
 * Get system data subtype.
 * @memberof oval_sysitem
 */
oval_subtype_t oval_sysitem_get_subtype(struct oval_sysitem *);
/** @} */

/**
 * @name Iterators
 * @{
 */
/**
 * @memberof oval_sysitem_iterator
 */
bool oval_sysitem_iterator_has_more(struct oval_sysitem_iterator *);
/**
 * @memberof oval_sysitem_iterator
 */
struct oval_sysitem *oval_sysitem_iterator_next(struct oval_sysitem_iterator *);
/**
 * @memberof oval_sysitem_iterator
 */
void oval_sysitem_iterator_free(struct oval_sysitem_iterator *);
/** @} */

/**
 * @name Evaluators
 * @{
 */
/** @} */






/**
 * @memberof oval_sysent
 */
struct oval_sysent *oval_sysent_new(struct oval_syschar_model *);
/**
 * @return A copy of the specified @ref oval_sysent.
 * @memberof oval_sysent
 */
struct oval_sysent *oval_sysent_clone(struct oval_syschar_model *new_model, struct oval_sysent *old_item);
/**
 * @memberof oval_sysent
 */
void oval_sysent_free(struct oval_sysent *);
/**
 * @name Setters
 * @{
 */
/**
 * @memberof oval_sysent
 */
void oval_sysent_set_name(struct oval_sysent *sysent, char *name);
/**
 * @memberof oval_sysent
 */
void oval_sysent_set_value(struct oval_sysent *sysent, char *value);
/**
 * @memberof oval_sysent
 */
void oval_sysent_add_record_field(struct oval_sysent *, struct oval_record_field *);
/**
 * @memberof oval_sysent
 */
void oval_sysent_set_status(struct oval_sysent *sysent, oval_syschar_status_t status);
/**
 * @memberof oval_sysent
 */
void oval_sysent_set_datatype(struct oval_sysent *sysent, oval_datatype_t type);
/**
 * @memberof oval_sysent
 */
void oval_sysent_set_mask(struct oval_sysent *sysent, int mask);
/** @} */

/**
 * @name Getters
 * @{
 */
/**
 * Get system data item name.
 * @memberof oval_sysent
 */
char *oval_sysent_get_name(struct oval_sysent *);

/**
 * Get system data item value.
 * @memberof oval_sysent
 */
char *oval_sysent_get_value(struct oval_sysent *);

/**
 * @memberof oval_sysent
 */
struct oval_record_field_iterator *oval_sysent_get_record_fields(struct oval_sysent *);

/**
 * Get system data item status.
 * @memberof oval_sysent
 */
oval_syschar_status_t oval_sysent_get_status(struct oval_sysent *);

/**
 * Get system data item data type.
 * @memberof oval_sysent
 */
oval_datatype_t oval_sysent_get_datatype(struct oval_sysent *);

/**
 * Get system data item mask.
 * @memberof oval_sysent
 */
int oval_sysent_get_mask(struct oval_sysent *);
/** @} */

/**
 * @name Iterators
 * @{
 */
/**
 * @memberof oval_sysent_iterator
 */
bool oval_sysent_iterator_has_more(struct oval_sysent_iterator *);
/**
 * @memberof oval_sysent_iterator
 */
struct oval_sysent *oval_sysent_iterator_next(struct oval_sysent_iterator *);
/**
 * @memberof oval_sysent_iterator
 */
void oval_sysent_iterator_free(struct oval_sysent_iterator *);
/** @} */

/**
 * @name Evaluators
 * @{
 */
/** @} */

/**
 * @name Setters
 * @{
 */
/**
 * @memberof oval_record_field
 */
void oval_record_field_set_status(struct oval_record_field *, oval_syschar_status_t);
/** @} */
/**
 * @name Getters
 * @{
 */
/**
 * @memberof oval_record_field
 */
oval_syschar_status_t oval_record_field_get_status(struct oval_record_field *);
/** @} */

/**
 * @memberof oval_message
 */
struct oval_message *oval_message_new(void);
/**
 * @return A copy of the specified @ref oval_message.
 * @memberof oval_message
 */
struct oval_message *oval_message_clone(struct oval_message *old_message);
/**
 * @memberof oval_message
 */
void oval_message_free(struct oval_message *);

/**
 * @name Setters
 * @{
 */
/**
 * @memberof oval_message
 */
void oval_message_set_text(struct oval_message *, char *);
/**
 * @memberof oval_message
 */
void oval_message_set_level(struct oval_message *, oval_message_level_t);
/** @} */

/**
 * @name Getters
 * @{
 */
/**
 * Get OVAL message text.
 * @memberof oval_message
 */
char *oval_message_get_text(struct oval_message *message);
/**
 * Get OVAL message level.
 * @memberof oval_message
 */
oval_message_level_t oval_message_get_level(struct oval_message *message);
/** @} */

/**
 * @name Iterators
 * @{
 */
/**
 * @memberof oval_message_iterator
 */
bool oval_message_iterator_has_more(struct oval_message_iterator *oc_message);
/**
 * @memberof oval_message_iterator
 */
struct oval_message *oval_message_iterator_next(struct oval_message_iterator *oc_message);
/**
 * @memberof oval_message_iterator
 */
void oval_message_iterator_free(struct oval_message_iterator *oc_message);
/** @} */


/**
 * @memberof oval_variable_binding
 */
struct oval_variable_binding *oval_variable_binding_new(struct oval_variable *, char *);
/**
 * @return A copy of the specified @ref oval_variable_binding.
 * @memberof oval_variable_binding
 */
struct oval_variable_binding *oval_variable_binding_clone(struct oval_variable_binding *,
							  struct oval_definition_model *);
/**
 * @memberof oval_variable_binding
 */
void oval_variable_binding_free(struct oval_variable_binding *);

/**
 * @name Setters
 * @{
 */
/**
 * @memberof oval_variable_binding
 */
void oval_variable_binding_set_variable(struct oval_variable_binding *, struct oval_variable *);
/**
 * @memberof oval_variable_binding
 */
void oval_variable_binding_add_value(struct oval_variable_binding *, char *);
/** @} */

/**
 * @name Getters
 * @{
 */
/**
 * Get variable for this binding.
 * @memberof oval_variable_binding
 */
struct oval_variable *oval_variable_binding_get_variable(struct oval_variable_binding *);
/**
 * Get value of this binding.
 * @memberof oval_variable_binding
 */
struct oval_string_iterator *oval_variable_binding_get_values(struct oval_variable_binding *);
/** @} */

/**
 * @name Iterators
 * @{
 */
/**
 * @memberof oval_variable_binding_iterator
 */
bool oval_variable_binding_iterator_has_more(struct oval_variable_binding_iterator *);
/**
 * @memberof oval_variable_binding_iterator
 */
struct oval_variable_binding *oval_variable_binding_iterator_next(struct oval_variable_binding_iterator *);
/**
 * @memberof oval_variable_binding_iterator
 */
void oval_variable_binding_iterator_free(struct oval_variable_binding_iterator *);
/** @} */

/**
 * @}END OVALSYS
 * @}END OVAL
 */
#endif