00001 #ifndef OVAL_SYSCHAR_IMPL 00002 #define OVAL_SYSCHAR_IMPL 00003 #include <liboval/oval_system_characteristics.h> 00004 #include "oval_definitions_impl.h" 00005 00006 struct oval_sysint_s *oval_sysint_new(); 00007 void oval_sysint_free(struct oval_sysint_s*); 00008 00009 void set_oval_sysint_name (struct oval_sysint_s*, char*); 00010 void set_oval_sysint_ip_address (struct oval_sysint_s*, char*); 00011 void set_oval_sysint_mac_address(struct oval_sysint_s*, char*); 00012 00013 struct oval_sysinfo_s *oval_sysinfo_new(); 00014 void oval_sysinfo_free(struct oval_sysinfo_s*); 00015 00016 void set_oval_sysinfo_os_name (struct oval_sysinfo_s*, char*); 00017 void set_oval_sysinfo_os_version (struct oval_sysinfo_s*, char*); 00018 void set_oval_sysinfo_os_architecture (struct oval_sysinfo_s*, char*); 00019 void set_oval_sysinfo_primary_host_name (struct oval_sysinfo_s*, char*); 00020 void add_oval_sysinfo_interface (struct oval_sysinfo_s*, struct oval_sysint_s*); 00021 00022 struct oval_sysdata_s *oval_sysdata_new(); 00023 void oval_sysdata_free(struct oval_sysdata_s*); 00024 00025 void set_oval_sysdata_family (struct oval_sysdata_s*, oval_family_enum); 00026 void set_oval_sysdata_subtype(struct oval_sysdata_s*, oval_subtype_enum); 00027 00028 struct oval_syschar_s *oval_syschar_new(); 00029 void oval_syschar_free(struct oval_syschar_s*); 00030 00031 void set_oval_syschar_flag (struct oval_syschar_s*, oval_syschar_collection_flag_enum); 00032 void add_oval_syschar_messages (struct oval_syschar_s*, char*); 00033 void set_oval_syschar_sysinfo (struct oval_syschar_s*, struct oval_sysinfo_s*); 00034 void set_oval_syschar_object (struct oval_syschar_s*, struct oval_object_s*); 00035 void add_oval_syschar_variable_binding(struct oval_syschar_s*, struct oval_variable_binding_s*); 00036 void add_oval_syschar_sysdata (struct oval_syschar_s*, struct oval_sysdata_s*); 00037 00038 #endif