Open SCAP Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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 
70 oval_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
163 
oval_operator_t
Boolean operators.
Definition: oval_definitions.h:75
oval_operation_t
Operations.
Definition: oval_definitions.h:84
oval_result_t probe_ent_cmp_binary(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two binary values.
Definition: entcmp.c:54
oval_result_t probe_ent_cmp_int(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two integer values.
Definition: entcmp.c:120
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:93
oval_result_t probe_ent_cmp_version(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two version values.
Definition: entcmp.c:142
oval_check_t
Check enumeration.
Definition: oval_definitions.h:113
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:80
oval_result_t probe_ent_cmp_ios(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two ios values.
Definition: entcmp.c:133
oval_result_t probe_ent_cmp_bool(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two boolean values.
Definition: entcmp.c:70
oval_result_t probe_entobj_cmp(SEXP_t *ent_obj, SEXP_t *val)
Compare object entity&#39;s content with a value.
Definition: entcmp.c:429
oval_result_t probe_entste_cmp(SEXP_t *ent_ste, SEXP_t *ent_itm)
Compare state entity&#39;s content with a item entity&#39;s value.
Definition: entcmp.c:389
oval_result_t probe_ent_cmp_string(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two string values.
Definition: entcmp.c:154
oval_result_t
Result values for the evaluation of an OVAL Definition or an OVAL Test.
Definition: oval_types.h:327
oval_result_t probe_ent_result_bychk(SEXP_t *res_lst, oval_check_t check)
Compute the overall result.
Definition: entcmp.c:492
Definition: sexp-types.h:82
oval_result_t probe_ent_cmp_filesetrev(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two values.
Definition: entcmp.c:101
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:110
oval_result_t probe_ent_result_byopr(SEXP_t *res_lst, oval_operator_t operator)
Compute the overall result.
Definition: entcmp.c:581