response_8h.tex 1.61 KB
\hypertarget{response_8h}{
\section{include/http/response.h File Reference}
\label{response_8h}\index{include/http/response.h@{include/http/response.h}}
}
{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par
Include dependency graph for response.h:
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structHttpResponse}{HttpResponse}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
char $\ast$ \hyperlink{response_8h_abe5df7e20fea66f7926cf40df8250f26}{httpRequestHeaderGet} (\hyperlink{structHttpRequest}{HttpRequest} this, const char $\ast$name)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{response_8h_abe5df7e20fea66f7926cf40df8250f26}{
\index{response.h@{response.h}!httpRequestHeaderGet@{httpRequestHeaderGet}}
\index{httpRequestHeaderGet@{httpRequestHeaderGet}!response.h@{response.h}}
\subsubsection[{httpRequestHeaderGet}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ httpRequestHeaderGet (
\begin{DoxyParamCaption}
\item[{{\bf HttpRequest}}]{this, }
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}}
\label{response_8h_abe5df7e20fea66f7926cf40df8250f26}


Definition at line 31 of file header\_\-get.c.


\begin{DoxyCode}
{
        unsigned long              hash = sdbm((unsigned char *)name);
        struct HttpRequestHeader * header;

        header = bsearch(
                        &hash,
                        this->header,
                        this->nheader,
                        sizeof(struct HttpRequestHeader),
                        comp);

        return (NULL != header)? header->value : NULL;
}
\end{DoxyCode}