Loading...
Searching...
No Matches
entcmp.h
Go to the documentation of this file.
/*
* Copyright 2009 Red Hat Inc., Durham, North Carolina.
* All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* Authors:
* Tomas Heinrich <theinric@redhat.com>
*/
#ifndef PROBE_ENTCMP_H
#define PROBE_ENTCMP_H
#include "_seap.h"
#include <stdarg.h>
#include "oval_definitions.h"
#include "oval_results.h"
oval_result_t probe_ent_result_bychk(SEXP_t * res_lst, oval_check_t check);
oval_result_t probe_ent_result_byopr(SEXP_t * res_lst, oval_operator_t operator);
oval_result_t probe_entobj_cmp(SEXP_t * ent_obj, SEXP_t * val);
oval_result_t probe_entste_cmp(SEXP_t * ent_ste, SEXP_t * ent_itm);
oval_result_t probe_ent_cmp_binary(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
oval_result_t probe_ent_cmp_bool(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
oval_result_t probe_ent_cmp_evr(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
oval_result_t probe_ent_cmp_debian_evr(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
oval_result_t probe_ent_cmp_filesetrev(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
oval_result_t probe_ent_cmp_float(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
oval_result_t probe_ent_cmp_int(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
oval_result_t probe_ent_cmp_ios(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
oval_result_t probe_ent_cmp_version(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
oval_result_t probe_ent_cmp_string(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
#endif
oval_operation_t
oval_operation_t
Operations.
Definition oval_definitions.h:84
oval_check_t
oval_check_t
Check enumeration.
Definition oval_definitions.h:113
oval_operator_t
oval_operator_t
Boolean operators.
Definition oval_definitions.h:75
oval_result_t
oval_result_t
Result values for the evaluation of an OVAL Definition or an OVAL Test.
Definition oval_types.h:445
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:105
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:433
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_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
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:146
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:114
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:158
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:124
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:137
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:496
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_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:393
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:585
oval_definitions.h
oval_results.h