Comparison operations on entities in probes. More...
Files | |
file | probe-entcmp.h |
Functions | |
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. | |
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_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_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_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. |
Comparison operations on entities in probes.
oval_result_t probe_ent_cmp_binary | ( | SEXP_t * | val1, | |
SEXP_t * | val2, | |||
oval_operation_t | op | |||
) |
Compare two binary values.
The operation to use is specified by the operation enumeration value.
val1 | the first value | |
val2 | the second value | |
op | the desired operation |
oval_result_t probe_ent_cmp_bool | ( | SEXP_t * | val1, | |
SEXP_t * | val2, | |||
oval_operation_t | op | |||
) |
Compare two boolean values.
The operation to use is specified by the operation enumeration value.
val1 | the first value | |
val2 | the second value | |
op | the desired operation |
oval_result_t probe_ent_cmp_evr | ( | SEXP_t * | val1, | |
SEXP_t * | val2, | |||
oval_operation_t | op | |||
) |
Compare two epoch-version-release values.
The operation to use is specified by the operation enumeration value.
val1 | the first value | |
val2 | the second value | |
op | the desired operation |
oval_result_t probe_ent_cmp_filesetrev | ( | SEXP_t * | val1, | |
SEXP_t * | val2, | |||
oval_operation_t | op | |||
) |
Compare two values.
The operation to use is specified by the operation enumeration value.
val1 | the first value | |
val2 | the second value | |
op | the desired operation |
oval_result_t probe_ent_cmp_float | ( | SEXP_t * | val1, | |
SEXP_t * | val2, | |||
oval_operation_t | op | |||
) |
Compare two floating point values.
The operation to use is specified by the operation enumeration value.
val1 | the first value | |
val2 | the second value | |
op | the desired operation |
oval_result_t probe_ent_cmp_int | ( | SEXP_t * | val1, | |
SEXP_t * | val2, | |||
oval_operation_t | op | |||
) |
Compare two integer values.
The operation to use is specified by the operation enumeration value.
val1 | the first value | |
val2 | the second value | |
op | the desired operation |
oval_result_t probe_ent_cmp_ios | ( | SEXP_t * | val1, | |
SEXP_t * | val2, | |||
oval_operation_t | op | |||
) |
Compare two ios values.
The operation to use is specified by the operation enumeration value.
val1 | the first value | |
val2 | the second value | |
op | the desired operation |
oval_result_t probe_ent_cmp_string | ( | SEXP_t * | val1, | |
SEXP_t * | val2, | |||
oval_operation_t | op | |||
) |
Compare two string values.
The operation to use is specified by the operation enumeration value.
val1 | the first value | |
val2 | the second value | |
op | the desired operation |
oval_result_t probe_ent_cmp_version | ( | SEXP_t * | val1, | |
SEXP_t * | val2, | |||
oval_operation_t | op | |||
) |
Compare two version values.
The operation to use is specified by the operation enumeration value.
val1 | the first value | |
val2 | the second value | |
op | the desired operation |
oval_result_t probe_ent_result_bychk | ( | SEXP_t * | res_lst, | |
oval_check_t | check | |||
) |
Compute the overall result.
Compute the overall result from a results vector and a check enumeration parameter.
res_lst | the results vector | |
check | the check enumeration value |
oval_result_t probe_ent_result_byopr | ( | SEXP_t * | res_lst, | |
oval_operator_t | operator | |||
) |
Compute the overall result.
Compute the overall result from a results vector and a operator enumeration parameter.
res_lst | the results vector | |
check | the operator enumeration value |
Compare object entity's content with a value.
The result depends on the operation attribute and a possible var_check attribute.
ent_obj | object entity | |
val | raw value |