lib/servCrunx.c File Reference

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

Include dependency graph for servCrunx.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: servCrunx.c,v 1.7 2006/06/19 22:02:56 hiram Exp $"
static char * __trashDir = "/home/httpd/html/trash"
webServerSpecific wssLinux


Function Documentation

static char* _cgiDir (  )  [static]

Definition at line 30 of file servCrunx.c.

00031 {
00032 return "../cgi-bin/";
00033 }

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

Definition at line 15 of file servCrunx.c.

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

00017 {
00018 char *tname;
00019 char *tempDirCgi = __trashDir;
00020 char *tempDirHtml = "/trash";
00021 int tlcLen = strlen(tempDirCgi);
00022 int tlhLen = strlen(tempDirHtml);
00023 
00024 tname = rTempName(tempDirCgi, base, suffix);
00025 strcpy(tn->forCgi, tname);
00026 memcpy(tn->forHtml, tempDirHtml, tlhLen);
00027 strcpy(tn->forHtml+tlhLen, tn->forCgi+tlcLen);
00028 }

Here is the call graph for this function:

static double _speed (  )  [static]

Definition at line 40 of file servCrunx.c.

00041 {
00042 return 3.0;
00043 }

static char* _trashDir (  )  [static]

Definition at line 35 of file servCrunx.c.

References __trashDir.

00036 {
00037 return __trashDir;
00038 }


Variable Documentation

char* __trashDir = "/home/httpd/html/trash" [static]

Definition at line 13 of file servCrunx.c.

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

Definition at line 11 of file servCrunx.c.

struct webServerSpecific wssLinux

Initial value:

Definition at line 45 of file servCrunx.c.

Referenced by setupWss().


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