Sophie

Sophie

distrib > Fedora > 20 > x86_64 > media > updates > by-pkgid > c579c38484b8ffa244858626df1128ca > files > 221

libhtp-doc-0.5.6-3.fc20.noarch.rpm

\hypertarget{htp__connection__parser_8c}{\section{htp\-\_\-connection\-\_\-parser.\-c File Reference}
\label{htp__connection__parser_8c}\index{htp\-\_\-connection\-\_\-parser.\-c@{htp\-\_\-connection\-\_\-parser.\-c}}
}
{\ttfamily \#include \char`\"{}htp\-\_\-private.\-h\char`\"{}}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{htp__connection__parser_8c_a152d24bca0733a89934abe4f57a981b8}{htp\-\_\-connp\-\_\-clear\-\_\-error} (\hyperlink{structhtp__connp__t}{htp\-\_\-connp\-\_\-t} $\ast$connp)
\item 
void \hyperlink{htp__connection__parser_8c_acc7723b7ab867bfde9d5ef78c1faf446}{htp\-\_\-connp\-\_\-close} (\hyperlink{structhtp__connp__t}{htp\-\_\-connp\-\_\-t} $\ast$connp, const \hyperlink{htp__core_8h_a26dd949491d83777aea7905224110162}{htp\-\_\-time\-\_\-t} $\ast$timestamp)
\item 
\hyperlink{structhtp__connp__t}{htp\-\_\-connp\-\_\-t} $\ast$ \hyperlink{htp__connection__parser_8c_af87403d33d361ee171e6e098a233ef3d}{htp\-\_\-connp\-\_\-create} (\hyperlink{structhtp__cfg__t}{htp\-\_\-cfg\-\_\-t} $\ast$cfg)
\item 
void \hyperlink{htp__connection__parser_8c_aaf70632a3c2d55aca4a1b1c187aafb08}{htp\-\_\-connp\-\_\-destroy} (\hyperlink{structhtp__connp__t}{htp\-\_\-connp\-\_\-t} $\ast$connp)
\item 
void \hyperlink{htp__connection__parser_8c_a8716f61f158d3d39552dbdaccc4157f2}{htp\-\_\-connp\-\_\-destroy\-\_\-all} (\hyperlink{structhtp__connp__t}{htp\-\_\-connp\-\_\-t} $\ast$connp)
\item 
\hyperlink{structhtp__conn__t}{htp\-\_\-conn\-\_\-t} $\ast$ \hyperlink{htp__connection__parser_8c_a01a5e294c8fda405b1942f4d051e4ce1}{htp\-\_\-connp\-\_\-get\-\_\-connection} (const \hyperlink{structhtp__connp__t}{htp\-\_\-connp\-\_\-t} $\ast$connp)
\item 
\hyperlink{structhtp__tx__t}{htp\-\_\-tx\-\_\-t} $\ast$ \hyperlink{htp__connection__parser_8c_a789bb620392745356b5968d091ddd87b}{htp\-\_\-connp\-\_\-get\-\_\-in\-\_\-tx} (const \hyperlink{structhtp__connp__t}{htp\-\_\-connp\-\_\-t} $\ast$connp)
\item 
\hyperlink{structhtp__log__t}{htp\-\_\-log\-\_\-t} $\ast$ \hyperlink{htp__connection__parser_8c_a1bcf1c791756866aa98c978b97579beb}{htp\-\_\-connp\-\_\-get\-\_\-last\-\_\-error} (const \hyperlink{structhtp__connp__t}{htp\-\_\-connp\-\_\-t} $\ast$connp)
\item 
\hyperlink{structhtp__tx__t}{htp\-\_\-tx\-\_\-t} $\ast$ \hyperlink{htp__connection__parser_8c_a9d35a41420267ba5b72153fbd41ab594}{htp\-\_\-connp\-\_\-get\-\_\-out\-\_\-tx} (const \hyperlink{structhtp__connp__t}{htp\-\_\-connp\-\_\-t} $\ast$connp)
\item 
void $\ast$ \hyperlink{htp__connection__parser_8c_ad01cf540f53fe5c0db9411447abe5092}{htp\-\_\-connp\-\_\-get\-\_\-user\-\_\-data} (const \hyperlink{structhtp__connp__t}{htp\-\_\-connp\-\_\-t} $\ast$connp)
\item 
void \hyperlink{htp__connection__parser_8c_a43e58cd62ef5d00d8c3a4e804881f433}{htp\-\_\-connp\-\_\-in\-\_\-reset} (\hyperlink{structhtp__connp__t}{htp\-\_\-connp\-\_\-t} $\ast$connp)
\item 
void \hyperlink{htp__connection__parser_8c_a9f18bc1870a26ca9389cb2ebd63940f2}{htp\-\_\-connp\-\_\-open} (\hyperlink{structhtp__connp__t}{htp\-\_\-connp\-\_\-t} $\ast$connp, const char $\ast$client\-\_\-addr, int client\-\_\-port, const char $\ast$server\-\_\-addr, int server\-\_\-port, \hyperlink{htp__core_8h_a26dd949491d83777aea7905224110162}{htp\-\_\-time\-\_\-t} $\ast$timestamp)
\item 
void \hyperlink{htp__connection__parser_8c_ab19d778e835e2a00358e76739b7c5f68}{htp\-\_\-connp\-\_\-set\-\_\-user\-\_\-data} (\hyperlink{structhtp__connp__t}{htp\-\_\-connp\-\_\-t} $\ast$connp, const void $\ast$user\-\_\-data)
\item 
\hyperlink{structhtp__tx__t}{htp\-\_\-tx\-\_\-t} $\ast$ \hyperlink{htp__connection__parser_8c_ae9f11134051280a0127eaa26c63b0c4d}{htp\-\_\-connp\-\_\-tx\-\_\-create} (\hyperlink{structhtp__connp__t}{htp\-\_\-connp\-\_\-t} $\ast$connp)
\item 
void \hyperlink{htp__connection__parser_8c_ae33f3c887843a95a8a6650ed2c737dc6}{htp\-\_\-connp\-\_\-tx\-\_\-remove} (\hyperlink{structhtp__connp__t}{htp\-\_\-connp\-\_\-t} $\ast$connp, \hyperlink{structhtp__tx__t}{htp\-\_\-tx\-\_\-t} $\ast$tx)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyAuthor}{Author}
Ivan Ristic \href{mailto:ivanr@webkreator.com}{\tt ivanr@webkreator.\-com} 
\end{DoxyAuthor}


\subsection{Function Documentation}
\hypertarget{htp__connection__parser_8c_a152d24bca0733a89934abe4f57a981b8}{\index{htp\-\_\-connection\-\_\-parser.\-c@{htp\-\_\-connection\-\_\-parser.\-c}!htp\-\_\-connp\-\_\-clear\-\_\-error@{htp\-\_\-connp\-\_\-clear\-\_\-error}}
\index{htp\-\_\-connp\-\_\-clear\-\_\-error@{htp\-\_\-connp\-\_\-clear\-\_\-error}!htp_connection_parser.c@{htp\-\_\-connection\-\_\-parser.\-c}}
\subsubsection[{htp\-\_\-connp\-\_\-clear\-\_\-error}]{\setlength{\rightskip}{0pt plus 5cm}void htp\-\_\-connp\-\_\-clear\-\_\-error (
\begin{DoxyParamCaption}
\item[{{\bf htp\-\_\-connp\-\_\-t} $\ast$}]{connp}
\end{DoxyParamCaption}
)}}\label{htp__connection__parser_8c_a152d24bca0733a89934abe4f57a981b8}
Clears the most recent error, if any.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em connp} & \\
\hline
\end{DoxyParams}
\hypertarget{htp__connection__parser_8c_acc7723b7ab867bfde9d5ef78c1faf446}{\index{htp\-\_\-connection\-\_\-parser.\-c@{htp\-\_\-connection\-\_\-parser.\-c}!htp\-\_\-connp\-\_\-close@{htp\-\_\-connp\-\_\-close}}
\index{htp\-\_\-connp\-\_\-close@{htp\-\_\-connp\-\_\-close}!htp_connection_parser.c@{htp\-\_\-connection\-\_\-parser.\-c}}
\subsubsection[{htp\-\_\-connp\-\_\-close}]{\setlength{\rightskip}{0pt plus 5cm}void htp\-\_\-connp\-\_\-close (
\begin{DoxyParamCaption}
\item[{{\bf htp\-\_\-connp\-\_\-t} $\ast$}]{connp, }
\item[{const {\bf htp\-\_\-time\-\_\-t} $\ast$}]{timestamp}
\end{DoxyParamCaption}
)}}\label{htp__connection__parser_8c_acc7723b7ab867bfde9d5ef78c1faf446}
Closes the connection associated with the supplied parser.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em connp} & \\
\hline
\mbox{\tt in}  & {\em timestamp} & Optional. \\
\hline
\end{DoxyParams}
\hypertarget{htp__connection__parser_8c_af87403d33d361ee171e6e098a233ef3d}{\index{htp\-\_\-connection\-\_\-parser.\-c@{htp\-\_\-connection\-\_\-parser.\-c}!htp\-\_\-connp\-\_\-create@{htp\-\_\-connp\-\_\-create}}
\index{htp\-\_\-connp\-\_\-create@{htp\-\_\-connp\-\_\-create}!htp_connection_parser.c@{htp\-\_\-connection\-\_\-parser.\-c}}
\subsubsection[{htp\-\_\-connp\-\_\-create}]{\setlength{\rightskip}{0pt plus 5cm}{\bf htp\-\_\-connp\-\_\-t}$\ast$ htp\-\_\-connp\-\_\-create (
\begin{DoxyParamCaption}
\item[{{\bf htp\-\_\-cfg\-\_\-t} $\ast$}]{cfg}
\end{DoxyParamCaption}
)}}\label{htp__connection__parser_8c_af87403d33d361ee171e6e098a233ef3d}
Creates a new connection parser using the provided configuration. Because the configuration structure is used directly, in a multithreaded environment you are not allowed to change the structure, ever. If you have a need to change configuration on per-\/connection basis, make a copy of the configuration structure to go along with every connection parser.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em cfg} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
New connection parser instance, or N\-U\-L\-L on error. 
\end{DoxyReturn}
\hypertarget{htp__connection__parser_8c_aaf70632a3c2d55aca4a1b1c187aafb08}{\index{htp\-\_\-connection\-\_\-parser.\-c@{htp\-\_\-connection\-\_\-parser.\-c}!htp\-\_\-connp\-\_\-destroy@{htp\-\_\-connp\-\_\-destroy}}
\index{htp\-\_\-connp\-\_\-destroy@{htp\-\_\-connp\-\_\-destroy}!htp_connection_parser.c@{htp\-\_\-connection\-\_\-parser.\-c}}
\subsubsection[{htp\-\_\-connp\-\_\-destroy}]{\setlength{\rightskip}{0pt plus 5cm}void htp\-\_\-connp\-\_\-destroy (
\begin{DoxyParamCaption}
\item[{{\bf htp\-\_\-connp\-\_\-t} $\ast$}]{connp}
\end{DoxyParamCaption}
)}}\label{htp__connection__parser_8c_aaf70632a3c2d55aca4a1b1c187aafb08}
Destroys the connection parser and its data structures, leaving all the data (connection, transactions, etc) intact.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em connp} & \\
\hline
\end{DoxyParams}
\hypertarget{htp__connection__parser_8c_a8716f61f158d3d39552dbdaccc4157f2}{\index{htp\-\_\-connection\-\_\-parser.\-c@{htp\-\_\-connection\-\_\-parser.\-c}!htp\-\_\-connp\-\_\-destroy\-\_\-all@{htp\-\_\-connp\-\_\-destroy\-\_\-all}}
\index{htp\-\_\-connp\-\_\-destroy\-\_\-all@{htp\-\_\-connp\-\_\-destroy\-\_\-all}!htp_connection_parser.c@{htp\-\_\-connection\-\_\-parser.\-c}}
\subsubsection[{htp\-\_\-connp\-\_\-destroy\-\_\-all}]{\setlength{\rightskip}{0pt plus 5cm}void htp\-\_\-connp\-\_\-destroy\-\_\-all (
\begin{DoxyParamCaption}
\item[{{\bf htp\-\_\-connp\-\_\-t} $\ast$}]{connp}
\end{DoxyParamCaption}
)}}\label{htp__connection__parser_8c_a8716f61f158d3d39552dbdaccc4157f2}
Destroys the connection parser, its data structures, as well as the connection and its transactions.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em connp} & \\
\hline
\end{DoxyParams}
\hypertarget{htp__connection__parser_8c_a01a5e294c8fda405b1942f4d051e4ce1}{\index{htp\-\_\-connection\-\_\-parser.\-c@{htp\-\_\-connection\-\_\-parser.\-c}!htp\-\_\-connp\-\_\-get\-\_\-connection@{htp\-\_\-connp\-\_\-get\-\_\-connection}}
\index{htp\-\_\-connp\-\_\-get\-\_\-connection@{htp\-\_\-connp\-\_\-get\-\_\-connection}!htp_connection_parser.c@{htp\-\_\-connection\-\_\-parser.\-c}}
\subsubsection[{htp\-\_\-connp\-\_\-get\-\_\-connection}]{\setlength{\rightskip}{0pt plus 5cm}{\bf htp\-\_\-conn\-\_\-t}$\ast$ htp\-\_\-connp\-\_\-get\-\_\-connection (
\begin{DoxyParamCaption}
\item[{const {\bf htp\-\_\-connp\-\_\-t} $\ast$}]{connp}
\end{DoxyParamCaption}
)}}\label{htp__connection__parser_8c_a01a5e294c8fda405b1942f4d051e4ce1}
Returns the connection associated with the connection parser.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em connp} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{structhtp__conn__t}{htp\-\_\-conn\-\_\-t} instance, or N\-U\-L\-L if one is not available. 
\end{DoxyReturn}
\hypertarget{htp__connection__parser_8c_a789bb620392745356b5968d091ddd87b}{\index{htp\-\_\-connection\-\_\-parser.\-c@{htp\-\_\-connection\-\_\-parser.\-c}!htp\-\_\-connp\-\_\-get\-\_\-in\-\_\-tx@{htp\-\_\-connp\-\_\-get\-\_\-in\-\_\-tx}}
\index{htp\-\_\-connp\-\_\-get\-\_\-in\-\_\-tx@{htp\-\_\-connp\-\_\-get\-\_\-in\-\_\-tx}!htp_connection_parser.c@{htp\-\_\-connection\-\_\-parser.\-c}}
\subsubsection[{htp\-\_\-connp\-\_\-get\-\_\-in\-\_\-tx}]{\setlength{\rightskip}{0pt plus 5cm}{\bf htp\-\_\-tx\-\_\-t}$\ast$ htp\-\_\-connp\-\_\-get\-\_\-in\-\_\-tx (
\begin{DoxyParamCaption}
\item[{const {\bf htp\-\_\-connp\-\_\-t} $\ast$}]{connp}
\end{DoxyParamCaption}
)}}\label{htp__connection__parser_8c_a789bb620392745356b5968d091ddd87b}
Retrieves the pointer to the active inbound transaction. In connection parsing mode there can be many open transactions, and up to 2 active transactions at any one time. This is due to H\-T\-T\-P pipelining. Can be N\-U\-L\-L.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em connp} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Active inbound transaction, or N\-U\-L\-L if there isn't one. 
\end{DoxyReturn}
\hypertarget{htp__connection__parser_8c_a1bcf1c791756866aa98c978b97579beb}{\index{htp\-\_\-connection\-\_\-parser.\-c@{htp\-\_\-connection\-\_\-parser.\-c}!htp\-\_\-connp\-\_\-get\-\_\-last\-\_\-error@{htp\-\_\-connp\-\_\-get\-\_\-last\-\_\-error}}
\index{htp\-\_\-connp\-\_\-get\-\_\-last\-\_\-error@{htp\-\_\-connp\-\_\-get\-\_\-last\-\_\-error}!htp_connection_parser.c@{htp\-\_\-connection\-\_\-parser.\-c}}
\subsubsection[{htp\-\_\-connp\-\_\-get\-\_\-last\-\_\-error}]{\setlength{\rightskip}{0pt plus 5cm}{\bf htp\-\_\-log\-\_\-t}$\ast$ htp\-\_\-connp\-\_\-get\-\_\-last\-\_\-error (
\begin{DoxyParamCaption}
\item[{const {\bf htp\-\_\-connp\-\_\-t} $\ast$}]{connp}
\end{DoxyParamCaption}
)}}\label{htp__connection__parser_8c_a1bcf1c791756866aa98c978b97579beb}
Returns the last error that occurred with this connection parser. Do note, however, that the value in this field will only be valid immediately after an error condition, but it is not guaranteed to remain valid if the parser is invoked again.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em connp} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A pointer to an \hyperlink{structhtp__log__t}{htp\-\_\-log\-\_\-t} instance if there is an error, or N\-U\-L\-L if there isn't. 
\end{DoxyReturn}
\hypertarget{htp__connection__parser_8c_a9d35a41420267ba5b72153fbd41ab594}{\index{htp\-\_\-connection\-\_\-parser.\-c@{htp\-\_\-connection\-\_\-parser.\-c}!htp\-\_\-connp\-\_\-get\-\_\-out\-\_\-tx@{htp\-\_\-connp\-\_\-get\-\_\-out\-\_\-tx}}
\index{htp\-\_\-connp\-\_\-get\-\_\-out\-\_\-tx@{htp\-\_\-connp\-\_\-get\-\_\-out\-\_\-tx}!htp_connection_parser.c@{htp\-\_\-connection\-\_\-parser.\-c}}
\subsubsection[{htp\-\_\-connp\-\_\-get\-\_\-out\-\_\-tx}]{\setlength{\rightskip}{0pt plus 5cm}{\bf htp\-\_\-tx\-\_\-t}$\ast$ htp\-\_\-connp\-\_\-get\-\_\-out\-\_\-tx (
\begin{DoxyParamCaption}
\item[{const {\bf htp\-\_\-connp\-\_\-t} $\ast$}]{connp}
\end{DoxyParamCaption}
)}}\label{htp__connection__parser_8c_a9d35a41420267ba5b72153fbd41ab594}
Retrieves the pointer to the active outbound transaction. In connection parsing mode there can be many open transactions, and up to 2 active transactions at any one time. This is due to H\-T\-T\-P pipelining. Can be N\-U\-L\-L.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em connp} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Active outbound transaction, or N\-U\-L\-L if there isn't one. 
\end{DoxyReturn}
\hypertarget{htp__connection__parser_8c_ad01cf540f53fe5c0db9411447abe5092}{\index{htp\-\_\-connection\-\_\-parser.\-c@{htp\-\_\-connection\-\_\-parser.\-c}!htp\-\_\-connp\-\_\-get\-\_\-user\-\_\-data@{htp\-\_\-connp\-\_\-get\-\_\-user\-\_\-data}}
\index{htp\-\_\-connp\-\_\-get\-\_\-user\-\_\-data@{htp\-\_\-connp\-\_\-get\-\_\-user\-\_\-data}!htp_connection_parser.c@{htp\-\_\-connection\-\_\-parser.\-c}}
\subsubsection[{htp\-\_\-connp\-\_\-get\-\_\-user\-\_\-data}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ htp\-\_\-connp\-\_\-get\-\_\-user\-\_\-data (
\begin{DoxyParamCaption}
\item[{const {\bf htp\-\_\-connp\-\_\-t} $\ast$}]{connp}
\end{DoxyParamCaption}
)}}\label{htp__connection__parser_8c_ad01cf540f53fe5c0db9411447abe5092}
Retrieve the user data associated with this connection parser.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em connp} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
User data, or N\-U\-L\-L if there isn't any. 
\end{DoxyReturn}
\hypertarget{htp__connection__parser_8c_a43e58cd62ef5d00d8c3a4e804881f433}{\index{htp\-\_\-connection\-\_\-parser.\-c@{htp\-\_\-connection\-\_\-parser.\-c}!htp\-\_\-connp\-\_\-in\-\_\-reset@{htp\-\_\-connp\-\_\-in\-\_\-reset}}
\index{htp\-\_\-connp\-\_\-in\-\_\-reset@{htp\-\_\-connp\-\_\-in\-\_\-reset}!htp_connection_parser.c@{htp\-\_\-connection\-\_\-parser.\-c}}
\subsubsection[{htp\-\_\-connp\-\_\-in\-\_\-reset}]{\setlength{\rightskip}{0pt plus 5cm}void htp\-\_\-connp\-\_\-in\-\_\-reset (
\begin{DoxyParamCaption}
\item[{{\bf htp\-\_\-connp\-\_\-t} $\ast$}]{connp}
\end{DoxyParamCaption}
)}}\label{htp__connection__parser_8c_a43e58cd62ef5d00d8c3a4e804881f433}
This function is most likely not used and/or not needed.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em connp} & \\
\hline
\end{DoxyParams}
\hypertarget{htp__connection__parser_8c_a9f18bc1870a26ca9389cb2ebd63940f2}{\index{htp\-\_\-connection\-\_\-parser.\-c@{htp\-\_\-connection\-\_\-parser.\-c}!htp\-\_\-connp\-\_\-open@{htp\-\_\-connp\-\_\-open}}
\index{htp\-\_\-connp\-\_\-open@{htp\-\_\-connp\-\_\-open}!htp_connection_parser.c@{htp\-\_\-connection\-\_\-parser.\-c}}
\subsubsection[{htp\-\_\-connp\-\_\-open}]{\setlength{\rightskip}{0pt plus 5cm}void htp\-\_\-connp\-\_\-open (
\begin{DoxyParamCaption}
\item[{{\bf htp\-\_\-connp\-\_\-t} $\ast$}]{connp, }
\item[{const char $\ast$}]{client\-\_\-addr, }
\item[{int}]{client\-\_\-port, }
\item[{const char $\ast$}]{server\-\_\-addr, }
\item[{int}]{server\-\_\-port, }
\item[{{\bf htp\-\_\-time\-\_\-t} $\ast$}]{timestamp}
\end{DoxyParamCaption}
)}}\label{htp__connection__parser_8c_a9f18bc1870a26ca9389cb2ebd63940f2}
Opens connection.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em connp} & \\
\hline
\mbox{\tt in}  & {\em client\-\_\-addr} & Client address \\
\hline
\mbox{\tt in}  & {\em client\-\_\-port} & Client port \\
\hline
\mbox{\tt in}  & {\em server\-\_\-addr} & Server address \\
\hline
\mbox{\tt in}  & {\em server\-\_\-port} & Server port \\
\hline
\mbox{\tt in}  & {\em timestamp} & Optional. \\
\hline
\end{DoxyParams}
\hypertarget{htp__connection__parser_8c_ab19d778e835e2a00358e76739b7c5f68}{\index{htp\-\_\-connection\-\_\-parser.\-c@{htp\-\_\-connection\-\_\-parser.\-c}!htp\-\_\-connp\-\_\-set\-\_\-user\-\_\-data@{htp\-\_\-connp\-\_\-set\-\_\-user\-\_\-data}}
\index{htp\-\_\-connp\-\_\-set\-\_\-user\-\_\-data@{htp\-\_\-connp\-\_\-set\-\_\-user\-\_\-data}!htp_connection_parser.c@{htp\-\_\-connection\-\_\-parser.\-c}}
\subsubsection[{htp\-\_\-connp\-\_\-set\-\_\-user\-\_\-data}]{\setlength{\rightskip}{0pt plus 5cm}void htp\-\_\-connp\-\_\-set\-\_\-user\-\_\-data (
\begin{DoxyParamCaption}
\item[{{\bf htp\-\_\-connp\-\_\-t} $\ast$}]{connp, }
\item[{const void $\ast$}]{user\-\_\-data}
\end{DoxyParamCaption}
)}}\label{htp__connection__parser_8c_ab19d778e835e2a00358e76739b7c5f68}
Associate user data with the supplied parser.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em connp} & \\
\hline
\mbox{\tt in}  & {\em user\-\_\-data} & \\
\hline
\end{DoxyParams}
\hypertarget{htp__connection__parser_8c_ae9f11134051280a0127eaa26c63b0c4d}{\index{htp\-\_\-connection\-\_\-parser.\-c@{htp\-\_\-connection\-\_\-parser.\-c}!htp\-\_\-connp\-\_\-tx\-\_\-create@{htp\-\_\-connp\-\_\-tx\-\_\-create}}
\index{htp\-\_\-connp\-\_\-tx\-\_\-create@{htp\-\_\-connp\-\_\-tx\-\_\-create}!htp_connection_parser.c@{htp\-\_\-connection\-\_\-parser.\-c}}
\subsubsection[{htp\-\_\-connp\-\_\-tx\-\_\-create}]{\setlength{\rightskip}{0pt plus 5cm}{\bf htp\-\_\-tx\-\_\-t}$\ast$ htp\-\_\-connp\-\_\-tx\-\_\-create (
\begin{DoxyParamCaption}
\item[{{\bf htp\-\_\-connp\-\_\-t} $\ast$}]{connp}
\end{DoxyParamCaption}
)}}\label{htp__connection__parser_8c_ae9f11134051280a0127eaa26c63b0c4d}
Create a new transaction using the connection parser provided.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em connp} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Transaction instance on success, N\-U\-L\-L on failure. 
\end{DoxyReturn}
\hypertarget{htp__connection__parser_8c_ae33f3c887843a95a8a6650ed2c737dc6}{\index{htp\-\_\-connection\-\_\-parser.\-c@{htp\-\_\-connection\-\_\-parser.\-c}!htp\-\_\-connp\-\_\-tx\-\_\-remove@{htp\-\_\-connp\-\_\-tx\-\_\-remove}}
\index{htp\-\_\-connp\-\_\-tx\-\_\-remove@{htp\-\_\-connp\-\_\-tx\-\_\-remove}!htp_connection_parser.c@{htp\-\_\-connection\-\_\-parser.\-c}}
\subsubsection[{htp\-\_\-connp\-\_\-tx\-\_\-remove}]{\setlength{\rightskip}{0pt plus 5cm}void htp\-\_\-connp\-\_\-tx\-\_\-remove (
\begin{DoxyParamCaption}
\item[{{\bf htp\-\_\-connp\-\_\-t} $\ast$}]{connp, }
\item[{{\bf htp\-\_\-tx\-\_\-t} $\ast$}]{tx}
\end{DoxyParamCaption}
)}}\label{htp__connection__parser_8c_ae33f3c887843a95a8a6650ed2c737dc6}
Removes references to the supplied transaction.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em connp} & \\
\hline
\mbox{\tt in}  & {\em tx} & \\
\hline
\end{DoxyParams}