Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

server.h File Reference

initialize and start server core. More...

#include "common.h"
#include "conn_handler.h"

Include dependency graph for server.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

int svCloseConnection (ConnHandler ch)
 terminate the given connection handler. More...

int svMain ()
 pdepp's main loop, start's the server and does only return if shutting down. More...


Variables

volatile int running
 an evil global var used for signal handling.


Detailed Description

initialize and start server core.

Definition in file server.h.


Function Documentation

int svCloseConnection ConnHandler    ch
 

terminate the given connection handler.

Terminates the given connection handler and removes the corresponding socket from the set of active sockets.

Referenced by svMain().

int svMain  
 

pdepp's main loop, start's the server and does only return if shutting down.

Returns:
0 on success, -1 on failure

Referenced by initServer().


Generated on Fri Jan 25 22:41:01 2002 for PDepp Webserver by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001