Open SCAP Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
xccdf_notice Struct Reference

Detailed Description

XCCDF benchmark legal notice.

#include <xccdf_benchmark.h>

Public Member Functions

struct xccdf_noticexccdf_notice_new (void)
 
void xccdf_notice_free (struct xccdf_notice *notice)
 
struct xccdf_noticexccdf_notice_clone (const struct xccdf_notice *notice)
 
Getters

Return value is pointer to structure's member.

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

const char * xccdf_notice_get_id (const struct xccdf_notice *notice)
 
struct oscap_textxccdf_notice_get_text (const struct xccdf_notice *notice)
 
Setters

For lists use add functions.

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

bool xccdf_notice_set_id (struct xccdf_notice *obj, const char *newval)
 
bool xccdf_notice_set_text (struct xccdf_notice *obj, struct oscap_text *newval)
 

Data Fields

char * id
 
struct oscap_texttext
 

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