Open SCAP Library
Loading...
Searching...
No Matches
oval_agent_api_impl.h
Go to the documentation of this file.
1
8/*
9 * Copyright 2009-2010 Red Hat Inc., Durham, North Carolina.
10 * All Rights Reserved.
11 *
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Lesser General Public
14 * License as published by the Free Software Foundation; either
15 * version 2.1 of the License, or (at your option) any later version.
16 *
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Lesser General Public License for more details.
21 *
22 * You should have received a copy of the GNU Lesser General Public
23 * License along with this library; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25 *
26 * Authors:
27 * "David Niemoller" <David.Niemoller@g2-inc.com>
28 */
29
30#ifndef OVAL_AGENT_API_IMPL_H_
31#define OVAL_AGENT_API_IMPL_H_
32
33#include "common/util.h"
34
35
36#define OVAL_ENUMERATION_INVALID (-1)
37
38#define OVAL_SUPPORTED "5.11.1"
39
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#"
42
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"
49
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"
56
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"
60
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"
69
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"
77
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"
79
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"
81
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"
83
84
85#endif /* OVAL_AGENT_API_IMPL_H_ */