Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

pdeppd_main.c File Reference

pdeppd - main entrance point. More...

#include "common.h"
#include <errno.h>
#include <limits.h>
#include <stdlib.h>
#include <signal.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "logger.h"
#include "module_preinit.h"
#include "buffer.h"
#include "conftable.h"
#include "http.h"
#include "mime.h"
#include "reqhandler_file.h"
#include "server.h"
#include "signal_handler.h"
#include "xmalloc.h"

Include dependency graph for pdeppd_main.c:

Include dependency graph

Go to the source code of this file.

Functions

int initServer (void)
 initialize server. More...

void printVersionText ()
 Prints out version information.

void printCopyright ()
 Prints out the Copyright including version information.

void printHelpText (int briefHelp, char *argv_0)
 Prints an info screen about all possible command line parameters. More...

int main (int argc, char *argv[])
 pdeppd main() function.


Detailed Description

pdeppd - main entrance point.

Definition in file pdeppd_main.c.


Function Documentation

int initServer void   
 

initialize server.

initializes logger and server core according to the command line arguments and config file settings

Returns:
0 on success, -1 otherwise

Definition at line 317 of file pdeppd_main.c.

Referenced by main().

void printHelpText int    briefHelp,
char *    argv_0
 

Prints an info screen about all possible command line parameters.

If [briefHelp] == true a short info is printed, else a long description is printed.

Definition at line 86 of file pdeppd_main.c.

Referenced by main().


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