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

XCCDF message. More...

#include <xccdf_benchmark.h>

Public Member Functions

OSCAP_API struct xccdf_messagexccdf_message_new (void)
 
OSCAP_API struct xccdf_messagexccdf_message_clone (const struct xccdf_message *message)
 
OSCAP_API void xccdf_message_free (struct xccdf_message *msg)
 
Getters

Return value is pointer to structure's member.

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

OSCAP_API xccdf_message_severity_t xccdf_message_get_severity (const struct xccdf_message *item)
 
OSCAP_API const char * xccdf_message_get_content (const struct xccdf_message *item)
 
Setters

For lists use add functions.

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

OSCAP_API bool xccdf_message_set_severity (struct xccdf_message *obj, xccdf_message_severity_t newval)
 
OSCAP_API bool xccdf_message_set_content (struct xccdf_message *obj, const char *newval)
 

Data Fields

xccdf_message_severity_t severity
 
char * content
 

Detailed Description

XCCDF message.

See Also
xccdf_rule_result

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