\hypertarget{ESX_8h}{
\section{ESX.h File Reference}
\label{ESX_8h}\index{ESX.h@{ESX.h}}
}
Event Stream Extract tools. 

\subsection*{Typedefs}
\begin{CompactItemize}
\item 
\hypertarget{ESX_8h_cb3d3ac8cfd268a868e891d11dd9bd56}{
typedef struct \hyperlink{struct__ESX__ctl}{\_\-ESX\_\-ctl} \hyperlink{ESX_8h_cb3d3ac8cfd268a868e891d11dd9bd56}{ESX\_\-ctl}}
\label{ESX_8h_cb3d3ac8cfd268a868e891d11dd9bd56}

\begin{CompactList}\small\item\em Typedef for struct \hyperlink{struct__ESX__ctl}{\_\-ESX\_\-ctl}. \item\end{CompactList}\item 
\hypertarget{ESX_8h_6737e534e7bc893e252c216c33406ebb}{
typedef struct \hyperlink{struct__EBF__dir}{\_\-EBF\_\-dir} \textbf{EBF\_\-dir}}
\label{ESX_8h_6737e534e7bc893e252c216c33406ebb}

\item 
\hypertarget{ESX_8h_7c54701bbe074ca06849168b87adca7e}{
typedef struct \hyperlink{struct__EBF__stream}{\_\-EBF\_\-stream} \textbf{EBF\_\-stream}}
\label{ESX_8h_7c54701bbe074ca06849168b87adca7e}

\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
\hypertarget{ESX_8h_8011afbe8567295db13fb705fc9ce721}{
unsigned int \textbf{ESX\_\-sizeof} (void)}
\label{ESX_8h_8011afbe8567295db13fb705fc9ce721}

\item 
\hypertarget{ESX_8h_f16a1b732de23cf377a3176ee969653c}{
void \textbf{ESX\_\-construct} (\hyperlink{struct__ESX__ctl}{ESX\_\-ctl} $\ast$esx)}
\label{ESX_8h_f16a1b732de23cf377a3176ee969653c}

\item 
\hypertarget{ESX_8h_d2d09419094c8f659ac397109a651e26}{
unsigned int \textbf{ESX\_\-establish} (\hyperlink{struct__ESX__ctl}{ESX\_\-ctl} $\ast$esx)}
\label{ESX_8h_d2d09419094c8f659ac397109a651e26}

\item 
\hypertarget{ESX_8h_db771e4c6f33f17f74bd60e3a163d77a}{
unsigned int \textbf{ESX\_\-set\_\-verbose} (\hyperlink{struct__ESX__ctl}{ESX\_\-ctl} $\ast$esx, unsigned int verbose)}
\label{ESX_8h_db771e4c6f33f17f74bd60e3a163d77a}

\item 
\hypertarget{ESX_8h_a1a43aaa0b80292326dc7a9407d3143e}{
void \textbf{ESX\_\-parse\_\-oname} (\hyperlink{struct__ESX__ctl}{ESX\_\-ctl} $\ast$esx, const char $\ast$s)}
\label{ESX_8h_a1a43aaa0b80292326dc7a9407d3143e}

\item 
\hypertarget{ESX_8h_7a4838fc6580028a43c6e727ab5a69eb}{
void \textbf{ESX\_\-parse\_\-ochunk} (\hyperlink{struct__ESX__ctl}{ESX\_\-ctl} $\ast$esx, const char $\ast$s)}
\label{ESX_8h_7a4838fc6580028a43c6e727ab5a69eb}

\item 
\hypertarget{ESX_8h_2aaa3e38493e20e03b881f96a0ab387f}{
void \textbf{ESX\_\-parse\_\-ichunk} (\hyperlink{struct__ESX__ctl}{ESX\_\-ctl} $\ast$esx, const char $\ast$s)}
\label{ESX_8h_2aaa3e38493e20e03b881f96a0ab387f}

\item 
\hypertarget{ESX_8h_8309bd6a77211c4d5b7812f3cb2daaf6}{
void \textbf{ESX\_\-parse\_\-bsize} (\hyperlink{struct__ESX__ctl}{ESX\_\-ctl} $\ast$esx, const char $\ast$s)}
\label{ESX_8h_8309bd6a77211c4d5b7812f3cb2daaf6}

\item 
\hypertarget{ESX_8h_7e3ac44220f1485aa74dd80972ca1aa7}{
void \textbf{ESX\_\-parse\_\-osize} (\hyperlink{struct__ESX__ctl}{ESX\_\-ctl} $\ast$esx, const char $\ast$s)}
\label{ESX_8h_7e3ac44220f1485aa74dd80972ca1aa7}

\item 
int \hyperlink{ESX_8h_18cdfe232c780be7ff31a29e75339a9e}{ESX\_\-evt\_\-declare} (\hyperlink{struct__ESX__ctl}{ESX\_\-ctl} $\ast$esx)
\begin{CompactList}\small\item\em Declares an input event has been seen. This information is used to determine whether to trigger the creation of a new output file. \item\end{CompactList}\item 
int \hyperlink{ESX_8h_564d94b14c93f7696282391f5de3afbe}{ESX\_\-dir\_\-write} (\hyperlink{struct__ESX__ctl}{ESX\_\-ctl} $\ast$esx, \hyperlink{struct__EBF__dir}{EBF\_\-dir} $\ast$dir)
\begin{CompactList}\small\item\em Writes the event. \item\end{CompactList}\item 
void \hyperlink{ESX_8h_97cc34bdc2c9b737f7f7e07d43b68dbb}{ESX\_\-close} (\hyperlink{struct__ESX__ctl}{ESX\_\-ctl} $\ast$esx)
\begin{CompactList}\small\item\em Closes the output stream. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Event Stream Extract tools. 

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


\footnotesize\begin{verbatim}

   CVS $Id: ESX.h,v 1.1 2007/02/14 01:06:38 russell Exp $
\end{verbatim}
\normalsize
 

\subsection{Function Documentation}
\hypertarget{ESX_8h_97cc34bdc2c9b737f7f7e07d43b68dbb}{
\index{ESX.h@{ESX.h}!ESX_close@{ESX\_\-close}}
\index{ESX_close@{ESX\_\-close}!ESX.h@{ESX.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void ESX\_\-close ({\bf ESX\_\-ctl} $\ast$ {\em esx})}}
\label{ESX_8h_97cc34bdc2c9b737f7f7e07d43b68dbb}


Closes the output stream. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em esx}]The control block \end{description}
\end{Desc}
\hypertarget{ESX_8h_564d94b14c93f7696282391f5de3afbe}{
\index{ESX.h@{ESX.h}!ESX_dir_write@{ESX\_\-dir\_\-write}}
\index{ESX_dir_write@{ESX\_\-dir\_\-write}!ESX.h@{ESX.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int ESX\_\-dir\_\-write ({\bf ESX\_\-ctl} $\ast$ {\em esx}, {\bf EBF\_\-dir} $\ast$ {\em dir})}}
\label{ESX_8h_564d94b14c93f7696282391f5de3afbe}


Writes the event. 

\begin{Desc}
\item[Returns:]Status\end{Desc}
\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em esx}]The control structure \item[{\em dir}]The directory of the event to write out \end{description}
\end{Desc}
\hypertarget{ESX_8h_18cdfe232c780be7ff31a29e75339a9e}{
\index{ESX.h@{ESX.h}!ESX_evt_declare@{ESX\_\-evt\_\-declare}}
\index{ESX_evt_declare@{ESX\_\-evt\_\-declare}!ESX.h@{ESX.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int ESX\_\-evt\_\-declare ({\bf ESX\_\-ctl} $\ast$ {\em esx})}}
\label{ESX_8h_18cdfe232c780be7ff31a29e75339a9e}


Declares an input event has been seen. This information is used to determine whether to trigger the creation of a new output file. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em esx}]The control structure \end{description}
\end{Desc}
