\hypertarget{signal_8c}{
\section{signal.c File Reference}
\label{signal_8c}\index{signal.c@{signal.c}}
}
Wrappers around the MSG\_\-signal call to reduce code per function.  


{\tt \#include \char`\"{}signal\_\-p.h\char`\"{}}\par
{\tt \#include \char`\"{}MSG/MSG\_\-pubdefs.h\char`\"{}}\par


Include dependency graph for signal.c:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=126pt]{signal_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{CompactItemize}
\item 
unsigned \hyperlink{signal_8c_a0}{\_\-signal} (unsigned stat, const char $\ast$rtn)
\begin{CompactList}\small\item\em Calls MSG\_\-signal with no parameters. \item\end{CompactList}\item 
unsigned \hyperlink{signal_8c_a1}{\_\-signal\-Txt} (unsigned stat, const char $\ast$rtn, const char $\ast$txt)
\begin{CompactList}\small\item\em Calls MSG\_\-signal with one (string) parameter. \item\end{CompactList}\item 
unsigned \hyperlink{signal_8c_a2}{\_\-signal\-Val} (unsigned stat, const char $\ast$rtn, int val)
\begin{CompactList}\small\item\em Calls MSG\_\-signal with one (integer) parameter. \item\end{CompactList}\item 
unsigned \hyperlink{signal_8c_a3}{\_\-signal\-Val2} (unsigned stat, const char $\ast$rtn, int val0, int val1)
\begin{CompactList}\small\item\em Calls MSG\_\-signal with one (integer) parameter. \item\end{CompactList}\item 
unsigned \hyperlink{signal_8c_a4}{\_\-signal\-Val3} (unsigned stat, const char $\ast$rtn, int val0, int val1, int val2)
\begin{CompactList}\small\item\em Calls MSG\_\-signal with one (integer) parameter. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Wrappers around the MSG\_\-signal call to reduce code per function. 

\begin{Desc}
\item[Author:]James Swain -- \href{mailto:jswain@slac.stanford.edu}{\tt jswain@slac.stanford.edu} \end{Desc}


\subsection{Function Documentation}
\hypertarget{signal_8c_a0}{
\index{signal.c@{signal.c}!_signal@{\_\-signal}}
\index{_signal@{\_\-signal}!signal.c@{signal.c}}
\subsubsection[\_\-signal]{\setlength{\rightskip}{0pt plus 5cm}unsigned \_\-signal (unsigned {\em stat}, const char $\ast$ {\em rtn})}}
\label{signal_8c_a0}


Calls MSG\_\-signal with no parameters. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em stat}]Error code \item[{\em rtn}]String identifying calling routine \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Modified error code with signalled bit set \end{Desc}
\hypertarget{signal_8c_a1}{
\index{signal.c@{signal.c}!_signalTxt@{\_\-signalTxt}}
\index{_signalTxt@{\_\-signalTxt}!signal.c@{signal.c}}
\subsubsection[\_\-signalTxt]{\setlength{\rightskip}{0pt plus 5cm}unsigned \_\-signal\-Txt (unsigned {\em stat}, const char $\ast$ {\em rtn}, const char $\ast$ {\em txt})}}
\label{signal_8c_a1}


Calls MSG\_\-signal with one (string) parameter. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em stat}]Error code \item[{\em rtn}]String identifying calling routine \item[{\em txt}]Text to be used in the message output \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Modified error code with signalled bit set \end{Desc}
\hypertarget{signal_8c_a2}{
\index{signal.c@{signal.c}!_signalVal@{\_\-signalVal}}
\index{_signalVal@{\_\-signalVal}!signal.c@{signal.c}}
\subsubsection[\_\-signalVal]{\setlength{\rightskip}{0pt plus 5cm}unsigned \_\-signal\-Val (unsigned {\em stat}, const char $\ast$ {\em rtn}, int {\em val})}}
\label{signal_8c_a2}


Calls MSG\_\-signal with one (integer) parameter. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em stat}]Error code \item[{\em rtn}]String identifying calling routine \item[{\em val}]Integer to be used in the message output \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Modified error code with signalled bit set \end{Desc}
\hypertarget{signal_8c_a3}{
\index{signal.c@{signal.c}!_signalVal2@{\_\-signalVal2}}
\index{_signalVal2@{\_\-signalVal2}!signal.c@{signal.c}}
\subsubsection[\_\-signalVal2]{\setlength{\rightskip}{0pt plus 5cm}unsigned \_\-signal\-Val2 (unsigned {\em stat}, const char $\ast$ {\em rtn}, int {\em val0}, int {\em val1})}}
\label{signal_8c_a3}


Calls MSG\_\-signal with one (integer) parameter. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em stat}]Error code \item[{\em rtn}]String identifying calling routine \item[{\em val0}]Integer to be used in the message output \item[{\em val1}]Integer to be used in the message output \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Modified error code with signalled bit set \end{Desc}
\hypertarget{signal_8c_a4}{
\index{signal.c@{signal.c}!_signalVal3@{\_\-signalVal3}}
\index{_signalVal3@{\_\-signalVal3}!signal.c@{signal.c}}
\subsubsection[\_\-signalVal3]{\setlength{\rightskip}{0pt plus 5cm}unsigned \_\-signal\-Val3 (unsigned {\em stat}, const char $\ast$ {\em rtn}, int {\em val0}, int {\em val1}, int {\em val2})}}
\label{signal_8c_a4}


Calls MSG\_\-signal with one (integer) parameter. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em stat}]Error code \item[{\em rtn}]String identifying calling routine \item[{\em val0}]Integer to be used in the message output \item[{\em val1}]Integer to be used in the message output \item[{\em val2}]Integer to be used in the message output \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Modified error code with signalled bit set \end{Desc}
