\section{URL list XML parsing}
\label{group__url__xml}\index{URL list XML parsing@{URL list XML parsing}}
\subsection*{Functions}
\begin{CompactItemize}
\item 
{\bf discover\_\-xml\_\-url\_\-t} $\ast$ {\bf discover\_\-xml\_\-get\_\-urls} ({\bf discover\_\-error\_\-t} $\ast$status)
\item 
void {\bf discover\_\-xml\_\-free\_\-urls} (void)
\item 
{\bf discover\_\-xml\_\-url\_\-t} $\ast$ {\bf discover\_\-xml\_\-get\_\-data\_\-urls} ({\bf discover\_\-bus\_\-t} bus, {\bf discover\_\-filetype\_\-t} filetype, {\bf discover\_\-error\_\-t} $\ast$status)
\item 
void {\bf discover\_\-xml\_\-free\_\-data\_\-urls} (void)
\item 
{\bf discover\_\-xml\_\-url\_\-t} $\ast$ {\bf discover\_\-xml\_\-url\_\-new} (void)
\item 
void {\bf discover\_\-xml\_\-url\_\-copy} ({\bf discover\_\-xml\_\-url\_\-t} $\ast$src, {\bf discover\_\-xml\_\-url\_\-t} $\ast$dst)
\item 
char $\ast$ {\bf discover\_\-xml\_\-url\_\-get\_\-url} ({\bf discover\_\-xml\_\-url\_\-t} $\ast$url)
\item 
char $\ast$ {\bf discover\_\-xml\_\-url\_\-get\_\-label} ({\bf discover\_\-xml\_\-url\_\-t} $\ast$url)
\item 
char $\ast$ {\bf discover\_\-xml\_\-url\_\-get\_\-bus} ({\bf discover\_\-xml\_\-url\_\-t} $\ast$url)
\item 
char $\ast$ {\bf discover\_\-xml\_\-url\_\-get\_\-type} ({\bf discover\_\-xml\_\-url\_\-t} $\ast$url)
\item 
{\bf discover\_\-xml\_\-url\_\-t} $\ast$ {\bf discover\_\-xml\_\-url\_\-get\_\-next} ({\bf discover\_\-xml\_\-url\_\-t} $\ast$url)
\item 
{\bf discover\_\-xml\_\-url\_\-t} $\ast$ {\bf discover\_\-xml\_\-url\_\-get\_\-last} ({\bf discover\_\-xml\_\-url\_\-t} $\ast$url)
\item 
void {\bf discover\_\-xml\_\-url\_\-free} ({\bf discover\_\-xml\_\-url\_\-t} $\ast$urls)
\end{CompactItemize}


\subsection{Function Documentation}
\index{url_xml@{url\_\-xml}!discover_xml_free_data_urls@{discover\_\-xml\_\-free\_\-data\_\-urls}}
\index{discover_xml_free_data_urls@{discover\_\-xml\_\-free\_\-data\_\-urls}!url_xml@{url\_\-xml}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void discover\_\-xml\_\-free\_\-data\_\-urls (void)}\label{group__url__xml_ga3}


Free the list of data URLs. 

Definition at line 310 of file url-xml.c.

References BUS\_\-COUNT, and discover\_\-xml\_\-url\_\-free().\index{url_xml@{url\_\-xml}!discover_xml_free_urls@{discover\_\-xml\_\-free\_\-urls}}
\index{discover_xml_free_urls@{discover\_\-xml\_\-free\_\-urls}!url_xml@{url\_\-xml}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void discover\_\-xml\_\-free\_\-urls (void)}\label{group__url__xml_ga1}


Free the list of URLs. 

Definition at line 244 of file url-xml.c.

References discover\_\-xml\_\-url\_\-free().\index{url_xml@{url\_\-xml}!discover_xml_get_data_urls@{discover\_\-xml\_\-get\_\-data\_\-urls}}
\index{discover_xml_get_data_urls@{discover\_\-xml\_\-get\_\-data\_\-urls}!url_xml@{url\_\-xml}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf discover\_\-xml\_\-url\_\-t}$\ast$ discover\_\-xml\_\-get\_\-data\_\-urls ({\bf discover\_\-bus\_\-t} {\em bus}, {\bf discover\_\-filetype\_\-t} {\em filetype}, {\bf discover\_\-error\_\-t} $\ast$ {\em status})}\label{group__url__xml_ga2}


Get the list of data URLs, based on the bus type and type of data required.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em bus}]Bus in question \item[{\em filetype}]Type of file (vendor, busclass, or device) \item[{\em status}]Address in which to place status report \end{description}
\end{Desc}


Definition at line 261 of file url-xml.c.

References discover\_\-error::code, discover\_\-conf\_\-get\_\-bus\_\-name(), discover\_\-conf\_\-get\_\-filetype\_\-name(), DISCOVER\_\-EDATANOTFOUND, discover\_\-xml\_\-get\_\-urls(), discover\_\-xml\_\-url\_\-copy(), and discover\_\-xml\_\-url\_\-new().

Referenced by discover\_\-xml\_\-get\_\-busclasses(), discover\_\-xml\_\-get\_\-devices(), and discover\_\-xml\_\-get\_\-vendors().\index{url_xml@{url\_\-xml}!discover_xml_get_urls@{discover\_\-xml\_\-get\_\-urls}}
\index{discover_xml_get_urls@{discover\_\-xml\_\-get\_\-urls}!url_xml@{url\_\-xml}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf discover\_\-xml\_\-url\_\-t}$\ast$ discover\_\-xml\_\-get\_\-urls ({\bf discover\_\-error\_\-t} $\ast$ {\em status})}\label{group__url__xml_ga0}


Get the list of URLs from which bus and device data will be retrieved.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em status}]Address in which to place status report \end{description}
\end{Desc}


Definition at line 182 of file url-xml.c.

References discover\_\-error::code, discover\_\-conf\_\-get\_\-urls(), DISCOVER\_\-EIO, DISCOVER\_\-EXML, and discover\_\-xml\_\-url\_\-free().

Referenced by discover\_\-xml\_\-get\_\-data\_\-urls().\index{url_xml@{url\_\-xml}!discover_xml_url_copy@{discover\_\-xml\_\-url\_\-copy}}
\index{discover_xml_url_copy@{discover\_\-xml\_\-url\_\-copy}!url_xml@{url\_\-xml}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void discover\_\-xml\_\-url\_\-copy ({\bf discover\_\-xml\_\-url\_\-t} $\ast$ {\em src}, {\bf discover\_\-xml\_\-url\_\-t} $\ast$ {\em dst})}\label{group__url__xml_ga5}


Copy a URL structure.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em src}]Copy from (source) \item[{\em dst}]Copy to (destination) \end{description}
\end{Desc}


Definition at line 349 of file url-xml.c.

Referenced by discover\_\-xml\_\-get\_\-data\_\-urls().\index{url_xml@{url\_\-xml}!discover_xml_url_free@{discover\_\-xml\_\-url\_\-free}}
\index{discover_xml_url_free@{discover\_\-xml\_\-url\_\-free}!url_xml@{url\_\-xml}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void discover\_\-xml\_\-url\_\-free ({\bf discover\_\-xml\_\-url\_\-t} $\ast$ {\em urls})}\label{group__url__xml_ga12}


Free the URL or list of URLs.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em urls}]URL or list of URLs to free \end{description}
\end{Desc}


Definition at line 444 of file url-xml.c.

Referenced by discover\_\-conf\_\-free(), discover\_\-xml\_\-free\_\-data\_\-urls(), discover\_\-xml\_\-free\_\-urls(), and discover\_\-xml\_\-get\_\-urls().\index{url_xml@{url\_\-xml}!discover_xml_url_get_bus@{discover\_\-xml\_\-url\_\-get\_\-bus}}
\index{discover_xml_url_get_bus@{discover\_\-xml\_\-url\_\-get\_\-bus}!url_xml@{url\_\-xml}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ discover\_\-xml\_\-url\_\-get\_\-bus ({\bf discover\_\-xml\_\-url\_\-t} $\ast$ {\em url})}\label{group__url__xml_ga8}


Get the bus member of URL. 

Definition at line 398 of file url-xml.c.\index{url_xml@{url\_\-xml}!discover_xml_url_get_label@{discover\_\-xml\_\-url\_\-get\_\-label}}
\index{discover_xml_url_get_label@{discover\_\-xml\_\-url\_\-get\_\-label}!url_xml@{url\_\-xml}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ discover\_\-xml\_\-url\_\-get\_\-label ({\bf discover\_\-xml\_\-url\_\-t} $\ast$ {\em url})}\label{group__url__xml_ga7}


Get the label member of url. 

Definition at line 387 of file url-xml.c.\index{url_xml@{url\_\-xml}!discover_xml_url_get_last@{discover\_\-xml\_\-url\_\-get\_\-last}}
\index{discover_xml_url_get_last@{discover\_\-xml\_\-url\_\-get\_\-last}!url_xml@{url\_\-xml}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf discover\_\-xml\_\-url\_\-t}$\ast$ discover\_\-xml\_\-url\_\-get\_\-last ({\bf discover\_\-xml\_\-url\_\-t} $\ast$ {\em url})}\label{group__url__xml_ga11}


Get the last member of url. 

Definition at line 431 of file url-xml.c.\index{url_xml@{url\_\-xml}!discover_xml_url_get_next@{discover\_\-xml\_\-url\_\-get\_\-next}}
\index{discover_xml_url_get_next@{discover\_\-xml\_\-url\_\-get\_\-next}!url_xml@{url\_\-xml}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf discover\_\-xml\_\-url\_\-t}$\ast$ discover\_\-xml\_\-url\_\-get\_\-next ({\bf discover\_\-xml\_\-url\_\-t} $\ast$ {\em url})}\label{group__url__xml_ga10}


Get the next member of url. 

Definition at line 420 of file url-xml.c.

Referenced by discover\_\-xml\_\-get\_\-busclasses(), discover\_\-xml\_\-get\_\-devices(), and discover\_\-xml\_\-get\_\-vendors().\index{url_xml@{url\_\-xml}!discover_xml_url_get_type@{discover\_\-xml\_\-url\_\-get\_\-type}}
\index{discover_xml_url_get_type@{discover\_\-xml\_\-url\_\-get\_\-type}!url_xml@{url\_\-xml}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ discover\_\-xml\_\-url\_\-get\_\-type ({\bf discover\_\-xml\_\-url\_\-t} $\ast$ {\em url})}\label{group__url__xml_ga9}


Get the type member of url. 

Definition at line 409 of file url-xml.c.\index{url_xml@{url\_\-xml}!discover_xml_url_get_url@{discover\_\-xml\_\-url\_\-get\_\-url}}
\index{discover_xml_url_get_url@{discover\_\-xml\_\-url\_\-get\_\-url}!url_xml@{url\_\-xml}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ discover\_\-xml\_\-url\_\-get\_\-url ({\bf discover\_\-xml\_\-url\_\-t} $\ast$ {\em url})}\label{group__url__xml_ga6}


Get the url member of url. 

Definition at line 376 of file url-xml.c.

Referenced by discover\_\-xml\_\-get\_\-busclasses(), discover\_\-xml\_\-get\_\-devices(), and discover\_\-xml\_\-get\_\-vendors().\index{url_xml@{url\_\-xml}!discover_xml_url_new@{discover\_\-xml\_\-url\_\-new}}
\index{discover_xml_url_new@{discover\_\-xml\_\-url\_\-new}!url_xml@{url\_\-xml}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf discover\_\-xml\_\-url\_\-t}$\ast$ discover\_\-xml\_\-url\_\-new (void)}\label{group__url__xml_ga4}


Create and initialize a new (empty) URL structure. 

Definition at line 326 of file url-xml.c.

Referenced by discover\_\-conf\_\-get\_\-urls(), and discover\_\-xml\_\-get\_\-data\_\-urls().