response_8h.tex
1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
\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}