00001
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef OVAL_SYSCHAR_IMPL
00031 #define OVAL_SYSCHAR_IMPL
00032
00033 #include "api/oval_system_characteristics.h"
00034 #include "oval_definitions_impl.h"
00035
00036 struct oval_sysint *oval_sysint_new();
00037 void oval_sysint_free(struct oval_sysint *);
00038
00039 void set_oval_sysint_name(struct oval_sysint *, char *);
00040 void set_oval_sysint_ip_address(struct oval_sysint *, char *);
00041 void set_oval_sysint_mac_address(struct oval_sysint *, char *);
00042
00043 struct oval_sysinfo *oval_sysinfo_new();
00044 void oval_sysinfo_free(struct oval_sysinfo *);
00045
00046 void set_oval_sysinfo_os_name(struct oval_sysinfo *, char *);
00047 void set_oval_sysinfo_os_version(struct oval_sysinfo *, char *);
00048 void set_oval_sysinfo_os_architecture(struct oval_sysinfo *, char *);
00049 void set_oval_sysinfo_primary_host_name(struct oval_sysinfo *, char *);
00050 void add_oval_sysinfo_interface(struct oval_sysinfo *, struct oval_sysint *);
00051
00052 struct oval_sysdata *oval_sysdata_new();
00053 void oval_sysdata_free(struct oval_sysdata *);
00054
00055 void set_oval_sysdata_family(struct oval_sysdata *, oval_family_enum);
00056 void set_oval_sysdata_subtype(struct oval_sysdata *, oval_subtype_enum);
00057
00058 struct oval_syschar *oval_syschar_new();
00059 void oval_syschar_free(struct oval_syschar *);
00060
00061 void set_oval_syschar_flag(struct oval_syschar *,
00062 oval_syschar_collection_flag_enum);
00063 void add_oval_syschar_messages(struct oval_syschar *, char *);
00064 void set_oval_syschar_sysinfo(struct oval_syschar *, struct oval_sysinfo *);
00065 void set_oval_syschar_object(struct oval_syschar *, struct oval_object *);
00066 void add_oval_syschar_variable_binding(struct oval_syschar *,
00067 struct oval_variable_binding *);
00068 void add_oval_syschar_sysdata(struct oval_syschar *, struct oval_sysdata *);
00069
00070 #endif