\section{test004md5.c File Reference}
\label{test004md5_8c}\index{test004md5.c@{test004md5.c}}
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include \char`\"{}../lib/md5.h\char`\"{}}\par
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define {\bf bufsize}\ 2048
\begin{CompactList}\small\item\em Buffersize for reading the file to generate a md5sum of it, for {\bf calculate\_\-md5sum}() {\rm (p.\,\pageref{test004md5_8c_a2})}.\item\end{CompactList}\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
char $\ast$ {\bf calculate\_\-md5sum} (char $\ast$filename)
\begin{CompactList}\small\item\em Calculate the md5sum of a file.\item\end{CompactList}\item 
{\bf main} (int argc, char $\ast$argv[$\,$])
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
char {\bf md5sums} [4][16]
\end{CompactItemize}


\subsection{Define Documentation}
\index{test004md5.c@{test004md5.c}!bufsize@{bufsize}}
\index{bufsize@{bufsize}!test004md5.c@{test004md5.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define bufsize\ 2048}\label{test004md5_8c_a0}


Buffersize for reading the file to generate a md5sum of it, for {\bf calculate\_\-md5sum}() {\rm (p.\,\pageref{test004md5_8c_a2})}.



\subsection{Function Documentation}
\index{test004md5.c@{test004md5.c}!calculate_md5sum@{calculate\_\-md5sum}}
\index{calculate_md5sum@{calculate\_\-md5sum}!test004md5.c@{test004md5.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ calculate\_\-md5sum (char $\ast$ {\em filename})}\label{test004md5_8c_a2}


Calculate the md5sum of a file.

\begin{Desc}
\item[Parameters: ]\par
\begin{description}
\item[{\em 
filename}](char $\ast$) name of the file of which the md5sum has to be generated\end{description}
\end{Desc}
\begin{Desc}
\item[Returns: ]\par
(char $\ast$) pointer to a static memory area in whish the md5sum ist stored. \end{Desc}
\index{test004md5.c@{test004md5.c}!main@{main}}
\index{main@{main}!test004md5.c@{test004md5.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}main (int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{test004md5_8c_a3}




\subsection{Variable Documentation}
\index{test004md5.c@{test004md5.c}!md5sums@{md5sums}}
\index{md5sums@{md5sums}!test004md5.c@{test004md5.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char md5sums[4][16]}\label{test004md5_8c_a1}


{\bf Initial value:}

\footnotesize\begin{verbatim} {
  { 0x9e, 0xb2, 0x86, 0x6e, 0x09, 0xcd, 0x47, 0xed, 0x53, 0x2d, 0x99, 0xb9, 0xc3, 0xcd, 0x4a, 0x86 }, 
  { 0xd2, 0xb6, 0x5a, 0xe7, 0x29, 0xe7, 0x93, 0x3c, 0x9c, 0xa9, 0x1c, 0x88, 0xdb, 0x7c, 0xd0, 0xfc }, 
  { 0x4d, 0x3c, 0x9e, 0xff, 0xe9, 0xb4, 0x97, 0x9a, 0x4b, 0xc7, 0xce, 0x2e, 0x45, 0xdf, 0x21, 0xd2 }, 
  { 0xf5, 0x5c, 0x17, 0x5c, 0x5f, 0x26, 0x98, 0xf9, 0xb2, 0xcc, 0xf7, 0xba, 0x72, 0x01, 0x4b, 0x14 }, 
}\end{verbatim}\normalsize 
