close__conn_8c.tex 1.44 KB
\hypertarget{close__conn_8c}{
\section{src/server/close\_\-conn.c File Reference}
\label{close__conn_8c}\index{src/server/close\_\-conn.c@{src/server/close\_\-conn.c}}
}
{\ttfamily \#include $<$string.h$>$}\par
{\ttfamily \#include \char`\"{}server.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}interface/class.h\char`\"{}}\par
Include dependency graph for close\_\-conn.c:
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266}{serverCloseConn} (\hyperlink{structServer}{Server} this, unsigned int i)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266}{
\index{close\_\-conn.c@{close\_\-conn.c}!serverCloseConn@{serverCloseConn}}
\index{serverCloseConn@{serverCloseConn}!close_conn.c@{close\_\-conn.c}}
\subsubsection[{serverCloseConn}]{\setlength{\rightskip}{0pt plus 5cm}void serverCloseConn (
\begin{DoxyParamCaption}
\item[{{\bf Server}}]{this, }
\item[{unsigned int}]{i}
\end{DoxyParamCaption}
)}}
\label{close__conn_8c_ad721e61c8676f0b4c3b8fc401e26f266}


Definition at line 7 of file close\_\-conn.c.


\begin{DoxyCode}
{
        int fd = (this->fds)[i].fd;

        delete(&((this->conns)[fd].sock));
        delete(&((this->conns)[fd].reader));
        (this->fds)[i].events = 0;
        this->ndel++;
//      CLEAR_CONN(this, i);
//      this->nfds--;
}
\end{DoxyCode}


Here is the caller graph for this function: