\hypertarget{votAttribute_8c}{ \section{votAttribute.c File Reference} \label{votAttribute_8c}\index{votAttribute.c@{votAttribute.c}} } (Internal) Methods to manage XML attributes. {\tt \#include $<$string.h$>$}\par {\tt \#include $<$stdio.h$>$}\par {\tt \#include $<$stdlib.h$>$}\par {\tt \#include $<$ctype.h$>$}\par {\tt \#include \char`\"{}votParseP.h\char`\"{}}\par \subsection*{Functions} \begin{CompactItemize} \item int \hyperlink{votAttribute_8c_0f451b6e1a9c2b2cd5c4e29219dda5d3}{vot\_\-attrSet} (AttrBlock $\ast$ablock, char $\ast$name, char $\ast$value) \begin{CompactList}\small\item\em Set/Create an attributes (internal method). \item\end{CompactList}\item char $\ast$ \hyperlink{votAttribute_8c_bcd0d56898e2a62e86f081c65e8c6f2c}{vot\_\-attrGet} (AttrBlock $\ast$ablock, char $\ast$name) \begin{CompactList}\small\item\em Get an attribute's value (internal method). \item\end{CompactList}\item char $\ast$ \hyperlink{votAttribute_8c_cab6f8b4c5dc706456be2e68ae823ffe}{vot\_\-attrXML} (AttrBlock $\ast$ablock) \begin{CompactList}\small\item\em Get the attributes for an XML tag (internal method). \item\end{CompactList}\end{CompactItemize} \label{_details} \hypertarget{_details}{} \subsection{Detailed Description} (Internal) Methods to manage XML attributes. VOTATTRIBUTE.C -- (Internal) Methods to manage XML attributes. \begin{Desc} \item[Author:]Mike Fitzpatrick and Eric Timmermann \end{Desc} \begin{Desc} \item[Date:]8/03/09 \end{Desc} \subsection{Function Documentation} \hypertarget{votAttribute_8c_bcd0d56898e2a62e86f081c65e8c6f2c}{ \index{votAttribute.c@{votAttribute.c}!vot\_\-attrGet@{vot\_\-attrGet}} \index{vot\_\-attrGet@{vot\_\-attrGet}!votAttribute.c@{votAttribute.c}} \subsubsection[{vot\_\-attrGet}]{\setlength{\rightskip}{0pt plus 5cm}char $\ast$ vot\_\-attrGet (AttrBlock $\ast$ {\em ablock}, \/ char $\ast$ {\em name})}} \label{votAttribute_8c_bcd0d56898e2a62e86f081c65e8c6f2c} Get an attribute's value (internal method). vot\_\-attrGet -- Get an attribute's value (internal method). \begin{Desc} \item[Parameters:] \begin{description} \item[{\em $\ast$ablock}]An AttrBlock to insert these attributes \item[{\em $\ast$name}]A string that hold the name of an attribute \end{description} \end{Desc} \begin{Desc} \item[Returns:]Value of the attribute or NULL \end{Desc} \hypertarget{votAttribute_8c_0f451b6e1a9c2b2cd5c4e29219dda5d3}{ \index{votAttribute.c@{votAttribute.c}!vot\_\-attrSet@{vot\_\-attrSet}} \index{vot\_\-attrSet@{vot\_\-attrSet}!votAttribute.c@{votAttribute.c}} \subsubsection[{vot\_\-attrSet}]{\setlength{\rightskip}{0pt plus 5cm}status vot\_\-attrSet (AttrBlock $\ast$ {\em ablock}, \/ char $\ast$ {\em name}, \/ char $\ast$ {\em value})}} \label{votAttribute_8c_0f451b6e1a9c2b2cd5c4e29219dda5d3} Set/Create an attributes (internal method). vot\_\-attrSet -- Set/Create an attributes (internal method). \begin{Desc} \item[Parameters:] \begin{description} \item[{\em ablock}]An AttrBlock to insert these attributes. \item[{\em name}]A string that hold the name of an attribute. \item[{\em value}]A string that hold the value of an attribute. \end{description} \end{Desc} \begin{Desc} \item[Returns:]The status of the request. 1 Success, 0=FAIL.\end{Desc} \begin{Desc} \item[Warning:]If an attribute has no name/value, this will not create it. \end{Desc} \hypertarget{votAttribute_8c_cab6f8b4c5dc706456be2e68ae823ffe}{ \index{votAttribute.c@{votAttribute.c}!vot\_\-attrXML@{vot\_\-attrXML}} \index{vot\_\-attrXML@{vot\_\-attrXML}!votAttribute.c@{votAttribute.c}} \subsubsection[{vot\_\-attrXML}]{\setlength{\rightskip}{0pt plus 5cm}char $\ast$ vot\_\-attrXML (AttrBlock $\ast$ {\em ablock})}} \label{votAttribute_8c_cab6f8b4c5dc706456be2e68ae823ffe} Get the attributes for an XML tag (internal method). vot\_\-attrXML -- Get the attributes for an XML tag (internal method). \begin{Desc} \item[Parameters:] \begin{description} \item[{\em $\ast$ablock}]An AttrBlock to insert these attributes \end{description} \end{Desc} \begin{Desc} \item[Returns:]A string containing the attributes for an XML tag \end{Desc}