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 66
|
\section{discover\_\-bus\_\-map Struct Reference}
\label{structdiscover__bus__map}\index{discover_bus_map@{discover\_\-bus\_\-map}}
{\tt \#include $<$discover.h$>$}
\subsection*{Data Fields}
\begin{CompactItemize}
\item
char $\ast$ {\bf name}
\item
int {\bf scan\_\-default}
\item
int {\bf scan\_\-never}
\item
{\bf discover\_\-sysdep\_\-raw\_\-func\_\-t} $\ast$ {\bf get\_\-raw}
\end{CompactItemize}
\subsection{Detailed Description}
Bus scanning information is loaded from the config file. The scan\_\-default member may be set to 0 to avoid scanning a specified bus. If the scan\_\-never flag is set, the bus will never be scanned; this behavior is controlled from the config file.
The function pointer exists to allow client code to override the sysdeps; it is used by the unit tests provided with Discover.
Definition at line 178 of file discover.h.
\subsection{Field Documentation}
\index{discover_bus_map@{discover\_\-bus\_\-map}!get_raw@{get\_\-raw}}
\index{get_raw@{get\_\-raw}!discover_bus_map@{discover\_\-bus\_\-map}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf discover\_\-sysdep\_\-raw\_\-func\_\-t}$\ast$ {\bf discover\_\-bus\_\-map::get\_\-raw}}\label{structdiscover__bus__map_o3}
Function pointer that will acquire data
Definition at line 186 of file discover.h.
Referenced by discover\_\-get\_\-devices().\index{discover_bus_map@{discover\_\-bus\_\-map}!name@{name}}
\index{name@{name}!discover_bus_map@{discover\_\-bus\_\-map}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf discover\_\-bus\_\-map::name}}\label{structdiscover__bus__map_o0}
Human-readable name
Definition at line 180 of file discover.h.
Referenced by discover\_\-conf\_\-get\_\-bus\_\-name().\index{discover_bus_map@{discover\_\-bus\_\-map}!scan_default@{scan\_\-default}}
\index{scan_default@{scan\_\-default}!discover_bus_map@{discover\_\-bus\_\-map}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf discover\_\-bus\_\-map::scan\_\-default}}\label{structdiscover__bus__map_o1}
Boolean (sort of) defining the bus's default behavior
Definition at line 182 of file discover.h.\index{discover_bus_map@{discover\_\-bus\_\-map}!scan_never@{scan\_\-never}}
\index{scan_never@{scan\_\-never}!discover_bus_map@{discover\_\-bus\_\-map}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf discover\_\-bus\_\-map::scan\_\-never}}\label{structdiscover__bus__map_o2}
Never scan this bus if true
Definition at line 184 of file discover.h.
Referenced by discover\_\-get\_\-devices().
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}
|