Open SCAP Library
Toggle main menu visibility
Loading...
Searching...
No Matches
src
DS
public
ds_rds_session.h
1
/*
2
* Copyright 2014 Red Hat Inc., Durham, North Carolina.
3
* All Rights Reserved.
4
*
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Lesser General Public
7
* License as published by the Free Software Foundation; either
8
* version 2.1 of the License, or (at your option) any later version.
9
*
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Lesser General Public License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public
16
* License along with this library; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
*
19
* Author:
20
* Šimon Lukašík
21
*/
22
#ifndef DS_RDS_SESSION_H
23
#define DS_RDS_SESSION_H
24
25
#ifdef HAVE_CONFIG_H
26
#include <config.h>
27
#endif
28
29
#include "
oscap.h
"
30
#include "oscap_source.h"
31
#include "
scap_ds.h
"
32
#include "oscap_export.h"
33
41
struct
ds_rds_session
;
42
51
OSCAP_API
struct
ds_rds_session
*
ds_rds_session_new_from_source
(
struct
oscap_source
*
source
);
52
58
OSCAP_API
void
ds_rds_session_free
(
struct
ds_rds_session
*rds_session);
59
66
OSCAP_API
struct
rds_index
*ds_rds_session_get_rds_idx(
struct
ds_rds_session
*session);
67
75
OSCAP_API
int
ds_rds_session_set_target_dir(
struct
ds_rds_session
*session,
const
char
*target_dir);
76
83
OSCAP_API
int
ds_rds_session_dump_component_files(
struct
ds_rds_session
*session);
84
93
OSCAP_API
struct
oscap_source
*ds_rds_session_select_report(
struct
ds_rds_session
*session,
const
char
*report_id);
94
104
OSCAP_API
struct
oscap_source
*ds_rds_session_select_report_request(
struct
ds_rds_session
*session,
const
char
*report_request_id);
105
115
OSCAP_API
int
ds_rds_session_replace_report_with_source(
struct
ds_rds_session
*session,
struct
oscap_source
*source);
116
123
124
#endif
oscap.h
General OpenScap functions and types.
scap_ds.h
Open-scap Data Stream interface.
ds_rds_session
Definition
ds_rds_session.c:41
ds_rds_session::ds_rds_session_new_from_source
OSCAP_API struct ds_rds_session * ds_rds_session_new_from_source(struct oscap_source *source)
Create new ds_rds_session from existing oscap_source.
Definition
ds_rds_session.c:49
ds_rds_session::ds_rds_session_free
OSCAP_API void ds_rds_session_free(struct ds_rds_session *rds_session)
Dispose ds_rds_session structure.
Definition
ds_rds_session.c:62
ds_rds_session::source
struct oscap_source * source
Result DataStream raw representation.
Definition
ds_rds_session.c:42
oscap_source
Definition
oscap_source.c:66
rds_index
Represents <asset-report-collection> element - the root element of each result datastream in Asset Re...
Definition
rds_index.c:40
Generated by
1.17.0