\hypertarget{m__memio_8h}{
\section{common/m\_\-memio.h File Reference}
\label{d9/d0e/m__memio_8h}\index{common/m\_\-memio.h@{common/m\_\-memio.h}}
}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \hyperlink{struct__MEMFILE}{\_\-MEMFILE} \hyperlink{m__memio_8h_a1e45c2b671a4a7c996e2f2f8edddce6f}{MEMFILE}
\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{m__memio_8h_a994115c838996d1160e859abea5db3ec}{mem\_\-rel\_\-t} \{ \hyperlink{m__memio_8h_a994115c838996d1160e859abea5db3eca6cea26243cb714ef3f164b70cf7e951f}{MEM\_\-SEEK\_\-SET}, 
\hyperlink{m__memio_8h_a994115c838996d1160e859abea5db3eca818f683b2d2a3c4bbd41ee64cfe4fe59}{MEM\_\-SEEK\_\-CUR}, 
\hyperlink{m__memio_8h_a994115c838996d1160e859abea5db3ecabda90e785e64cb891581b3eaaa9d5c8d}{MEM\_\-SEEK\_\-END}
 \}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{struct__MEMFILE}{MEMFILE} $\ast$ \hyperlink{m__memio_8h_aef571bcde2b35fc0233a5f439e918826}{mem\_\-fopen\_\-read} (void $\ast$\hyperlink{minilzo_8cpp_a45f7b98fb35f9a2d3399619c05b86063}{buf}, size\_\-t buflen)
\item 
size\_\-t \hyperlink{m__memio_8h_a20b0c07533b683a54a5b728c160b06bc}{mem\_\-fread} (void $\ast$\hyperlink{minilzo_8cpp_a45f7b98fb35f9a2d3399619c05b86063}{buf}, size\_\-t \hyperlink{lzoconf_8h_aab9257c30c984af77be6bc46d052d45d}{size}, size\_\-t nmemb, \hyperlink{struct__MEMFILE}{MEMFILE} $\ast$stream)
\item 
\hyperlink{struct__MEMFILE}{MEMFILE} $\ast$ \hyperlink{m__memio_8h_affa18dc261f9cd50aa00648ca213606d}{mem\_\-fopen\_\-write} (void)
\item 
size\_\-t \hyperlink{m__memio_8h_af13f0b39a67d472aa97c389f104d3bb6}{mem\_\-fwrite} (const void $\ast$\hyperlink{lzoconf_8h_aedc63c09328e8dcce47e667c1cb0e36b}{ptr}, size\_\-t \hyperlink{lzoconf_8h_aab9257c30c984af77be6bc46d052d45d}{size}, size\_\-t nmemb, \hyperlink{struct__MEMFILE}{MEMFILE} $\ast$stream)
\item 
void \hyperlink{m__memio_8h_a5aefd491f8eabbacbb5a983d5c74b220}{mem\_\-get\_\-buf} (\hyperlink{struct__MEMFILE}{MEMFILE} $\ast$stream, void $\ast$$\ast$\hyperlink{minilzo_8cpp_a45f7b98fb35f9a2d3399619c05b86063}{buf}, size\_\-t $\ast$buflen)
\item 
void \hyperlink{m__memio_8h_ab35f98620ce923dbda920ddd1768099a}{mem\_\-fclose} (\hyperlink{struct__MEMFILE}{MEMFILE} $\ast$stream)
\item 
long \hyperlink{m__memio_8h_ac44d6e988eae54c85265c75802a1d00b}{mem\_\-ftell} (\hyperlink{struct__MEMFILE}{MEMFILE} $\ast$stream)
\item 
int \hyperlink{m__memio_8h_a842c87bbadd820943cbf51af925351a3}{mem\_\-fseek} (\hyperlink{struct__MEMFILE}{MEMFILE} $\ast$stream, signed long offset, \hyperlink{m__memio_8h_a994115c838996d1160e859abea5db3ec}{mem\_\-rel\_\-t} whence)
\item 
size\_\-t \hyperlink{m__memio_8h_a96cb6974996eff0012bef736211b3047}{mem\_\-fsize} (\hyperlink{struct__MEMFILE}{MEMFILE} $\ast$stream)
\item 
char $\ast$ \hyperlink{m__memio_8h_a78db1842ff492bd6e940f421adbbb261}{mem\_\-fgetbuf} (\hyperlink{struct__MEMFILE}{MEMFILE} $\ast$stream)
\end{DoxyCompactItemize}


\subsection{Typedef Documentation}
\hypertarget{m__memio_8h_a1e45c2b671a4a7c996e2f2f8edddce6f}{
\index{m\_\-memio.h@{m\_\-memio.h}!MEMFILE@{MEMFILE}}
\index{MEMFILE@{MEMFILE}!m_memio.h@{m\_\-memio.h}}
\subsubsection[{MEMFILE}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf \_\-MEMFILE} {\bf MEMFILE}}}
\label{d9/d0e/m__memio_8h_a1e45c2b671a4a7c996e2f2f8edddce6f}


\subsection{Enumeration Type Documentation}
\hypertarget{m__memio_8h_a994115c838996d1160e859abea5db3ec}{
\index{m\_\-memio.h@{m\_\-memio.h}!mem\_\-rel\_\-t@{mem\_\-rel\_\-t}}
\index{mem\_\-rel\_\-t@{mem\_\-rel\_\-t}!m_memio.h@{m\_\-memio.h}}
\subsubsection[{mem\_\-rel\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf mem\_\-rel\_\-t}}}
\label{d9/d0e/m__memio_8h_a994115c838996d1160e859abea5db3ec}
\begin{Desc}
\item[Enumerator: ]\par
\begin{description}
\index{MEM\_\-SEEK\_\-SET@{MEM\_\-SEEK\_\-SET}!m\_\-memio.h@{m\_\-memio.h}}\index{m\_\-memio.h@{m\_\-memio.h}!MEM\_\-SEEK\_\-SET@{MEM\_\-SEEK\_\-SET}}\item[{\em 
\hypertarget{m__memio_8h_a994115c838996d1160e859abea5db3eca6cea26243cb714ef3f164b70cf7e951f}{
MEM\_\-SEEK\_\-SET}
\label{d9/d0e/m__memio_8h_a994115c838996d1160e859abea5db3eca6cea26243cb714ef3f164b70cf7e951f}
}]\index{MEM\_\-SEEK\_\-CUR@{MEM\_\-SEEK\_\-CUR}!m\_\-memio.h@{m\_\-memio.h}}\index{m\_\-memio.h@{m\_\-memio.h}!MEM\_\-SEEK\_\-CUR@{MEM\_\-SEEK\_\-CUR}}\item[{\em 
\hypertarget{m__memio_8h_a994115c838996d1160e859abea5db3eca818f683b2d2a3c4bbd41ee64cfe4fe59}{
MEM\_\-SEEK\_\-CUR}
\label{d9/d0e/m__memio_8h_a994115c838996d1160e859abea5db3eca818f683b2d2a3c4bbd41ee64cfe4fe59}
}]\index{MEM\_\-SEEK\_\-END@{MEM\_\-SEEK\_\-END}!m\_\-memio.h@{m\_\-memio.h}}\index{m\_\-memio.h@{m\_\-memio.h}!MEM\_\-SEEK\_\-END@{MEM\_\-SEEK\_\-END}}\item[{\em 
\hypertarget{m__memio_8h_a994115c838996d1160e859abea5db3ecabda90e785e64cb891581b3eaaa9d5c8d}{
MEM\_\-SEEK\_\-END}
\label{d9/d0e/m__memio_8h_a994115c838996d1160e859abea5db3ecabda90e785e64cb891581b3eaaa9d5c8d}
}]\end{description}
\end{Desc}



\subsection{Function Documentation}
\hypertarget{m__memio_8h_ab35f98620ce923dbda920ddd1768099a}{
\index{m\_\-memio.h@{m\_\-memio.h}!mem\_\-fclose@{mem\_\-fclose}}
\index{mem\_\-fclose@{mem\_\-fclose}!m_memio.h@{m\_\-memio.h}}
\subsubsection[{mem\_\-fclose}]{\setlength{\rightskip}{0pt plus 5cm}void mem\_\-fclose (
\begin{DoxyParamCaption}
\item[{{\bf MEMFILE} $\ast$}]{stream}
\end{DoxyParamCaption}
)}}
\label{d9/d0e/m__memio_8h_ab35f98620ce923dbda920ddd1768099a}
\hypertarget{m__memio_8h_a78db1842ff492bd6e940f421adbbb261}{
\index{m\_\-memio.h@{m\_\-memio.h}!mem\_\-fgetbuf@{mem\_\-fgetbuf}}
\index{mem\_\-fgetbuf@{mem\_\-fgetbuf}!m_memio.h@{m\_\-memio.h}}
\subsubsection[{mem\_\-fgetbuf}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ mem\_\-fgetbuf (
\begin{DoxyParamCaption}
\item[{{\bf MEMFILE} $\ast$}]{stream}
\end{DoxyParamCaption}
)}}
\label{d9/d0e/m__memio_8h_a78db1842ff492bd6e940f421adbbb261}
\hypertarget{m__memio_8h_aef571bcde2b35fc0233a5f439e918826}{
\index{m\_\-memio.h@{m\_\-memio.h}!mem\_\-fopen\_\-read@{mem\_\-fopen\_\-read}}
\index{mem\_\-fopen\_\-read@{mem\_\-fopen\_\-read}!m_memio.h@{m\_\-memio.h}}
\subsubsection[{mem\_\-fopen\_\-read}]{\setlength{\rightskip}{0pt plus 5cm}{\bf MEMFILE}$\ast$ mem\_\-fopen\_\-read (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{buf, }
\item[{size\_\-t}]{buflen}
\end{DoxyParamCaption}
)}}
\label{d9/d0e/m__memio_8h_aef571bcde2b35fc0233a5f439e918826}
\hypertarget{m__memio_8h_affa18dc261f9cd50aa00648ca213606d}{
\index{m\_\-memio.h@{m\_\-memio.h}!mem\_\-fopen\_\-write@{mem\_\-fopen\_\-write}}
\index{mem\_\-fopen\_\-write@{mem\_\-fopen\_\-write}!m_memio.h@{m\_\-memio.h}}
\subsubsection[{mem\_\-fopen\_\-write}]{\setlength{\rightskip}{0pt plus 5cm}{\bf MEMFILE}$\ast$ mem\_\-fopen\_\-write (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{d9/d0e/m__memio_8h_affa18dc261f9cd50aa00648ca213606d}
\hypertarget{m__memio_8h_a20b0c07533b683a54a5b728c160b06bc}{
\index{m\_\-memio.h@{m\_\-memio.h}!mem\_\-fread@{mem\_\-fread}}
\index{mem\_\-fread@{mem\_\-fread}!m_memio.h@{m\_\-memio.h}}
\subsubsection[{mem\_\-fread}]{\setlength{\rightskip}{0pt plus 5cm}size\_\-t mem\_\-fread (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{buf, }
\item[{size\_\-t}]{size, }
\item[{size\_\-t}]{nmemb, }
\item[{{\bf MEMFILE} $\ast$}]{stream}
\end{DoxyParamCaption}
)}}
\label{d9/d0e/m__memio_8h_a20b0c07533b683a54a5b728c160b06bc}
\hypertarget{m__memio_8h_a842c87bbadd820943cbf51af925351a3}{
\index{m\_\-memio.h@{m\_\-memio.h}!mem\_\-fseek@{mem\_\-fseek}}
\index{mem\_\-fseek@{mem\_\-fseek}!m_memio.h@{m\_\-memio.h}}
\subsubsection[{mem\_\-fseek}]{\setlength{\rightskip}{0pt plus 5cm}int mem\_\-fseek (
\begin{DoxyParamCaption}
\item[{{\bf MEMFILE} $\ast$}]{stream, }
\item[{signed long}]{offset, }
\item[{{\bf mem\_\-rel\_\-t}}]{whence}
\end{DoxyParamCaption}
)}}
\label{d9/d0e/m__memio_8h_a842c87bbadd820943cbf51af925351a3}
\hypertarget{m__memio_8h_a96cb6974996eff0012bef736211b3047}{
\index{m\_\-memio.h@{m\_\-memio.h}!mem\_\-fsize@{mem\_\-fsize}}
\index{mem\_\-fsize@{mem\_\-fsize}!m_memio.h@{m\_\-memio.h}}
\subsubsection[{mem\_\-fsize}]{\setlength{\rightskip}{0pt plus 5cm}size\_\-t mem\_\-fsize (
\begin{DoxyParamCaption}
\item[{{\bf MEMFILE} $\ast$}]{stream}
\end{DoxyParamCaption}
)}}
\label{d9/d0e/m__memio_8h_a96cb6974996eff0012bef736211b3047}
\hypertarget{m__memio_8h_ac44d6e988eae54c85265c75802a1d00b}{
\index{m\_\-memio.h@{m\_\-memio.h}!mem\_\-ftell@{mem\_\-ftell}}
\index{mem\_\-ftell@{mem\_\-ftell}!m_memio.h@{m\_\-memio.h}}
\subsubsection[{mem\_\-ftell}]{\setlength{\rightskip}{0pt plus 5cm}long mem\_\-ftell (
\begin{DoxyParamCaption}
\item[{{\bf MEMFILE} $\ast$}]{stream}
\end{DoxyParamCaption}
)}}
\label{d9/d0e/m__memio_8h_ac44d6e988eae54c85265c75802a1d00b}
\hypertarget{m__memio_8h_af13f0b39a67d472aa97c389f104d3bb6}{
\index{m\_\-memio.h@{m\_\-memio.h}!mem\_\-fwrite@{mem\_\-fwrite}}
\index{mem\_\-fwrite@{mem\_\-fwrite}!m_memio.h@{m\_\-memio.h}}
\subsubsection[{mem\_\-fwrite}]{\setlength{\rightskip}{0pt plus 5cm}size\_\-t mem\_\-fwrite (
\begin{DoxyParamCaption}
\item[{const void $\ast$}]{ptr, }
\item[{size\_\-t}]{size, }
\item[{size\_\-t}]{nmemb, }
\item[{{\bf MEMFILE} $\ast$}]{stream}
\end{DoxyParamCaption}
)}}
\label{d9/d0e/m__memio_8h_af13f0b39a67d472aa97c389f104d3bb6}
\hypertarget{m__memio_8h_a5aefd491f8eabbacbb5a983d5c74b220}{
\index{m\_\-memio.h@{m\_\-memio.h}!mem\_\-get\_\-buf@{mem\_\-get\_\-buf}}
\index{mem\_\-get\_\-buf@{mem\_\-get\_\-buf}!m_memio.h@{m\_\-memio.h}}
\subsubsection[{mem\_\-get\_\-buf}]{\setlength{\rightskip}{0pt plus 5cm}void mem\_\-get\_\-buf (
\begin{DoxyParamCaption}
\item[{{\bf MEMFILE} $\ast$}]{stream, }
\item[{void $\ast$$\ast$}]{buf, }
\item[{size\_\-t $\ast$}]{buflen}
\end{DoxyParamCaption}
)}}
\label{d9/d0e/m__memio_8h_a5aefd491f8eabbacbb5a983d5c74b220}
