00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef OSCAP_OVAL_CMP_BASIC_IMPL_H_
00024 #define OSCAP_OVAL_CMP_BASIC_IMPL_H_
00025
00026 #include "../common/util.h"
00027 #include "oval_definitions.h"
00028 #include "oval_types.h"
00029
00030 OSCAP_HIDDEN_START;
00031
00032 oval_result_t oval_boolean_cmp(const bool state, const bool syschar, oval_operation_t operation);
00033
00034 oval_result_t oval_int_cmp(const intmax_t state, const intmax_t syschar, oval_operation_t operation);
00035
00036 oval_result_t oval_float_cmp(const double state_val, const double sys_val, oval_operation_t operation);
00037
00038 oval_result_t oval_string_cmp(const char *state, const char *syschar, oval_operation_t operation);
00039
00040 oval_result_t oval_binary_cmp(const char *state, const char *syschar, oval_operation_t operation);
00041
00042 OSCAP_HIDDEN_END;
00043
00044 #endif