\doxysection{canada\+\_\+compress.\+h}
\hypertarget{canada__compress_8h_source}{}\label{canada__compress_8h_source}\index{/src/blacknest/bds/bds/bdsDataLib/canada\_compress.h@{/src/blacknest/bds/bds/bdsDataLib/canada\_compress.h}}
\mbox{\hyperlink{canada__compress_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*\ Copyright\ 1994\ Science\ Applications\ International\ Corporation}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ This\ software\ may\ not\ be\ used,\ copied,\ modified,\ or\ distributed\ without}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ the\ express\ written\ permission\ of\ Science\ Applications\ International}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ Corporation\ (SAIC).\ \ SAIC\ makes\ no\ warranty\ of\ any\ kind\ with\ regard}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ to\ this\ software,\ including,\ but\ not\ limited\ to,\ the\ implied\ warranties}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ of\ fitness\ for\ a\ particular\ purpose.}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00009\ }
\DoxyCodeLine{00010\ \textcolor{comment}{/*\ \#pragma\ ident\ "{}@(\#)canada\_compress.h\ 1.1\ 05/18/00\ \ \ \ SAIC"{}\ */}}
\DoxyCodeLine{00011\ }
\DoxyCodeLine{00012\ \textcolor{preprocessor}{\#include\ <arpa/inet.h>}}
\DoxyCodeLine{00013\ }
\DoxyCodeLine{00014\ \textcolor{preprocessor}{\#ifndef\ CANADACOMP\_H}}
\DoxyCodeLine{00015\ \textcolor{preprocessor}{\#define\ CANADACOMP\_H}}
\DoxyCodeLine{00016\ }
\DoxyCodeLine{00017\ \textcolor{preprocessor}{\#define\ CANCOMP\_ERR\ -\/1\ \ }\textcolor{comment}{/*\ unrecoverable\ error\ (malloc\ fails)\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00018\ \textcolor{preprocessor}{\#define\ CANCOMP\_SUCCESS\ \ 0\ \ }\textcolor{comment}{/*\ success\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00019\ \textcolor{preprocessor}{\#define\ CANCOMP\_NOT\_20\ \ \ 1\ \ }\textcolor{comment}{/*\ number\ of\ samples\ not\ divisible\ by\ 20\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00020\ \textcolor{preprocessor}{\#define\ CANCOMP\_CORRUPT\ \ 2\ \ }\textcolor{comment}{/*\ corrupted\ call\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00021\ \textcolor{preprocessor}{\#define\ CANCOMP\_EXCEED\ \ \ 3\ \ }\textcolor{comment}{/*\ number\ of\ bytes\ available\ in\ compressed}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ data\ exceeded\ during\ decompression\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00024\ }
\DoxyCodeLine{00026\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{canada__compress_8h_a51ae1dec141cdbc9470b5faa9039dc77}{canada\_uncompress}}(\textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{char}\ *b,\ uint32\_t\ *y,\ \textcolor{keywordtype}{int}\ *n,\ \textcolor{keywordtype}{int}\ m,}
\DoxyCodeLine{00027\ \ \ \ \ \ \ \ \ \ \ \ \ uint32\_t\ *v0);}
\DoxyCodeLine{00028\ }
\DoxyCodeLine{00030\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{canada__compress_8h_a845f65c629f046cd36ae207d1008713c}{canada\_compress}}(\textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{char}\ *b,\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{long}\ *y,\ \textcolor{keywordtype}{int}\ *n,\ \textcolor{keywordtype}{int}\ m,}
\DoxyCodeLine{00031\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{long}\ *v0);}
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ CANADACOMP\_H\ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
