Open SCAP Library
Loading...
Searching...
No Matches
entcmp.h
Go to the documentation of this file.
1
8/*
9 * Copyright 2009 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 * Tomas Heinrich <theinric@redhat.com>
28 */
29
30#ifndef PROBE_ENTCMP_H
31#define PROBE_ENTCMP_H
32
33#include "_seap.h"
34#include <stdarg.h>
35#include "oval_definitions.h"
36#include "oval_results.h"
37
45
53
62
70oval_result_t probe_entste_cmp(SEXP_t * ent_ste, SEXP_t * ent_itm);
71
80
89
98
107
116
125
134
143
152
161
162#endif
oval_operation_t
Operations.
Definition oval_definitions.h:84
oval_check_t
Check enumeration.
Definition oval_definitions.h:113
oval_operator_t
Boolean operators.
Definition oval_definitions.h:75
oval_result_t
Result values for the evaluation of an OVAL Definition or an OVAL Test.
Definition oval_types.h:445
oval_result_t probe_ent_cmp_filesetrev(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two values.
Definition entcmp.c:105
oval_result_t probe_entobj_cmp(SEXP_t *ent_obj, SEXP_t *val)
Compare object entity's content with a value.
Definition entcmp.c:433
oval_result_t probe_ent_cmp_bool(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two boolean values.
Definition entcmp.c:69
oval_result_t probe_ent_cmp_debian_evr(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two Debian epoch-version-release values.
Definition entcmp.c:92
oval_result_t probe_ent_cmp_version(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two version values.
Definition entcmp.c:146
oval_result_t probe_ent_cmp_float(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two floating point values.
Definition entcmp.c:114
oval_result_t probe_ent_cmp_string(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two string values.
Definition entcmp.c:158
oval_result_t probe_ent_cmp_int(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two integer values.
Definition entcmp.c:124
oval_result_t probe_ent_cmp_evr(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two epoch-version-release values.
Definition entcmp.c:79
oval_result_t probe_ent_cmp_ios(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two ios values.
Definition entcmp.c:137
oval_result_t probe_ent_result_bychk(SEXP_t *res_lst, oval_check_t check)
Compute the overall result.
Definition entcmp.c:496
oval_result_t probe_ent_cmp_binary(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two binary values.
Definition entcmp.c:53
oval_result_t probe_entste_cmp(SEXP_t *ent_ste, SEXP_t *ent_itm)
Compare state entity's content with a item entity's value.
Definition entcmp.c:393
oval_result_t probe_ent_result_byopr(SEXP_t *res_lst, oval_operator_t operator)
Compute the overall result.
Definition entcmp.c:585
Definition sexp-types.h:82