Sophie

Sophie

distrib > Fedora > 20 > x86_64 > media > updates > by-pkgid > c579c38484b8ffa244858626df1128ca > files > 215

libhtp-doc-0.5.6-3.fc20.noarch.rpm

\hypertarget{htp__base64_8c}{\section{htp\-\_\-base64.\-c File Reference}
\label{htp__base64_8c}\index{htp\-\_\-base64.\-c@{htp\-\_\-base64.\-c}}
}
{\ttfamily \#include \char`\"{}bstr.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}htp\-\_\-base64.\-h\char`\"{}}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{htp__base64_8c_a63824fc90c48e809dd474c56e14618be}{htp\-\_\-base64\-\_\-decode\-\_\-single} (char value\-\_\-in)
\item 
void \hyperlink{htp__base64_8c_a43aa09e933cfae11c1a43caa871324a7}{htp\-\_\-base64\-\_\-decoder\-\_\-init} (\hyperlink{structhtp__base64__decoder}{htp\-\_\-base64\-\_\-decoder} $\ast$decoder)
\item 
int \hyperlink{htp__base64_8c_a32defcfb6909998e2daaf8d9d85d34cf}{htp\-\_\-base64\-\_\-decode} (\hyperlink{structhtp__base64__decoder}{htp\-\_\-base64\-\_\-decoder} $\ast$decoder, const void $\ast$\-\_\-code\-\_\-in, int length\-\_\-in, void $\ast$\-\_\-plaintext\-\_\-out, int length\-\_\-out)
\item 
\hyperlink{bstr_8h_ad24e3759c8d17c13ae2f05d9dde4d0b6}{bstr} $\ast$ \hyperlink{htp__base64_8c_a44cbd580599e71455330c0dff3089715}{htp\-\_\-base64\-\_\-decode\-\_\-bstr} (\hyperlink{bstr_8h_ad24e3759c8d17c13ae2f05d9dde4d0b6}{bstr} $\ast$input)
\item 
\hyperlink{bstr_8h_ad24e3759c8d17c13ae2f05d9dde4d0b6}{bstr} $\ast$ \hyperlink{htp__base64_8c_a667a2fb8e41564891f16e7bb71333e76}{htp\-\_\-base64\-\_\-decode\-\_\-mem} (const void $\ast$data, size\-\_\-t len)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyAuthor}{Author}
Ivan Ristic \href{mailto:ivanr@webkreator.com}{\tt ivanr@webkreator.\-com} 
\end{DoxyAuthor}


\subsection{Function Documentation}
\hypertarget{htp__base64_8c_a32defcfb6909998e2daaf8d9d85d34cf}{\index{htp\-\_\-base64.\-c@{htp\-\_\-base64.\-c}!htp\-\_\-base64\-\_\-decode@{htp\-\_\-base64\-\_\-decode}}
\index{htp\-\_\-base64\-\_\-decode@{htp\-\_\-base64\-\_\-decode}!htp_base64.c@{htp\-\_\-base64.\-c}}
\subsubsection[{htp\-\_\-base64\-\_\-decode}]{\setlength{\rightskip}{0pt plus 5cm}int htp\-\_\-base64\-\_\-decode (
\begin{DoxyParamCaption}
\item[{{\bf htp\-\_\-base64\-\_\-decoder} $\ast$}]{decoder, }
\item[{const void $\ast$}]{\-\_\-code\-\_\-in, }
\item[{int}]{length\-\_\-in, }
\item[{void $\ast$}]{\-\_\-plaintext\-\_\-out, }
\item[{int}]{length\-\_\-out}
\end{DoxyParamCaption}
)}}\label{htp__base64_8c_a32defcfb6909998e2daaf8d9d85d34cf}
Feed the supplied memory range to the decoder.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em decoder} & \\
\hline
\mbox{\tt in}  & {\em \-\_\-code\-\_\-in} & \\
\hline
\mbox{\tt in}  & {\em length\-\_\-in} & \\
\hline
\mbox{\tt in}  & {\em \-\_\-plaintext\-\_\-out} & \\
\hline
\mbox{\tt in}  & {\em length\-\_\-out} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
how many bytes were placed into plaintext output 
\end{DoxyReturn}
\hypertarget{htp__base64_8c_a44cbd580599e71455330c0dff3089715}{\index{htp\-\_\-base64.\-c@{htp\-\_\-base64.\-c}!htp\-\_\-base64\-\_\-decode\-\_\-bstr@{htp\-\_\-base64\-\_\-decode\-\_\-bstr}}
\index{htp\-\_\-base64\-\_\-decode\-\_\-bstr@{htp\-\_\-base64\-\_\-decode\-\_\-bstr}!htp_base64.c@{htp\-\_\-base64.\-c}}
\subsubsection[{htp\-\_\-base64\-\_\-decode\-\_\-bstr}]{\setlength{\rightskip}{0pt plus 5cm}{\bf bstr}$\ast$ htp\-\_\-base64\-\_\-decode\-\_\-bstr (
\begin{DoxyParamCaption}
\item[{{\bf bstr} $\ast$}]{input}
\end{DoxyParamCaption}
)}}\label{htp__base64_8c_a44cbd580599e71455330c0dff3089715}
Base64-\/decode input, given as bstring.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em input} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
new base64-\/decoded bstring 
\end{DoxyReturn}
\hypertarget{htp__base64_8c_a667a2fb8e41564891f16e7bb71333e76}{\index{htp\-\_\-base64.\-c@{htp\-\_\-base64.\-c}!htp\-\_\-base64\-\_\-decode\-\_\-mem@{htp\-\_\-base64\-\_\-decode\-\_\-mem}}
\index{htp\-\_\-base64\-\_\-decode\-\_\-mem@{htp\-\_\-base64\-\_\-decode\-\_\-mem}!htp_base64.c@{htp\-\_\-base64.\-c}}
\subsubsection[{htp\-\_\-base64\-\_\-decode\-\_\-mem}]{\setlength{\rightskip}{0pt plus 5cm}{\bf bstr}$\ast$ htp\-\_\-base64\-\_\-decode\-\_\-mem (
\begin{DoxyParamCaption}
\item[{const void $\ast$}]{data, }
\item[{size\-\_\-t}]{len}
\end{DoxyParamCaption}
)}}\label{htp__base64_8c_a667a2fb8e41564891f16e7bb71333e76}
Base64-\/decode input, given as memory range.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em data} & \\
\hline
\mbox{\tt in}  & {\em len} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
new base64-\/decoded bstring 
\end{DoxyReturn}
\hypertarget{htp__base64_8c_a63824fc90c48e809dd474c56e14618be}{\index{htp\-\_\-base64.\-c@{htp\-\_\-base64.\-c}!htp\-\_\-base64\-\_\-decode\-\_\-single@{htp\-\_\-base64\-\_\-decode\-\_\-single}}
\index{htp\-\_\-base64\-\_\-decode\-\_\-single@{htp\-\_\-base64\-\_\-decode\-\_\-single}!htp_base64.c@{htp\-\_\-base64.\-c}}
\subsubsection[{htp\-\_\-base64\-\_\-decode\-\_\-single}]{\setlength{\rightskip}{0pt plus 5cm}int htp\-\_\-base64\-\_\-decode\-\_\-single (
\begin{DoxyParamCaption}
\item[{char}]{value\-\_\-in}
\end{DoxyParamCaption}
)}}\label{htp__base64_8c_a63824fc90c48e809dd474c56e14618be}
Decode single base64-\/encoded character.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em value\-\_\-in} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
decoded character 
\end{DoxyReturn}
\hypertarget{htp__base64_8c_a43aa09e933cfae11c1a43caa871324a7}{\index{htp\-\_\-base64.\-c@{htp\-\_\-base64.\-c}!htp\-\_\-base64\-\_\-decoder\-\_\-init@{htp\-\_\-base64\-\_\-decoder\-\_\-init}}
\index{htp\-\_\-base64\-\_\-decoder\-\_\-init@{htp\-\_\-base64\-\_\-decoder\-\_\-init}!htp_base64.c@{htp\-\_\-base64.\-c}}
\subsubsection[{htp\-\_\-base64\-\_\-decoder\-\_\-init}]{\setlength{\rightskip}{0pt plus 5cm}void htp\-\_\-base64\-\_\-decoder\-\_\-init (
\begin{DoxyParamCaption}
\item[{{\bf htp\-\_\-base64\-\_\-decoder} $\ast$}]{decoder}
\end{DoxyParamCaption}
)}}\label{htp__base64_8c_a43aa09e933cfae11c1a43caa871324a7}
Initialize base64 decoder.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em decoder} & \\
\hline
\end{DoxyParams}