File: structoscap__nsinfo.tex

package info (click to toggle)
openscap 0.5.12-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 27,052 kB
  • ctags: 21,075
  • sloc: xml: 82,351; ansic: 52,101; sh: 17,802; makefile: 748; perl: 442; cpp: 117; python: 110
file content (62 lines) | stat: -rw-r--r-- 4,022 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
\hypertarget{structoscap__nsinfo}{
\section{oscap\_\-nsinfo Struct Reference}
\label{structoscap__nsinfo}\index{oscap\_\-nsinfo@{oscap\_\-nsinfo}}
}


Information on namespaces for given document.  


{\ttfamily \#include $<$oscap.h$>$}\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structoscap__nsinfo}{oscap\_\-nsinfo} $\ast$ \hyperlink{group__IMPORTEXPORT_ga9f430a5141fd1a81d03cbe3af808355e}{oscap\_\-nsinfo\_\-new} (void)
\item 
struct \hyperlink{structoscap__nsinfo}{oscap\_\-nsinfo} $\ast$ \hyperlink{group__IMPORTEXPORT_ga40a5740c4125ef0710bb12f6b50cc28f}{oscap\_\-nsinfo\_\-new\_\-file} (const char $\ast$fname)
\item 
void \hyperlink{group__IMPORTEXPORT_ga190cb958ad13ba1d557704e7d7ed6619}{oscap\_\-nsinfo\_\-free} (struct \hyperlink{structoscap__nsinfo}{oscap\_\-nsinfo} $\ast$info)
\end{DoxyCompactItemize}
\begin{Indent}{\bf Getters}\par
{\em \label{_amgrpc9fd0bcb5385a65354c37f1bb504399d}
If return value is a pointer to structure's member, do not free it unless you null the pointer in the structure. }\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structoscap__nsinfo__entry__iterator}{oscap\_\-nsinfo\_\-entry\_\-iterator} $\ast$ \hyperlink{group__IMPORTEXPORT_ga9fe074b13393cc961519bbd4616eb5b1}{oscap\_\-nsinfo\_\-get\_\-entries} (const struct \hyperlink{structoscap__nsinfo}{oscap\_\-nsinfo} $\ast$item)
\item 
struct \hyperlink{structoscap__nsinfo__entry}{oscap\_\-nsinfo\_\-entry} $\ast$ \hyperlink{group__IMPORTEXPORT_ga3a6ec0b709b03ddbe87e064f728d2b11}{oscap\_\-nsinfo\_\-get\_\-root\_\-entry} (const struct \hyperlink{structoscap__nsinfo}{oscap\_\-nsinfo} $\ast$item)
\item 
struct \hyperlink{structoscap__nsinfo__entry}{oscap\_\-nsinfo\_\-entry} $\ast$ \hyperlink{group__IMPORTEXPORT_gac6305747b442bebd6627837cc27246b3}{oscap\_\-nsinfo\_\-get\_\-entry\_\-by\_\-ns} (struct \hyperlink{structoscap__nsinfo}{oscap\_\-nsinfo} $\ast$info, const char $\ast$ns)
\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Setters}\par
{\em \label{_amgrp6e47466b75bb957a603aa54c079ac8bf}
For lists use add functions.

Parameters of set functions are duplicated in memory and need to be freed by caller. }\begin{DoxyCompactItemize}
\item 
bool \hyperlink{group__IMPORTEXPORT_ga821b7727f2d3ee85c155177824aace1e}{oscap\_\-nsinfo\_\-add\_\-entry} (struct \hyperlink{structoscap__nsinfo}{oscap\_\-nsinfo} $\ast$obj, struct \hyperlink{structoscap__nsinfo__entry}{oscap\_\-nsinfo\_\-entry} $\ast$item)
\item 
bool \hyperlink{group__IMPORTEXPORT_gaed1da41d6ac3c93f701c11bfe630084d}{oscap\_\-nsinfo\_\-set\_\-root\_\-entry} (struct \hyperlink{structoscap__nsinfo}{oscap\_\-nsinfo} $\ast$obj, struct \hyperlink{structoscap__nsinfo__entry}{oscap\_\-nsinfo\_\-entry} $\ast$newval)
\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structoscap__nsinfo_adee9924e0a61738a4ac4ebeb7e34e59f}{
struct \hyperlink{structoscap__list}{oscap\_\-list} $\ast$ \hyperlink{structoscap__nsinfo_adee9924e0a61738a4ac4ebeb7e34e59f}{entries}}
\label{structoscap__nsinfo_adee9924e0a61738a4ac4ebeb7e34e59f}

\begin{DoxyCompactList}\small\item\em list of 'struct oscap\_\-nsinfo\_\-entry' \item\end{DoxyCompactList}\item 
\hypertarget{structoscap__nsinfo_a1422b01cc1cfc798106b9d07a7b7db30}{
struct \hyperlink{structoscap__nsinfo__entry}{oscap\_\-nsinfo\_\-entry} $\ast$ \hyperlink{structoscap__nsinfo_a1422b01cc1cfc798106b9d07a7b7db30}{root\_\-entry}}
\label{structoscap__nsinfo_a1422b01cc1cfc798106b9d07a7b7db30}

\begin{DoxyCompactList}\small\item\em namespace info entry for the root element \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Information on namespaces for given document. 

The documentation for this struct was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/common/elements.h\item 
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/common/public/\hyperlink{oscap_8h}{oscap.h}\end{DoxyCompactItemize}