Open SCAP Library

oval_cmp_evr_string_impl.h
Go to the documentation of this file.
1
8 /*
9 * Copyright 2009--2013 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 *
26 * Authors:
27 * Šimon Lukašík
28 */
29
30 #ifndef OSCAP_OVAL_EVR_STRING_IMPL_H_
31 #define OSCAP_OVAL_EVR_STRING_IMPL_H_
32
33 #include "../common/util.h"
34
35 #include "oval_definitions.h"
36 #include "oval_types.h"
37
38 OSCAP_HIDDEN_START;
39
49 oval_result_t oval_evr_string_cmp(const char *state, const char *sys, oval_operation_t operation);
50
51 oval_result_t oval_versiontype_cmp(const char *state, const char *syschar, oval_operation_t operation);
52
53 OSCAP_HIDDEN_END;
54
55 #endif
oval_operation_t
oval_operation_t
Operations.
Definition: oval_definitions.h:84
oval_types.h
oval_evr_string_cmp
oval_result_t oval_evr_string_cmp(const char *state, const char *sys, oval_operation_t operation)
Compare two EVR (Epoch:Version-Release) strings.
Definition: oval_cmp_evr_string.c:56
oval_result_t
oval_result_t
Result values for the evaluation of an OVAL Definition or an OVAL Test.
Definition: oval_types.h:327
oval_definitions.h