lib/servcl.c File Reference

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

Include dependency graph for servcl.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: servcl.c,v 1.7 2006/06/19 22:02:57 hiram Exp $"
static char * __trashDir = "."
webServerSpecific wssCommandLine


Function Documentation

static char* _cgiDir (  )  [static]

Definition at line 23 of file servcl.c.

References jkwebDir.

00024 {
00025 char *jkwebDir;
00026 if ((jkwebDir = getenv("JKWEB")) == NULL)
00027     return "";
00028 else
00029     return jkwebDir;
00030 }

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

Definition at line 15 of file servcl.c.

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

00017 {
00018 char *tname = rTempName(__trashDir, base, suffix);
00019 strcpy(tn->forCgi, tname);
00020 strcpy(tn->forHtml, tn->forCgi);
00021 }

Here is the call graph for this function:

static double _speed (  )  [static]

Definition at line 37 of file servcl.c.

00038 {
00039 return 1.0;
00040 }

static char* _trashDir (  )  [static]

Definition at line 32 of file servcl.c.

References __trashDir.

00033 {
00034 return __trashDir;
00035 }


Variable Documentation

char* __trashDir = "." [static]

Definition at line 13 of file servcl.c.

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

Definition at line 11 of file servcl.c.

struct webServerSpecific wssCommandLine

Initial value:

    {
    "commandLine",
    _makeTempName,
    _cgiDir,
    _speed,
    _trashDir,
    }

Definition at line 43 of file servcl.c.

Referenced by setupWss().


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