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

XCCDF check import. More...

#include <xccdf_benchmark.h>

Public Member Functions

OSCAP_API struct
xccdf_check_import
xccdf_check_import_clone (const struct xccdf_check_import *old_import)
 
OSCAP_API struct
xccdf_check_import
xccdf_check_import_new (void)
 
OSCAP_API void xccdf_check_import_free (struct xccdf_check_import *item)
 
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 const char * xccdf_check_import_get_name (const struct xccdf_check_import *item)
 
OSCAP_API const char * xccdf_check_import_get_xpath (const struct xccdf_check_import *item)
 
OSCAP_API const char * xccdf_check_import_get_content (const struct xccdf_check_import *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_check_import_set_name (struct xccdf_check_import *obj, const char *newval)
 
OSCAP_API bool xccdf_check_import_set_xpath (struct xccdf_check_import *obj, const char *newval)
 
OSCAP_API bool xccdf_check_import_set_content (struct xccdf_check_import *obj, const char *newval)
 

Data Fields

char * name
 
char * xpath
 
char * content
 

Detailed Description

XCCDF check import.

See Also
xccdf_check

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