Open SCAP Library: ds_sds_index Struct Reference

Open SCAP Library

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

Public Member Functions | Data Fields
ds_sds_index Struct Reference
DS

Represents <data-stream-collection> element - the root element of each source datastream. More...

`#include <scap_ds.h>`

## Public Member Functions
struct ds_sds_index * | ds_sds_index_new (void)
void | ds_sds_index_free (struct ds_sds_index *s)
struct ds_stream_index * | ds_sds_index_get_stream (struct ds_sds_index *s, const char *stream_id)
| retrieves a stream index by data-stream ID
struct ds_stream_index_iterator * | ds_sds_index_get_streams (struct ds_sds_index *s)
| retrieves all streams indexed inside this structure
struct ds_sds_index * | ds_sds_index_import (const char *file)
| imports given source datastream and indexes it

## Data Fields
struct oscap_list * | streams
struct oscap_htable * | benchmark_id_to_component_id

## Detailed Description

Represents <data-stream-collection> element - the root element of each source datastream.

Its purpose is to provide IDs and other metadata.

Contains a list of ds_stream_index structures, each representing one data-stream inside the collection.

See Also
  ds_stream_index

The documentation for this struct was generated from the following files:

- sds_index.c
- scap_ds.h