Open SCAP Library
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_results.h
oval_operator_t
oval_operator_t
Boolean operators.
Definition: oval_definitions.h:75
probe_ent_cmp_binary
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
probe_ent_cmp_int
oval_result_t probe_ent_cmp_int(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two integer values.
Definition: entcmp.c:119
oval_definitions.h
oval_operation_t
oval_operation_t
Operations.
Definition: oval_definitions.h:84
probe_ent_cmp_debian_evr
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
oval_result_t
Definition: oval_types.h:349
probe_ent_cmp_version
oval_result_t probe_ent_cmp_version(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two version values.
Definition: entcmp.c:141
probe_ent_cmp_evr
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
probe_ent_cmp_ios
oval_result_t probe_ent_cmp_ios(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two ios values.
Definition: entcmp.c:132
probe_ent_cmp_bool
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
probe_entste_cmp
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:388
oval_check_t
oval_check_t
Check enumeration.
Definition: oval_definitions.h:113
probe_entobj_cmp
oval_result_t probe_entobj_cmp(SEXP_t *ent_obj, SEXP_t *val)
Compare object entity's content with a value.
Definition: entcmp.c:428
probe_ent_cmp_string
oval_result_t probe_ent_cmp_string(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two string values.
Definition: entcmp.c:153
probe_ent_result_bychk
oval_result_t probe_ent_result_bychk(SEXP_t *res_lst, oval_check_t check)
Compute the overall result.
Definition: entcmp.c:491
SEXP
Definition: sexp-types.h:82
probe_ent_result_byopr
oval_result_t probe_ent_result_byopr(SEXP_t *res_lst, oval_operator_t operator)
Compute the overall result.
Definition: entcmp.c:580
probe_ent_cmp_float
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:109
probe_ent_cmp_filesetrev
oval_result_t probe_ent_cmp_filesetrev(SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
Compare two values.
Definition: entcmp.c:100