File: structcpe__reference.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 (65 lines) | stat: -rw-r--r-- 3,392 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
63
64
65
\hypertarget{structcpe__reference}{
\section{cpe\_\-reference Struct Reference}
\label{structcpe__reference}\index{cpe\_\-reference@{cpe\_\-reference}}
}


CPE dictionary item reference.  


{\ttfamily \#include $<$cpedict\_\-priv.h$>$}\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__cpedict_gaee00962178fb91213d88ec68a82fed76}{cpe\_\-reference\_\-free} (struct \hyperlink{structcpe__reference}{cpe\_\-reference} $\ast$ref)
\item 
struct \hyperlink{structcpe__reference}{cpe\_\-reference} $\ast$ \hyperlink{group__cpedict_ga11b9a25c1ce0016980c0b12a248b4d77}{cpe\_\-reference\_\-new} (void)
\end{DoxyCompactItemize}
\begin{Indent}{\bf Getters}\par
{\em \label{_amgrpc9fd0bcb5385a65354c37f1bb504399d}
Return value is pointer to structure's member.

Do not free unless you null the pointer in the structure. Use remove function otherwise. }\begin{DoxyCompactItemize}
\item 
const char $\ast$ \hyperlink{group__cpedict_ga80a1387e6ddc4095686c9b5f17c35157}{cpe\_\-reference\_\-get\_\-href} (const struct \hyperlink{structcpe__reference}{cpe\_\-reference} $\ast$item)
\begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__reference}{cpe\_\-reference} functions to get href of reference \item\end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__cpedict_ga422ff1843f37106e2439f6d7770238b3}{cpe\_\-reference\_\-get\_\-content} (const struct \hyperlink{structcpe__reference}{cpe\_\-reference} $\ast$item)
\begin{DoxyCompactList}\small\item\em \hyperlink{structcpe__reference}{cpe\_\-reference} functions to get content of reference \item\end{DoxyCompactList}\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__cpedict_gadb69703b16983194d938120b22397b7b}{cpe\_\-reference\_\-set\_\-href} (struct \hyperlink{structcpe__reference}{cpe\_\-reference} $\ast$reference, const char $\ast$new\_\-href)
\item 
bool \hyperlink{group__cpedict_gae1d9834dd77e1f06739c3d214d584640}{cpe\_\-reference\_\-set\_\-content} (struct \hyperlink{structcpe__reference}{cpe\_\-reference} $\ast$reference, const char $\ast$new\_\-content)
\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structcpe__reference_ae22f14ca852267eae5cbd5436cc1b0b1}{
struct \hyperlink{structxml__metadata}{xml\_\-metadata} {\bfseries xml}}
\label{structcpe__reference_ae22f14ca852267eae5cbd5436cc1b0b1}

\item 
\hypertarget{structcpe__reference_a5e12f13452c3fee8fecc4c4f2065a470}{
char $\ast$ {\bfseries href}}
\label{structcpe__reference_a5e12f13452c3fee8fecc4c4f2065a470}

\item 
\hypertarget{structcpe__reference_a803f0fba9df643bdfbc89f124f2a072f}{
char $\ast$ {\bfseries content}}
\label{structcpe__reference_a803f0fba9df643bdfbc89f124f2a072f}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
CPE dictionary item reference. 

The documentation for this struct was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/CPE/\hyperlink{cpedict__priv_8c}{cpedict\_\-priv.c}\item 
/home/pvrabec/project/openscap/openscap-\/0.5.12/src/CPE/public/\hyperlink{cpedict_8h}{cpedict.h}\end{DoxyCompactItemize}