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
|
\section{discover\_\-error Struct Reference}
\label{structdiscover__error}\index{discover_error@{discover\_\-error}}
{\tt \#include $<$discover.h$>$}
\subsection*{Data Fields}
\begin{CompactItemize}
\item
{\bf discover\_\-error\_\-code\_\-t} {\bf code}
\item
char $\ast$ {\bf message}
\item
{\bf discover\_\-create\_\-message\_\-t} $\ast$ {\bf create\_\-message}
\end{CompactItemize}
\subsection{Detailed Description}
All functions that perform some action (as opposed to returning a member of a structure, for example) take an argument of this type. It is used to report that the action succeeded, or why it failed.
Definition at line 106 of file discover.h.
\subsection{Field Documentation}
\index{discover_error@{discover\_\-error}!code@{code}}
\index{code@{code}!discover_error@{discover\_\-error}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf discover\_\-error\_\-code\_\-t} {\bf discover\_\-error::code}}\label{structdiscover__error_o0}
Return the error code value that is checked
Definition at line 108 of file discover.h.
Referenced by \_\-real\_\-discover\_\-conf\_\-get\_\-bus\_\-map(), \_\-real\_\-discover\_\-conf\_\-get\_\-bus\_\-map\_\-by\_\-name(), discover\_\-conf\_\-append\_\-url(), discover\_\-conf\_\-get\_\-bus\_\-map(), discover\_\-conf\_\-get\_\-bus\_\-map\_\-by\_\-name(), discover\_\-conf\_\-get\_\-urls(), discover\_\-conf\_\-insert\_\-url(), discover\_\-conf\_\-load(), discover\_\-conf\_\-name\_\-to\_\-bus(), discover\_\-device\_\-find(), discover\_\-device\_\-get\_\-data(), discover\_\-error\_\-new(), discover\_\-get\_\-devices(), discover\_\-strerror(), discover\_\-xml\_\-get\_\-busclasses(), discover\_\-xml\_\-get\_\-data\_\-urls(), discover\_\-xml\_\-get\_\-devices(), discover\_\-xml\_\-get\_\-urls(), discover\_\-xml\_\-get\_\-vendors(), discover\_\-xml\_\-merge\_\-busclass\_\-url(), discover\_\-xml\_\-merge\_\-device\_\-url(), discover\_\-xml\_\-merge\_\-vendor\_\-url(), and discover\_\-xml\_\-version\_\-cmp().\index{discover_error@{discover\_\-error}!create_message@{create\_\-message}}
\index{create_message@{create\_\-message}!discover_error@{discover\_\-error}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf discover\_\-create\_\-message\_\-t}$\ast$ {\bf discover\_\-error::create\_\-message}}\label{structdiscover__error_o2}
Function pointer into a routine to create a message for us
Definition at line 112 of file discover.h.
Referenced by discover\_\-conf\_\-load(), discover\_\-device\_\-find(), and discover\_\-error\_\-new().\index{discover_error@{discover\_\-error}!message@{message}}
\index{message@{message}!discover_error@{discover\_\-error}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf discover\_\-error::message}}\label{structdiscover__error_o1}
String containing the message from the last error
Definition at line 110 of file discover.h.
Referenced by discover\_\-error\_\-free(), and discover\_\-error\_\-new().
The documentation for this struct was generated from the following file:\begin{CompactItemize}
\item
/home/pere/src/debiancvs/pkg-discover/discover/trunk/include/discover/{\bf discover.h}\end{CompactItemize}
|