oscap_nsinfo Struct Reference
[Element metadata]

Information on namespaces for given document. More...

#include <oscap.h>

Public Member Functions

struct oscap_nsinfooscap_nsinfo_new (void)
struct oscap_nsinfooscap_nsinfo_new_file (const char *fname)
void oscap_nsinfo_free (struct oscap_nsinfo *info)
Getters

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



struct
oscap_nsinfo_entry_iterator
oscap_nsinfo_get_entries (const struct oscap_nsinfo *item)
struct oscap_nsinfo_entryoscap_nsinfo_get_root_entry (const struct oscap_nsinfo *item)
struct oscap_nsinfo_entryoscap_nsinfo_get_entry_by_ns (struct oscap_nsinfo *info, const char *ns)
Setters

For lists use add functions.

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



bool oscap_nsinfo_add_entry (struct oscap_nsinfo *obj, struct oscap_nsinfo_entry *item)
bool oscap_nsinfo_set_root_entry (struct oscap_nsinfo *obj, struct oscap_nsinfo_entry *newval)

Data Fields

struct oscap_listentries
 list of 'struct oscap_nsinfo_entry'
struct oscap_nsinfo_entryroot_entry
 namespace info entry for the root element

Detailed Description

Information on namespaces for given document.


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