oscap_nsinfo_entry Struct Reference
[Element metadata]

Namespace information entry. More...

#include <oscap.h>

Public Member Functions

struct oscap_nsinfo_entryoscap_nsinfo_entry_new (void)
struct oscap_nsinfo_entryoscap_nsinfo_entry_new_fill (const char *nsprefix, const char *nsname)
void oscap_nsinfo_entry_free (struct oscap_nsinfo_entry *entry)
Getters

If return value is a pointer to structure's member, do not free it unless you null the pointer in the structure.



const char * oscap_nsinfo_entry_get_nsname (const struct oscap_nsinfo_entry *item)
const char * oscap_nsinfo_entry_get_nsprefix (const struct oscap_nsinfo_entry *item)
const char * oscap_nsinfo_entry_get_schema_location (const struct oscap_nsinfo_entry *item)
Setters

For lists use add functions.

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



bool oscap_nsinfo_entry_set_nsname (struct oscap_nsinfo_entry *obj, const char *newval)
bool oscap_nsinfo_entry_set_nsprefix (struct oscap_nsinfo_entry *obj, const char *newval)
bool oscap_nsinfo_entry_set_schema_location (struct oscap_nsinfo_entry *obj, const char *newval)

Data Fields

char * nsprefix
 namespace prefix
char * nsname
 namespace name
char * schema_location
 schema location for the namespace

Detailed Description

Namespace information entry.

This structure carries namespace prefix, Namespace URI and schema location.


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

Generated on 14 Jul 2010 for Open SCAP Library by  doxygen 1.6.1