\hypertarget{orte_2mca_2notifier_2base_2base_8h}{\section{orte/mca/notifier/base/base.h File Reference}
\label{orte_2mca_2notifier_2base_2base_8h}\index{orte/mca/notifier/base/base.\+h@{orte/mca/notifier/base/base.\+h}}
}
{\ttfamily \#include \char`\"{}orte\+\_\+config.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/mca.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/class/opal\+\_\+object.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/class/opal\+\_\+list.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/mca/ess/ess.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/mca/notifier/notifier.\+h\char`\"{}}\\*
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structorte__notifier__base__selected__pair__t}{orte\+\_\+notifier\+\_\+base\+\_\+selected\+\_\+pair\+\_\+t}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_a0beebdabc56a8c48adc6515dc8c7a1d9}{\#define {\bfseries orte\+\_\+notifier\+\_\+base\+\_\+events\+\_\+init}()~do \{\} while (0)}\label{orte_2mca_2notifier_2base_2base_8h_a0beebdabc56a8c48adc6515dc8c7a1d9}

\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_a39000058fb87a7c39d0ed5690acebcbe}{\#define {\bfseries orte\+\_\+notifier\+\_\+base\+\_\+events\+\_\+finalize}()~do \{\} while (0)}\label{orte_2mca_2notifier_2base_2base_8h_a39000058fb87a7c39d0ed5690acebcbe}

\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_ac6d5677f1eb7a43368d0ce6a3ee42a4f}{{\bfseries O\+B\+J\+\_\+\+C\+L\+A\+S\+S\+\_\+\+D\+E\+C\+L\+A\+R\+A\+T\+I\+O\+N} (\hyperlink{structorte__notifier__base__selected__pair__t}{orte\+\_\+notifier\+\_\+base\+\_\+selected\+\_\+pair\+\_\+t})}\label{orte_2mca_2notifier_2base_2base_8h_ac6d5677f1eb7a43368d0ce6a3ee42a4f}

\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_aee45cb6ad0513947e40f6597dec811a7}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{orte_2mca_2notifier_2base_2base_8h_aee45cb6ad0513947e40f6597dec811a7}{orte\+\_\+notifier\+\_\+base\+\_\+open} (void)}\label{orte_2mca_2notifier_2base_2base_8h_aee45cb6ad0513947e40f6597dec811a7}

\begin{DoxyCompactList}\small\item\em \hyperlink{structFunction}{Function} for finding and opening either all M\+C\+A components, or the one that was specifically requested via a M\+C\+A parameter. \end{DoxyCompactList}\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_a6207494c0ff2d6637929977bc7f106f9}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int {\bfseries orte\+\_\+notifier\+\_\+base\+\_\+close} (void)}\label{orte_2mca_2notifier_2base_2base_8h_a6207494c0ff2d6637929977bc7f106f9}

\item 
O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{orte_2mca_2notifier_2base_2base_8h_ac3f86e25b4e4e218d5f24a033528d293}{orte\+\_\+notifier\+\_\+base\+\_\+select} (void)
\begin{DoxyCompactList}\small\item\em \hyperlink{structFunction}{Function} for selecting a set of components from all those that are available. \end{DoxyCompactList}\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_a7ddf05388742c7ee8c25073482bbe56e}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C void {\bfseries orte\+\_\+notifier\+\_\+log} (orte\+\_\+notifier\+\_\+base\+\_\+severity\+\_\+t severity, int errcode, const char $\ast$msg,...)}\label{orte_2mca_2notifier_2base_2base_8h_a7ddf05388742c7ee8c25073482bbe56e}

\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_a94a5a2a5480fcf3c48d65ce9e7f44fce}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C void {\bfseries orte\+\_\+notifier\+\_\+show\+\_\+help} (orte\+\_\+notifier\+\_\+base\+\_\+severity\+\_\+t severity, int errcode, const char $\ast$file, const char $\ast$topic,...)}\label{orte_2mca_2notifier_2base_2base_8h_a94a5a2a5480fcf3c48d65ce9e7f44fce}

\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_a4d3fffa4be1956fd4378877a59969b1c}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C void {\bfseries orte\+\_\+notifier\+\_\+log\+\_\+peer} (orte\+\_\+notifier\+\_\+base\+\_\+severity\+\_\+t severity, int errcode, \hyperlink{structorte__process__name__t}{orte\+\_\+process\+\_\+name\+\_\+t} $\ast$peer\+\_\+proc, const char $\ast$msg,...)}\label{orte_2mca_2notifier_2base_2base_8h_a4d3fffa4be1956fd4378877a59969b1c}

\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_acb654b0f0092660dc9e24f778c57e54c}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C const char $\ast$ {\bfseries orte\+\_\+notifier\+\_\+base\+\_\+sev2str} (orte\+\_\+notifier\+\_\+base\+\_\+severity\+\_\+t severity)}\label{orte_2mca_2notifier_2base_2base_8h_acb654b0f0092660dc9e24f778c57e54c}

\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_ab854c2cf85c299a0d9f1ad65d38a5b15}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C char $\ast$ {\bfseries orte\+\_\+notifier\+\_\+base\+\_\+peer\+\_\+log} (int errcode, \hyperlink{structorte__process__name__t}{orte\+\_\+process\+\_\+name\+\_\+t} $\ast$peer\+\_\+proc, const char $\ast$msg, va\+\_\+list ap)}\label{orte_2mca_2notifier_2base_2base_8h_ab854c2cf85c299a0d9f1ad65d38a5b15}

\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_a2a73b84adb0937329bd812172e0649bc}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C bool {\bfseries orte\+\_\+notifier\+\_\+base\+\_\+log\+\_\+selected}}\label{orte_2mca_2notifier_2base_2base_8h_a2a73b84adb0937329bd812172e0649bc}

\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_a0fa2a51a20fa99a1a43e4498c0d36755}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C bool {\bfseries orte\+\_\+notifier\+\_\+base\+\_\+help\+\_\+selected}}\label{orte_2mca_2notifier_2base_2base_8h_a0fa2a51a20fa99a1a43e4498c0d36755}

\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_ab6d63f63431ff5eb1cf1b83bf300f870}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C bool {\bfseries orte\+\_\+notifier\+\_\+base\+\_\+log\+\_\+peer\+\_\+selected}}\label{orte_2mca_2notifier_2base_2base_8h_ab6d63f63431ff5eb1cf1b83bf300f870}

\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_ae471581ad8e6f5a7e55658fb74dd9b95}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C bool {\bfseries orte\+\_\+notifier\+\_\+base\+\_\+log\+\_\+event\+\_\+selected}}\label{orte_2mca_2notifier_2base_2base_8h_ae471581ad8e6f5a7e55658fb74dd9b95}

\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_a01ba6c44e6168acfa980edeaa8cef374}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C \hyperlink{structopal__list__t}{opal\+\_\+list\+\_\+t} {\bfseries orte\+\_\+notifier\+\_\+log\+\_\+selected\+\_\+modules}}\label{orte_2mca_2notifier_2base_2base_8h_a01ba6c44e6168acfa980edeaa8cef374}

\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_ac45e8421b0f6d6bf66bf1df5ba6800b8}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C \hyperlink{structopal__list__t}{opal\+\_\+list\+\_\+t} {\bfseries orte\+\_\+notifier\+\_\+help\+\_\+selected\+\_\+modules}}\label{orte_2mca_2notifier_2base_2base_8h_ac45e8421b0f6d6bf66bf1df5ba6800b8}

\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_ab40fd06627d71f2f43ba7e834920b2ee}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C \hyperlink{structopal__list__t}{opal\+\_\+list\+\_\+t} {\bfseries orte\+\_\+notifier\+\_\+log\+\_\+peer\+\_\+selected\+\_\+modules}}\label{orte_2mca_2notifier_2base_2base_8h_ab40fd06627d71f2f43ba7e834920b2ee}

\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_ac7918b480b21948e79a99d772b515bdb}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C \hyperlink{structopal__list__t}{opal\+\_\+list\+\_\+t} {\bfseries orte\+\_\+notifier\+\_\+log\+\_\+event\+\_\+selected\+\_\+modules}}\label{orte_2mca_2notifier_2base_2base_8h_ac7918b480b21948e79a99d772b515bdb}

\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_a7ee31ae1211bfb0f6b1acc19bf47c2d1}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C \hyperlink{structopal__list__t}{opal\+\_\+list\+\_\+t} {\bfseries orte\+\_\+notifier\+\_\+base\+\_\+selected\+\_\+modules}}\label{orte_2mca_2notifier_2base_2base_8h_a7ee31ae1211bfb0f6b1acc19bf47c2d1}

\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_ac4c87c8f8accdbffe8cccae715a120a3}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int {\bfseries orte\+\_\+notifier\+\_\+base\+\_\+output}}\label{orte_2mca_2notifier_2base_2base_8h_ac4c87c8f8accdbffe8cccae715a120a3}

\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_a051b0c7294034d0257bef2cfb80d1f2f}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C \\*
orte\+\_\+notifier\+\_\+base\+\_\+severity\+\_\+t {\bfseries orte\+\_\+notifier\+\_\+threshold\+\_\+severity}}\label{orte_2mca_2notifier_2base_2base_8h_a051b0c7294034d0257bef2cfb80d1f2f}

\item 
\hypertarget{orte_2mca_2notifier_2base_2base_8h_aa722024aefdeae8dd138d6e073022a5c}{O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C \hyperlink{structopal__list__t}{opal\+\_\+list\+\_\+t} {\bfseries orte\+\_\+notifier\+\_\+base\+\_\+components\+\_\+available}}\label{orte_2mca_2notifier_2base_2base_8h_aa722024aefdeae8dd138d6e073022a5c}

\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{orte_2mca_2notifier_2base_2base_8h_ac3f86e25b4e4e218d5f24a033528d293}{\index{orte/mca/notifier/base/base.\+h@{orte/mca/notifier/base/base.\+h}!orte\+\_\+notifier\+\_\+base\+\_\+select@{orte\+\_\+notifier\+\_\+base\+\_\+select}}
\index{orte\+\_\+notifier\+\_\+base\+\_\+select@{orte\+\_\+notifier\+\_\+base\+\_\+select}!orte/mca/notifier/base/base.\+h@{orte/mca/notifier/base/base.\+h}}
\subsubsection[{orte\+\_\+notifier\+\_\+base\+\_\+select}]{\setlength{\rightskip}{0pt plus 5cm}O\+R\+T\+E\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int orte\+\_\+notifier\+\_\+base\+\_\+select (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{orte_2mca_2notifier_2base_2base_8h_ac3f86e25b4e4e218d5f24a033528d293}


\hyperlink{structFunction}{Function} for selecting a set of components from all those that are available. 

It is possible to select a subset of these components for any interface. The syntax is the following\+: \mbox{[} -\/mca notifier $<$list0$>$ \mbox{]} \mbox{[} -\/mca notifier\+\_\+log $<$list1$>$ \mbox{]} \mbox{[} -\/mca notifier\+\_\+help $<$list2$>$ \mbox{]} \mbox{[} -\/mca notifier\+\_\+log\+\_\+peer $<$list3$>$ \mbox{]} \mbox{[} -\/mca notifier\+\_\+log\+\_\+event $<$list4$>$ \mbox{]} Rules\+: . $<$list0$>$ empty means nothing selected . $<$list0$>$ to $<$list4$>$ = comma separated lists of component names . $<$list1$>$ to $<$list4$>$ may be one of\+: . subsets of $<$list0$>$ . \char`\"{}none\char`\"{} keyword (means empty) . 1 of $<$list1$>$ to $<$list4$>$ empty means = $<$list0$>$ Last point makes it possible to preserve the way it works today

Examples\+: 1) -\/mca notifier syslog,smtp --$>$ syslog and smtp are selected for the log, show\+\_\+help, log\+\_\+peer and log\+\_\+event interfaces. 2) -\/mca notifier\+\_\+log syslog --$>$ no interface is activated, no component is selected 3) -\/mca notifier syslog -\/mca notifier\+\_\+help none -\/mca notifier\+\_\+log\+\_\+peer none -\/mca notifier\+\_\+log\+\_\+event none --$>$ only the log interface is activated, with the syslog component 4) -\/mca notifier syslog,smtp,hnp -\/mca notifier\+\_\+help syslog -\/mca notifier\+\_\+log\+\_\+peer smtp -\/mca notifier\+\_\+log\+\_\+event none --$>$ the log interface is activated, with the syslog, smtp and hnp components the log\+\_\+help interface is activated, with the syslog component the log\+\_\+peer interface is activated, with the smtp component the log\+\_\+event interface is not activated 

References mca\+\_\+base\+\_\+component\+\_\+2\+\_\+0\+\_\+0\+\_\+t\+::mca\+\_\+component\+\_\+name, mca\+\_\+base\+\_\+component\+\_\+2\+\_\+0\+\_\+0\+\_\+t\+::mca\+\_\+query\+\_\+component, opal\+\_\+list\+\_\+get\+\_\+end(), opal\+\_\+list\+\_\+get\+\_\+first(), opal\+\_\+list\+\_\+get\+\_\+next, and opal\+\_\+output\+\_\+verbose().



Referenced by orte\+\_\+ess\+\_\+base\+\_\+orted\+\_\+setup().

