\hypertarget{PKShared_8cpp}{\section{trunk/bwapi/\-Replay\-\_\-\-Tool/\-P\-K\-Shared.cpp \-File \-Reference}
\label{PKShared_8cpp}\index{trunk/bwapi/\-Replay\-\_\-\-Tool/\-P\-K\-Shared.\-cpp@{trunk/bwapi/\-Replay\-\_\-\-Tool/\-P\-K\-Shared.\-cpp}}
}
{\ttfamily \#include \char`\"{}\-P\-K\-Shared.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}../\-P\-K\-Lib/pklib.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-File\-Reader.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-File\-Writer.\-h\char`\"{}}\*
\-Include dependency graph for \-P\-K\-Shared.\-cpp\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{PKShared_8cpp__incl}
\end{center}
\end{figure}
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
unsigned \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{pklib_8h_a964bd6353cf2eebb49d5eaf78a27f6c4}{\-P\-K\-E\-X\-P\-O\-R\-T} \hyperlink{PKShared_8cpp_aa4e9c3361c905175afe4e87ac894d782}{read\-\_\-buf} (char $\ast$buf, unsigned \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} $\ast$\hyperlink{Detours_8h_a95789996d14aee93fe32f6d653deb7d0}{size}, void $\ast$\-\_\-param)
\item 
void \hyperlink{pklib_8h_a964bd6353cf2eebb49d5eaf78a27f6c4}{\-P\-K\-E\-X\-P\-O\-R\-T} \hyperlink{PKShared_8cpp_a6dec454b0349a95c9c6b20f2e4a8365a}{write\-\_\-buf} (char $\ast$buf, unsigned \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} $\ast$\hyperlink{Detours_8h_a95789996d14aee93fe32f6d653deb7d0}{size}, void $\ast$\-\_\-param)
\item 
bool \hyperlink{PKShared_8cpp_a8dd217e83b8730a8e326722895cc51cd}{\-Decompress\-Read} (void $\ast$p\-Output, size\-\_\-t output\-Size, \hyperlink{classFileReader}{\-File\-Reader} \&fr)
\item 
void \hyperlink{PKShared_8cpp_ad225a94e4c68d68d9ba135156ce1e979}{\-Compress\-Write} (void $\ast$p\-Input, size\-\_\-t input\-Size, \hyperlink{classFileWriter}{\-File\-Writer} \&fw)
\end{DoxyCompactItemize}
\subsection*{\-Variables}
\begin{DoxyCompactItemize}
\item 
\hyperlink{PKShared_8h_aed61d97d8aa8325a54d87780027c71e2}{\-\_\-\-Param} \hyperlink{PKShared_8cpp_a2c05330a4827447265e831f7319c03d3}{params}
\item 
char \hyperlink{PKShared_8cpp_a03cbafa7d064677c1a7555bbd60fa13d}{b\-Work\-Buff} \mbox{[}\hyperlink{pklib_8h_a150883e2c69696b828bdaf2a9e66bfdd}{\-E\-X\-P\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E}\mbox{]}
\item 
char \hyperlink{PKShared_8cpp_a14ade530a9b06c61ea9467889117291c}{b\-Work\-Buff2} \mbox{[}\hyperlink{pklib_8h_ad346fb60865d4f45ac17077a7209e1e0}{\-C\-M\-P\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E}\mbox{]}
\item 
char \hyperlink{PKShared_8cpp_a149594063098e255e14e70764dafee5e}{b\-Segment} \mbox{[}0x2000\mbox{]}
\end{DoxyCompactItemize}


\subsection{\-Function \-Documentation}
\hypertarget{PKShared_8cpp_ad225a94e4c68d68d9ba135156ce1e979}{\index{\-P\-K\-Shared.\-cpp@{\-P\-K\-Shared.\-cpp}!\-Compress\-Write@{\-Compress\-Write}}
\index{\-Compress\-Write@{\-Compress\-Write}!PKShared.cpp@{\-P\-K\-Shared.\-cpp}}
\subsubsection[{\-Compress\-Write}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Compress\-Write} (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{p\-Input, }
\item[{size\-\_\-t}]{input\-Size, }
\item[{{\bf \-File\-Writer} \&}]{fw}
\end{DoxyParamCaption}
)}}\label{PKShared_8cpp_ad225a94e4c68d68d9ba135156ce1e979}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=310pt]{PKShared_8cpp_ad225a94e4c68d68d9ba135156ce1e979_cgraph}
\end{center}
\end{figure}




\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{PKShared_8cpp_ad225a94e4c68d68d9ba135156ce1e979_icgraph}
\end{center}
\end{figure}


\hypertarget{PKShared_8cpp_a8dd217e83b8730a8e326722895cc51cd}{\index{\-P\-K\-Shared.\-cpp@{\-P\-K\-Shared.\-cpp}!\-Decompress\-Read@{\-Decompress\-Read}}
\index{\-Decompress\-Read@{\-Decompress\-Read}!PKShared.cpp@{\-P\-K\-Shared.\-cpp}}
\subsubsection[{\-Decompress\-Read}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Decompress\-Read} (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{p\-Output, }
\item[{size\-\_\-t}]{output\-Size, }
\item[{{\bf \-File\-Reader} \&}]{fr}
\end{DoxyParamCaption}
)}}\label{PKShared_8cpp_a8dd217e83b8730a8e326722895cc51cd}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=306pt]{PKShared_8cpp_a8dd217e83b8730a8e326722895cc51cd_cgraph}
\end{center}
\end{figure}




\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{PKShared_8cpp_a8dd217e83b8730a8e326722895cc51cd_icgraph}
\end{center}
\end{figure}


\hypertarget{PKShared_8cpp_aa4e9c3361c905175afe4e87ac894d782}{\index{\-P\-K\-Shared.\-cpp@{\-P\-K\-Shared.\-cpp}!read\-\_\-buf@{read\-\_\-buf}}
\index{read\-\_\-buf@{read\-\_\-buf}!PKShared.cpp@{\-P\-K\-Shared.\-cpp}}
\subsubsection[{read\-\_\-buf}]{\setlength{\rightskip}{0pt plus 5cm}unsigned {\bf int} {\bf \-P\-K\-E\-X\-P\-O\-R\-T} {\bf read\-\_\-buf} (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{buf, }
\item[{unsigned {\bf int} $\ast$}]{size, }
\item[{void $\ast$}]{\-\_\-param}
\end{DoxyParamCaption}
)}}\label{PKShared_8cpp_aa4e9c3361c905175afe4e87ac894d782}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{PKShared_8cpp_aa4e9c3361c905175afe4e87ac894d782_icgraph}
\end{center}
\end{figure}


\hypertarget{PKShared_8cpp_a6dec454b0349a95c9c6b20f2e4a8365a}{\index{\-P\-K\-Shared.\-cpp@{\-P\-K\-Shared.\-cpp}!write\-\_\-buf@{write\-\_\-buf}}
\index{write\-\_\-buf@{write\-\_\-buf}!PKShared.cpp@{\-P\-K\-Shared.\-cpp}}
\subsubsection[{write\-\_\-buf}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-P\-K\-E\-X\-P\-O\-R\-T} {\bf write\-\_\-buf} (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{buf, }
\item[{unsigned {\bf int} $\ast$}]{size, }
\item[{void $\ast$}]{\-\_\-param}
\end{DoxyParamCaption}
)}}\label{PKShared_8cpp_a6dec454b0349a95c9c6b20f2e4a8365a}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{PKShared_8cpp_a6dec454b0349a95c9c6b20f2e4a8365a_icgraph}
\end{center}
\end{figure}




\subsection{\-Variable \-Documentation}
\hypertarget{PKShared_8cpp_a149594063098e255e14e70764dafee5e}{\index{\-P\-K\-Shared.\-cpp@{\-P\-K\-Shared.\-cpp}!b\-Segment@{b\-Segment}}
\index{b\-Segment@{b\-Segment}!PKShared.cpp@{\-P\-K\-Shared.\-cpp}}
\subsubsection[{b\-Segment}]{\setlength{\rightskip}{0pt plus 5cm}char {\bf b\-Segment}\mbox{[}0x2000\mbox{]}}}\label{PKShared_8cpp_a149594063098e255e14e70764dafee5e}
\hypertarget{PKShared_8cpp_a03cbafa7d064677c1a7555bbd60fa13d}{\index{\-P\-K\-Shared.\-cpp@{\-P\-K\-Shared.\-cpp}!b\-Work\-Buff@{b\-Work\-Buff}}
\index{b\-Work\-Buff@{b\-Work\-Buff}!PKShared.cpp@{\-P\-K\-Shared.\-cpp}}
\subsubsection[{b\-Work\-Buff}]{\setlength{\rightskip}{0pt plus 5cm}char {\bf b\-Work\-Buff}\mbox{[}{\bf \-E\-X\-P\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E}\mbox{]}}}\label{PKShared_8cpp_a03cbafa7d064677c1a7555bbd60fa13d}
\hypertarget{PKShared_8cpp_a14ade530a9b06c61ea9467889117291c}{\index{\-P\-K\-Shared.\-cpp@{\-P\-K\-Shared.\-cpp}!b\-Work\-Buff2@{b\-Work\-Buff2}}
\index{b\-Work\-Buff2@{b\-Work\-Buff2}!PKShared.cpp@{\-P\-K\-Shared.\-cpp}}
\subsubsection[{b\-Work\-Buff2}]{\setlength{\rightskip}{0pt plus 5cm}char {\bf b\-Work\-Buff2}\mbox{[}{\bf \-C\-M\-P\-\_\-\-B\-U\-F\-F\-E\-R\-\_\-\-S\-I\-Z\-E}\mbox{]}}}\label{PKShared_8cpp_a14ade530a9b06c61ea9467889117291c}
\hypertarget{PKShared_8cpp_a2c05330a4827447265e831f7319c03d3}{\index{\-P\-K\-Shared.\-cpp@{\-P\-K\-Shared.\-cpp}!params@{params}}
\index{params@{params}!PKShared.cpp@{\-P\-K\-Shared.\-cpp}}
\subsubsection[{params}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-\_\-\-Param} {\bf params}}}\label{PKShared_8cpp_a2c05330a4827447265e831f7319c03d3}
