Open SCAP Library
ds.h
Go to the documentation of this file.
1 
10 /*
11  * Copyright 2012 Red Hat Inc., Durham, North Carolina.
12  * All Rights Reserved.
13  *
14  * This library is free software; you can redistribute it and/or
15  * modify it under the terms of the GNU Lesser General Public
16  * License as published by the Free Software Foundation; either
17  * version 2.1 of the License, or (at your option) any later version.
18  *
19  * This library is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22  * Lesser General Public License for more details.
23  *
24  * You should have received a copy of the GNU Lesser General Public
25  * License along with this library; if not, write to the Free Software
26  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27  *
28  * Authors:
29  * Martin Preisler <mpreisle@redhat.com>
30  */
31 
32 #ifndef OPENSCAP_DS_H
33 #define OPENSCAP_DS_H
34 
35 #include "oscap.h"
36 
52 int ds_is_sds(const char* xccdf_file);
53 
76 int ds_sds_decompose(const char* input_file, const char* id,
77  const char* target_dir, const char* xccdf_filename);
78 
94 int ds_sds_compose_from_xccdf(const char* xccdf_file, const char* target_datastream);
95 
118 int ds_rds_create(const char* sds_file, const char* xccdf_result_file,
119  const char** oval_result_files, const char* target_file);
120 
121 /************************************************************
122  ** @} End of DS group */
123 
124 #endif
125