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.
47 lines
1.4 KiB
47 lines
1.4 KiB
\hypertarget{get_8c}{
|
|
\section{src/http/header/get.c File Reference}
|
|
\label{get_8c}\index{src/http/header/get.c@{src/http/header/get.c}}
|
|
}
|
|
{\ttfamily \#include $<$stdlib.h$>$}\par
|
|
{\ttfamily \#include $<$ctype.h$>$}\par
|
|
{\ttfamily \#include \char`\"{}http/header.h\char`\"{}}\par
|
|
Include dependency graph for get.c:
|
|
\subsection*{Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
char $\ast$ \hyperlink{get_8c_abed67d03f002ffb1a7cf94d641a80ca4}{httpHeaderGet} (const \hyperlink{structHttpHeader}{HttpHeader} header\mbox{[}$\,$\mbox{]}, int nheader, const char $\ast$name)
|
|
\end{DoxyCompactItemize}
|
|
|
|
|
|
\subsection{Function Documentation}
|
|
\hypertarget{get_8c_abed67d03f002ffb1a7cf94d641a80ca4}{
|
|
\index{get.c@{get.c}!httpHeaderGet@{httpHeaderGet}}
|
|
\index{httpHeaderGet@{httpHeaderGet}!get.c@{get.c}}
|
|
\subsubsection[{httpHeaderGet}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ httpHeaderGet (
|
|
\begin{DoxyParamCaption}
|
|
\item[{const {\bf HttpHeader}}]{header\mbox{[}$\,$\mbox{]}, }
|
|
\item[{int}]{nheader, }
|
|
\item[{const char $\ast$}]{name}
|
|
\end{DoxyParamCaption}
|
|
)}}
|
|
\label{get_8c_abed67d03f002ffb1a7cf94d641a80ca4}
|
|
|
|
|
|
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:
|
|
|
|
|