\hypertarget{zinflate_8c}{
\section{zinflate.c File Reference}
\label{zinflate_8c}\index{zinflate.c@{zinflate.c}}
}
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$stdlib.h$>$}\par
{\tt \#include $<$unistd.h$>$}\par
{\tt \#include $<$fcntl.h$>$}\par
{\tt \#include $<$sys/types.h$>$}\par
{\tt \#include $<$sys/stat.h$>$}\par
{\tt \#include $<$ZFS/ZLIB\_\-file\_\-inflate.h$>$}\par
{\tt \#include $<$ZFS/zinflate.h$>$}\par
{\tt \#include $<$MSG/MSG\_\-pubdefs.h$>$}\par
{\tt \#include $<$MSG/MSG\_\-printProc.h$>$}\par
{\tt \#include $<$PBS/TASK.h$>$}\par
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define \hyperlink{zinflate_8c_ee79ea870e3b3807cae3db5655993a7e}{ZLIB\_\-BUF\_\-SIZE}~0x4000
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
int \hyperlink{zinflate_8c_47cf231b04e0f5b7e261711061df645c}{zinflate} (const char $\ast$inName, const char $\ast$outName)
\item 
int \hyperlink{zinflate_8c_3c04138a5bfe5d72780bb7e82a18e627}{main} (int argc, char $\ast$$\ast$argv)
\end{CompactItemize}


\subsection{Detailed Description}
A file de-compression utility using the zlib decoder. 

\subsection{Define Documentation}
\hypertarget{zinflate_8c_ee79ea870e3b3807cae3db5655993a7e}{
\index{zinflate.c@{zinflate.c}!ZLIB\_\-BUF\_\-SIZE@{ZLIB\_\-BUF\_\-SIZE}}
\index{ZLIB\_\-BUF\_\-SIZE@{ZLIB\_\-BUF\_\-SIZE}!zinflate.c@{zinflate.c}}
\subsubsection[{ZLIB\_\-BUF\_\-SIZE}]{\setlength{\rightskip}{0pt plus 5cm}\#define ZLIB\_\-BUF\_\-SIZE~0x4000}}
\label{zinflate_8c_ee79ea870e3b3807cae3db5655993a7e}


The size in bytes of ZLIB data buffers. 

Referenced by zinflate().

\subsection{Function Documentation}
\hypertarget{zinflate_8c_3c04138a5bfe5d72780bb7e82a18e627}{
\index{zinflate.c@{zinflate.c}!main@{main}}
\index{main@{main}!zinflate.c@{zinflate.c}}
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main (int {\em argc}, \/  char $\ast$$\ast$ {\em argv})}}
\label{zinflate_8c_3c04138a5bfe5d72780bb7e82a18e627}


The UNIX application entry point.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em argc}]The number of command line arguments. \item[{\em argv}]Pointers to the command line arguments.\end{description}
\end{Desc}
\begin{Desc}
\item[Return values:]
\begin{description}
\item[{\em 0}]Success. \item[{\em -1}]Failure. \end{description}
\end{Desc}


References zinflate().\hypertarget{zinflate_8c_47cf231b04e0f5b7e261711061df645c}{
\index{zinflate.c@{zinflate.c}!zinflate@{zinflate}}
\index{zinflate@{zinflate}!zinflate.c@{zinflate.c}}
\subsubsection[{zinflate}]{\setlength{\rightskip}{0pt plus 5cm}int zinflate (const char $\ast$ {\em inName}, \/  const char $\ast$ {\em outName})}}
\label{zinflate_8c_47cf231b04e0f5b7e261711061df645c}


The VxWorks entry point. Decodes the input data and writes out the decoded data.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em inName}]The name of the input file to inflate. \item[{\em outName}]The name of the inflated output file.\end{description}
\end{Desc}
\begin{Desc}
\item[Return values:]
\begin{description}
\item[{\em 0}]Success. \item[{\em -1}]Failure. \end{description}
\end{Desc}


References ZLIB\_\-BUF\_\-SIZE, and ZLIB\_\-fileInflateToFile().

Referenced by main().