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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
|
\section{/home/pere/src/debiancvs/pkg-discover/discover/trunk/include/discover/sysdep.h File Reference}
\label{sysdep_8h}\index{/home/pere/src/debiancvs/pkg-discover/discover/trunk/include/discover/sysdep.h@{/home/pere/src/debiancvs/pkg-discover/discover/trunk/include/discover/sysdep.h}}
Private interface for system dependencies.
\subsection*{Typedefs}
\begin{CompactItemize}
\item
typedef {\bf discover\_\-sysdep\_\-device\_\-data} {\bf discover\_\-sysdep\_\-device\_\-data\_\-t}
\item
typedef {\bf discover\_\-sysdep\_\-data} {\bf discover\_\-sysdep\_\-data\_\-t}
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item
{\bf discover\_\-sysdep\_\-data\_\-t} $\ast$ {\bf \_\-discover\_\-sysdep\_\-data\_\-new} (void)
\item
{\bf discover\_\-sysdep\_\-device\_\-data\_\-t} $\ast$ {\bf \_\-discover\_\-sysdep\_\-device\_\-data\_\-new} (void)
\item
void {\bf \_\-discover\_\-free\_\-sysdep\_\-data} ({\bf discover\_\-sysdep\_\-data\_\-t} $\ast$)
\item
void {\bf \_\-discover\_\-free\_\-sysdep\_\-device\_\-data} ({\bf discover\_\-sysdep\_\-device\_\-data\_\-t} $\ast$)
\item
{\bf discover\_\-sysdep\_\-data\_\-t} $\ast$ {\bf \_\-discover\_\-get\_\-ata\_\-raw} (void)
\item
{\bf discover\_\-sysdep\_\-data\_\-t} $\ast$ {\bf \_\-discover\_\-get\_\-pci\_\-raw} (void)
\item
{\bf discover\_\-sysdep\_\-data\_\-t} $\ast$ {\bf \_\-discover\_\-get\_\-usb\_\-raw} (void)
\item
{\bf discover\_\-sysdep\_\-data\_\-t} $\ast$ {\bf \_\-discover\_\-get\_\-pcmcia\_\-raw} (void)
\item
{\bf discover\_\-sysdep\_\-data\_\-t} $\ast$ {\bf \_\-discover\_\-get\_\-scsi\_\-raw} (void)
\end{CompactItemize}
\subsection{Detailed Description}
Private interface for system dependencies.
Definition in file {\bf sysdep.h}.
\subsection{Typedef Documentation}
\index{sysdep.h@{sysdep.h}!discover_sysdep_data_t@{discover\_\-sysdep\_\-data\_\-t}}
\index{discover_sysdep_data_t@{discover\_\-sysdep\_\-data\_\-t}!sysdep.h@{sysdep.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf discover\_\-sysdep\_\-data} {\bf discover\_\-sysdep\_\-data\_\-t}}\label{sysdep_8h_a1}
Linked list node, used to return hardware-identification information discovered by the system-dependent interface \index{sysdep.h@{sysdep.h}!discover_sysdep_device_data_t@{discover\_\-sysdep\_\-device\_\-data\_\-t}}
\index{discover_sysdep_device_data_t@{discover\_\-sysdep\_\-device\_\-data\_\-t}!sysdep.h@{sysdep.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf discover\_\-sysdep\_\-device\_\-data} {\bf discover\_\-sysdep\_\-device\_\-data\_\-t}}\label{sysdep_8h_a0}
Linked list node, used to return data specific to the sysdep/device in question, to be passed to the user under the \char`\"{}device\char`\"{} data path.
\subsection{Function Documentation}
\index{sysdep.h@{sysdep.h}!_discover_free_sysdep_data@{\_\-discover\_\-free\_\-sysdep\_\-data}}
\index{_discover_free_sysdep_data@{\_\-discover\_\-free\_\-sysdep\_\-data}!sysdep.h@{sysdep.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void \_\-discover\_\-free\_\-sysdep\_\-data ({\bf discover\_\-sysdep\_\-data\_\-t} $\ast$ {\em head})}\label{sysdep_8h_a4}
Release the memory that the sysdep data was holding.
Definition at line 92 of file sysdep.c.
References \_\-discover\_\-free\_\-sysdep\_\-device\_\-data(), discover\_\-sysdep\_\-data::busclass, discover\_\-sysdep\_\-data::data, discover\_\-sysdep\_\-data::model, discover\_\-sysdep\_\-data::next, and discover\_\-sysdep\_\-data::vendor.
Referenced by discover\_\-get\_\-devices().\index{sysdep.h@{sysdep.h}!_discover_free_sysdep_device_data@{\_\-discover\_\-free\_\-sysdep\_\-device\_\-data}}
\index{_discover_free_sysdep_device_data@{\_\-discover\_\-free\_\-sysdep\_\-device\_\-data}!sysdep.h@{sysdep.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void \_\-discover\_\-free\_\-sysdep\_\-device\_\-data ({\bf discover\_\-sysdep\_\-device\_\-data\_\-t} $\ast$ {\em head})}\label{sysdep_8h_a5}
Release memory being held by device-specific data.
Definition at line 117 of file sysdep.c.
References discover\_\-sysdep\_\-device\_\-data::next, discover\_\-sysdep\_\-device\_\-data::path, and discover\_\-sysdep\_\-device\_\-data::value.
Referenced by \_\-discover\_\-free\_\-sysdep\_\-data().\index{sysdep.h@{sysdep.h}!_discover_sysdep_data_new@{\_\-discover\_\-sysdep\_\-data\_\-new}}
\index{_discover_sysdep_data_new@{\_\-discover\_\-sysdep\_\-data\_\-new}!sysdep.h@{sysdep.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf discover\_\-sysdep\_\-data\_\-t}$\ast$ \_\-discover\_\-sysdep\_\-data\_\-new (void)}\label{sysdep_8h_a2}
Create a new instance of sysdep data.
Definition at line 66 of file sysdep.c.
References discover\_\-sysdep\_\-data::busclass, discover\_\-sysdep\_\-data::data, discover\_\-sysdep\_\-data::model, discover\_\-sysdep\_\-data::next, and discover\_\-sysdep\_\-data::vendor.\index{sysdep.h@{sysdep.h}!_discover_sysdep_device_data_new@{\_\-discover\_\-sysdep\_\-device\_\-data\_\-new}}
\index{_discover_sysdep_device_data_new@{\_\-discover\_\-sysdep\_\-device\_\-data\_\-new}!sysdep.h@{sysdep.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf discover\_\-sysdep\_\-device\_\-data\_\-t}$\ast$ \_\-discover\_\-sysdep\_\-device\_\-data\_\-new (void)}\label{sysdep_8h_a3}
Create a new instance of sysdep device data.
Definition at line 80 of file sysdep.c.
References discover\_\-sysdep\_\-device\_\-data::next, discover\_\-sysdep\_\-device\_\-data::path, and discover\_\-sysdep\_\-device\_\-data::value.
|