You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.6 KiB
49 lines
1.6 KiB
\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}
|