xccdf_target_identifier Struct Reference
[XCCDF]

Can be either <target-id-ref> or some other element. More...

#include <xccdf_benchmark.h>

Public Member Functions

struct xccdf_target_identifierxccdf_target_identifier_new (void)
struct xccdf_target_identifierxccdf_target_identifier_clone (const struct xccdf_target_identifier *ti)
void xccdf_target_identifier_free (struct xccdf_target_identifier *ti)
Getters

Return value is pointer to structure's member.

Do not free unless you null the pointer in the structure. Use remove function otherwise.



void * xccdf_target_identifier_get_xml_node (const struct xccdf_target_identifier *item)
const char * xccdf_target_identifier_get_system (const struct xccdf_target_identifier *item)
const char * xccdf_target_identifier_get_href (const struct xccdf_target_identifier *item)
const char * xccdf_target_identifier_get_name (const struct xccdf_target_identifier *item)
Setters

For lists use add functions.

Parameters of set functions are duplicated in memory and need to be freed by caller.



bool xccdf_target_identifier_set_xml_node (struct xccdf_target_identifier *ti, void *node)
bool xccdf_target_identifier_set_system (struct xccdf_target_identifier *ti, const char *newval)
bool xccdf_target_identifier_set_href (struct xccdf_target_identifier *ti, const char *newval)
bool xccdf_target_identifier_set_name (struct xccdf_target_identifier *ti, const char *newval)

Data Fields

bool any_element
xmlNodePtr element
const char * system
const char * href
const char * name

Detailed Description

Can be either <target-id-ref> or some other element.

See also:
xccdf_result
Note:
XCCDF 1.2+ only

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

Generated on 17 Jul 2013 for Open SCAP Library by  doxygen 1.6.1