00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #pragma once
00025 #ifndef OVAL_SEXP_H
00026 #define OVAL_SEXP_H
00027
00028 #include <seap.h>
00029 #include <config.h>
00030 #include "../common/util.h"
00031 #include "oval_definitions_impl.h"
00032
00033 OSCAP_HIDDEN_START;
00034
00035
00036
00037
00038 SEXP_t *oval_value_to_sexp(struct oval_value *val, oval_datatype_t dtype);
00039
00040 SEXP_t *oval_object2sexp(const char *typestr, struct oval_object *object, struct oval_syschar_model *syschar_mode);
00041 SEXP_t *oval_state2sexp(struct oval_state *state);
00042
00043
00044
00045
00046 struct oval_syschar *oval_sexp2sysch(const SEXP_t * s_exp, struct oval_syschar_model *model,
00047 struct oval_object *object);
00048 int oval_sysch_apply_sexp(struct oval_syschar *sysch, const SEXP_t * s_list, struct oval_object *object);
00049
00050 OSCAP_HIDDEN_END;
00051
00052 #endif