header_8h.tex 2.76 KB
\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: