header_8h.tex
2.76 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
\hypertarget{header_8h}{
\section{include/http/header.h File Reference}
\label{header_8h}\index{include/http/header.h@{include/http/header.h}}
}
{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par
Include dependency graph for header.h:
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item
struct \hyperlink{structHttpHeader}{HttpHeader}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item
\hyperlink{structHttpHeader}{HttpHeader} \hyperlink{header_8h_a498d29a6d4b5a4e3ef92df617600fe54}{httpHeaderParse} (char $\ast$line)
\item
void \hyperlink{header_8h_a43ccec0413f9f2e394bb3af5ff628b56}{httpHeaderSort} (const \hyperlink{structHttpHeader}{HttpHeader}\mbox{[}$\,$\mbox{]}, int)
\item
char $\ast$ \hyperlink{header_8h_a002a617a3523cbc79ba8ef6f76d98465}{httpHeaderGet} (const \hyperlink{structHttpHeader}{HttpHeader}\mbox{[}$\,$\mbox{]}, int, const char $\ast$)
\end{DoxyCompactItemize}
\subsection{Function Documentation}
\hypertarget{header_8h_a002a617a3523cbc79ba8ef6f76d98465}{
\index{header.h@{header.h}!httpHeaderGet@{httpHeaderGet}}
\index{httpHeaderGet@{httpHeaderGet}!header.h@{header.h}}
\subsubsection[{httpHeaderGet}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ httpHeaderGet (
\begin{DoxyParamCaption}
\item[{const {\bf HttpHeader}}]{\mbox{[}$\,$\mbox{]}, }
\item[{int}]{, }
\item[{const char $\ast$}]{}
\end{DoxyParamCaption}
)}}
\label{header_8h_a002a617a3523cbc79ba8ef6f76d98465}
Definition at line 31 of file get.c.
\begin{DoxyCode}
{
unsigned long hash = sdbm((unsigned char *)name);
HttpHeader found;
found = bsearch(&hash, header, nheader, sizeof(HttpHeader), comp);
return (NULL != found)? found->value : NULL;
}
\end{DoxyCode}
Here is the caller graph for this function:
\hypertarget{header_8h_a498d29a6d4b5a4e3ef92df617600fe54}{
\index{header.h@{header.h}!httpHeaderParse@{httpHeaderParse}}
\index{httpHeaderParse@{httpHeaderParse}!header.h@{header.h}}
\subsubsection[{httpHeaderParse}]{\setlength{\rightskip}{0pt plus 5cm}{\bf HttpHeader} httpHeaderParse (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{line}
\end{DoxyParamCaption}
)}}
\label{header_8h_a498d29a6d4b5a4e3ef92df617600fe54}
\hypertarget{header_8h_a43ccec0413f9f2e394bb3af5ff628b56}{
\index{header.h@{header.h}!httpHeaderSort@{httpHeaderSort}}
\index{httpHeaderSort@{httpHeaderSort}!header.h@{header.h}}
\subsubsection[{httpHeaderSort}]{\setlength{\rightskip}{0pt plus 5cm}void httpHeaderSort (
\begin{DoxyParamCaption}
\item[{const {\bf HttpHeader}}]{\mbox{[}$\,$\mbox{]}, }
\item[{int}]{}
\end{DoxyParamCaption}
)}}
\label{header_8h_a43ccec0413f9f2e394bb3af5ff628b56}
Definition at line 14 of file sort.c.
\begin{DoxyCode}
{
qsort(header, nheader, sizeof(HttpHeader), comp);
}
\end{DoxyCode}
Here is the caller graph for this function: