lib/servpws.c File Reference

#include "common.h"
#include "portable.h"
#include "portimpl.h"
#include "obscure.h"

Include dependency graph for servpws.c:

Go to the source code of this file.

Functions

static void _makeTempName (struct tempName *tn, char *base, char *suffix)
static char * _cgiDir ()
static char * _trashDir ()
static double _speed ()

Variables

static char const rcsid [] = "$Id: servpws.c,v 1.6 2006/06/19 22:02:57 hiram Exp $"
static char * __trashDir = "..\\trash"
webServerSpecific wssMicrosoftPWS


Function Documentation

static char* _cgiDir (  )  [static]

Definition at line 23 of file servpws.c.

00024 {
00025 return "../cgi-bin/";
00026 }

static void _makeTempName ( struct tempName tn,
char *  base,
char *  suffix 
) [static]

Definition at line 15 of file servpws.c.

References __trashDir, tempName::forCgi, tempName::forHtml, and incCounterFile().

00017 {
00018 long tempIx = incCounterFile("tcounter");
00019 sprintf(tn->forCgi, "%s\\%s%ld%s", __trashDir, base, tempIx, suffix);
00020 sprintf(tn->forHtml, "%s\\%s%ld%s", __trashDir, base, tempIx, suffix);
00021 }

Here is the call graph for this function:

static double _speed (  )  [static]

Definition at line 33 of file servpws.c.

00034 {
00035 return 1.25;
00036 }

static char* _trashDir (  )  [static]

Definition at line 28 of file servpws.c.

References __trashDir.

00029 {
00030 return __trashDir;
00031 }


Variable Documentation

char* __trashDir = "..\\trash" [static]

Definition at line 13 of file servpws.c.

char const rcsid[] = "$Id: servpws.c,v 1.6 2006/06/19 22:02:57 hiram Exp $" [static]

Definition at line 11 of file servpws.c.

struct webServerSpecific wssMicrosoftPWS

Initial value:

    {
    "Microsoft-PWS",
    _makeTempName,
    _cgiDir,
    _speed,
    _trashDir,
    }

Definition at line 38 of file servpws.c.

Referenced by setupWss().


Generated on Tue Dec 25 20:16:18 2007 for blat by  doxygen 1.5.2