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

Detailed Description

XCCDF identity.

See Also
xccdf_result

#include <xccdf_benchmark.h>

Public Member Functions

struct xccdf_identityxccdf_identity_new (void)
 
struct xccdf_identityxccdf_identity_clone (const struct xccdf_identity *identity)
 
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.

bool xccdf_identity_get_authenticated (const struct xccdf_identity *item)
 
bool xccdf_identity_get_privileged (const struct xccdf_identity *item)
 
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.

bool xccdf_identity_set_authenticated (struct xccdf_identity *obj, bool newval)
 
bool xccdf_identity_set_privileged (struct xccdf_identity *obj, bool newval)
 
bool xccdf_identity_set_name (struct xccdf_identity *obj, const char *newval)
 

Data Fields

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

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