\hypertarget{carto__auto__detect_8h}{\section{opal/mca/carto/auto\+\_\+detect/carto\+\_\+auto\+\_\+detect.h File Reference}
\label{carto__auto__detect_8h}\index{opal/mca/carto/auto\+\_\+detect/carto\+\_\+auto\+\_\+detect.\+h@{opal/mca/carto/auto\+\_\+detect/carto\+\_\+auto\+\_\+detect.\+h}}
}


The auto detect component discover automaticly the structure of the host.  


{\ttfamily \#include \char`\"{}opal\+\_\+config.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/mca.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/carto/carto.\+h\char`\"{}}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{carto__auto__detect_8h_ad811d568fcd8b3502cd9b91da5fd2072}{opal\+\_\+carto\+\_\+auto\+\_\+detect\+\_\+component\+\_\+query} (\hyperlink{mca_8h_a754b82edf8c7a63b09f7ee5270031bdd}{mca\+\_\+base\+\_\+module\+\_\+t} $\ast$$\ast$module, int $\ast$priority)
\begin{DoxyCompactList}\small\item\em carto query A\+P\+I function \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hypertarget{carto__auto__detect_8h_a233008fed973a27fae1b75c766af218e}{B\+E\+G\+I\+N\+\_\+\+C\+\_\+\+D\+E\+C\+L\+S O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C \\*
const \\*
\hyperlink{structopal__carto__base__component__2__0__0__t}{opal\+\_\+carto\+\_\+base\+\_\+component\+\_\+2\+\_\+0\+\_\+0\+\_\+t} \hyperlink{carto__auto__detect_8h_a233008fed973a27fae1b75c766af218e}{mca\+\_\+carto\+\_\+auto\+\_\+detect\+\_\+component}}\label{carto__auto__detect_8h_a233008fed973a27fae1b75c766af218e}

\begin{DoxyCompactList}\small\item\em Globally exported variable. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
The auto detect component discover automaticly the structure of the host. 



\subsection{Function Documentation}
\hypertarget{carto__auto__detect_8h_ad811d568fcd8b3502cd9b91da5fd2072}{\index{carto\+\_\+auto\+\_\+detect.\+h@{carto\+\_\+auto\+\_\+detect.\+h}!opal\+\_\+carto\+\_\+auto\+\_\+detect\+\_\+component\+\_\+query@{opal\+\_\+carto\+\_\+auto\+\_\+detect\+\_\+component\+\_\+query}}
\index{opal\+\_\+carto\+\_\+auto\+\_\+detect\+\_\+component\+\_\+query@{opal\+\_\+carto\+\_\+auto\+\_\+detect\+\_\+component\+\_\+query}!carto\+\_\+auto\+\_\+detect.\+h@{carto\+\_\+auto\+\_\+detect.\+h}}
\subsubsection[{opal\+\_\+carto\+\_\+auto\+\_\+detect\+\_\+component\+\_\+query}]{\setlength{\rightskip}{0pt plus 5cm}int opal\+\_\+carto\+\_\+auto\+\_\+detect\+\_\+component\+\_\+query (
\begin{DoxyParamCaption}
\item[{{\bf mca\+\_\+base\+\_\+module\+\_\+t} $\ast$$\ast$}]{module, }
\item[{int $\ast$}]{priority}
\end{DoxyParamCaption}
)}}\label{carto__auto__detect_8h_ad811d568fcd8b3502cd9b91da5fd2072}


carto query A\+P\+I function 

Query function for carto components. Simply returns a priority to rank it against other available carto components (assumedly, only one component will be available per platform, but it's possible that there could be more than one available). 

References mca\+\_\+base\+\_\+param\+\_\+find(), and mca\+\_\+base\+\_\+param\+\_\+lookup\+\_\+int().

