Open SCAP Library
Loading...
Searching...
No Matches
Data Structures | Functions
entcmp.c File Reference
#include <sexp.h>
#include <assert.h>
#include <string.h>
#include <stdarg.h>
#include <errno.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include "common/debug_priv.h"
#include "entcmp.h"
#include "../_probe-api.h"
#include "../../results/oval_cmp_basic_impl.h"
#include "../../results/oval_cmp_evr_string_impl.h"
#include "../../results/oval_cmp_ip_address_impl.h"
Include dependency graph for entcmp.c:

Data Structures

struct  _oresults
 

Functions

oval_result_t probe_ent_cmp_binary (SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
 Compare two binary values.
 
oval_result_t probe_ent_cmp_bool (SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
 Compare two boolean values.
 
oval_result_t probe_ent_cmp_evr (SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
 Compare two epoch-version-release values.
 
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.
 
oval_result_t probe_ent_cmp_filesetrev (SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
 Compare two values.
 
oval_result_t probe_ent_cmp_float (SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
 Compare two floating point values.
 
oval_result_t probe_ent_cmp_int (SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
 Compare two integer values.
 
oval_result_t probe_ent_cmp_ios (SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
 Compare two ios values.
 
oval_result_t probe_ent_cmp_version (SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
 Compare two version values.
 
oval_result_t probe_ent_cmp_string (SEXP_t *val1, SEXP_t *val2, oval_operation_t op)
 Compare two string values.
 
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.
 
oval_result_t probe_entobj_cmp (SEXP_t *ent_obj, SEXP_t *val)
 Compare object entity's content with a value.
 
oval_result_t probe_ent_result_bychk (SEXP_t *res_lst, oval_check_t check)
 Compute the overall result.
 
oval_result_t probe_ent_result_byopr (SEXP_t *res_lst, oval_operator_t operator)
 Compute the overall result.
 

Detailed Description

Author
"Tomas Heinrich" thein.nosp@m.ric@.nosp@m.redha.nosp@m.t.co.nosp@m.m