Open SCAP Library
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
xccdf_identity Struct Reference

XCCDF identity. More...

#include <xccdf_benchmark.h>

Public Member Functions

OSCAP_API struct xccdf_identityxccdf_identity_new (void)
 
OSCAP_API struct xccdf_identityxccdf_identity_clone (const struct xccdf_identity *identity)
 
OSCAP_API void xccdf_identity_free (struct xccdf_identity *identity)
 
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 bool xccdf_identity_get_authenticated (const struct xccdf_identity *item)
 
OSCAP_API bool xccdf_identity_get_privileged (const struct xccdf_identity *item)
 
OSCAP_API const char * xccdf_identity_get_name (const struct xccdf_identity *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_identity_set_authenticated (struct xccdf_identity *obj, bool newval)
 
OSCAP_API bool xccdf_identity_set_privileged (struct xccdf_identity *obj, bool newval)
 
OSCAP_API bool xccdf_identity_set_name (struct xccdf_identity *obj, const char *newval)
 

Data Fields

struct { 
 
   bool   authenticated: 1 
 
   bool   privileged: 1 
 
sub 
 
char * name
 

Detailed Description

XCCDF identity.

See also
xccdf_result

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