30 #ifndef OVAL_AGENT_API_IMPL_H_
31 #define OVAL_AGENT_API_IMPL_H_
33 #include "common/util.h"
36 #define OVAL_ENUMERATION_INVALID (-1)
38 #define OVAL_SUPPORTED "5.11.1"
40 #define OVAL_COMMON_NAMESPACE BAD_CAST "http://oval.mitre.org/XMLSchema/oval-common-5"
41 #define OVAL_DIGSIG_NAMESPACE BAD_CAST "http://www.w3.org/2000/09/xmldsig#"
43 #define OVAL_SYSCHAR_NAMESPACE BAD_CAST "http://oval.mitre.org/XMLSchema/oval-system-characteristics-5"
44 #define OVAL_SYSCHAR_UNIX_NS BAD_CAST "http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#unix"
45 #define OVAL_SYSCHAR_IND_NS BAD_CAST "http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#independent"
46 #define OVAL_SYSCHAR_LIN_NS BAD_CAST "http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#linux"
47 #define OVAL_SYSCHAR_WIN_NS BAD_CAST "http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#windows"
48 #define OVAL_SYSCHAR_MAC_NS BAD_CAST "http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#macos"
50 #define OVAL_DEFINITIONS_NAMESPACE BAD_CAST "http://oval.mitre.org/XMLSchema/oval-definitions-5"
51 #define OVAL_DEFINITIONS_UNIX_NS BAD_CAST "http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"
52 #define OVAL_DEFINITIONS_IND_NS BAD_CAST "http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"
53 #define OVAL_DEFINITIONS_LIN_NS BAD_CAST "http://oval.mitre.org/XMLSchema/oval-definitions-5#linux"
54 #define OVAL_DEFINITIONS_WIN_NS BAD_CAST "http://oval.mitre.org/XMLSchema/oval-definitions-5#windows"
55 #define OVAL_DEFINITIONS_MAC_NS BAD_CAST "http://oval.mitre.org/XMLSchema/oval-definitions-5#macos"
57 #define OVAL_RESULTS_NAMESPACE BAD_CAST "http://oval.mitre.org/XMLSchema/oval-results-5"
58 #define OVAL_VARIABLES_NAMESPACE BAD_CAST "http://oval.mitre.org/XMLSchema/oval-variables-5"
59 #define OVAL_DIRECTIVES_NAMESPACE BAD_CAST "http://oval.mitre.org/XMLSchema/oval-directives-5"
61 #define OVAL_DEF_SCHEMA_LOCATION "http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd" \
62 " http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd" \
63 " http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd" \
64 " http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd" \
65 " http://oval.mitre.org/XMLSchema/oval-definitions-5#windows windows-definitions-schema.xsd" \
66 " http://oval.mitre.org/XMLSchema/oval-definitions-5#macos macos-definitions-schema.xsd" \
67 " http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd" \
68 " http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd"
70 #define OVAL_SYS_SCHEMA_LOCATION "http://oval.mitre.org/XMLSchema/oval-system-characteristics-5 oval-system-characteristics-schema.xsd" \
71 " http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#independent independent-system-characteristics-schema.xsd" \
72 " http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#unix unix-system-characteristics-schema.xsd" \
73 " http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#linux linux-system-characteristics-schema.xsd" \
74 " http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#windows windows-system-characteristics-schema.xsd" \
75 " http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#macos macos-system-characteristics-schema.xsd" \
76 " http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd"
78 #define OVAL_RES_SCHEMA_LOCATION "http://oval.mitre.org/XMLSchema/oval-results-5 oval-results-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd"
80 #define OVAL_DIR_SCHEMA_LOCATION "http://oval.mitre.org/XMLSchema/oval-results-5 oval-results-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd http://oval.mitre.org/XMLSchema/oval-directives-5 oval-directives-schema.xsd"
82 #define OVAL_VAR_SCHEMA_LOCATION "http://oval.mitre.org/XMLSchema/oval-results-5 oval-results-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd http://oval.mitre.org/XMLSchema/oval-variables-5 oval-variables-schema.xsd"