Open SCAP Library
/home/pvrabec/project/openscap/openscap-0.8.0/src/OVAL/probes/probe/entcmp.h
00001 
00008 /*
00009  * Copyright 2009 Red Hat Inc., Durham, North Carolina.
00010  * All Rights Reserved.
00011  *
00012  * This library is free software; you can redistribute it and/or
00013  * modify it under the terms of the GNU Lesser General Public
00014  * License as published by the Free Software Foundation; either
00015  * version 2.1 of the License, or (at your option) any later version.
00016  *
00017  * This library is distributed in the hope that it will be useful, 
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00020  * Lesser General Public License for more details.
00021  *
00022  * You should have received a copy of the GNU Lesser General Public
00023  * License along with this library; if not, write to the Free Software 
00024  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025  *
00026  * Authors:
00027  *      Tomas Heinrich <theinric@redhat.com>
00028  */
00029 
00030 #ifndef PROBE_ENTCMP_H
00031 #define PROBE_ENTCMP_H
00032 
00033 #include <seap.h>
00034 #include <stdarg.h>
00035 #include "oval_definitions.h"
00036 #include "oval_results.h"
00037 
00044 oval_result_t probe_ent_result_bychk(SEXP_t * res_lst, oval_check_t check);
00045 
00052 oval_result_t probe_ent_result_byopr(SEXP_t * res_lst, oval_operator_t operator);
00053 
00061 oval_result_t probe_entobj_cmp(SEXP_t * ent_obj, SEXP_t * val);
00062 
00070 oval_result_t probe_entste_cmp(SEXP_t * ent_ste, SEXP_t * ent_itm);
00071 
00079 oval_result_t probe_ent_cmp_binary(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
00080 
00088 oval_result_t probe_ent_cmp_bool(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
00089 
00097 oval_result_t probe_ent_cmp_evr(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
00098 
00106 oval_result_t probe_ent_cmp_filesetrev(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
00107 
00115 oval_result_t probe_ent_cmp_float(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
00116 
00124 oval_result_t probe_ent_cmp_int(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
00125 
00133 oval_result_t probe_ent_cmp_ios(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
00134 
00142 oval_result_t probe_ent_cmp_version(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
00143 
00151 oval_result_t probe_ent_cmp_string(SEXP_t * val1, SEXP_t * val2, oval_operation_t op);
00152 
00153 #endif