G:/ScriptBasic/source/epreproc.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/wait.h>
#include "errcodes.h"
#include "conftree.h"
#include "myalloc.h"
#include "uniqfnam.h"
#include "epreproc.h"

Go to the source code of this file.

Defines

#define MAXPPARGS   40
#define PCKL   40
#define FULL_PATH_BUFFER_LENGTH   256
#define CHKARGN

Functions

int epreproc (ptConfigTree pCONF, char *pszInputFileName, char **pszOutputFileName, char **ppszArgPreprocessor, void *(*thismalloc)(unsigned int), void(*thisfree)(void *))


Define Documentation

#define CHKARGN
 

Value:

if( i >= MAXPPARGS-1 ){\
                  alloc_FinishSegment(pMemorySegment);\
                  return PREPROC_ERROR_CONFIG_EXE;\
                  }

#define FULL_PATH_BUFFER_LENGTH   256
 

Referenced by epreproc(), ExecuteProgramThread(), FtpProc(), HttpExtensionProc(), HttpProc(), main(), scriba_GetCacheFileName(), and stndlone().

#define MAXPPARGS   40
 

Referenced by epreproc().

#define PCKL   40
 

Referenced by epreproc().


Function Documentation

int epreproc ptConfigTree  pCONF,
char *  pszInputFileName,
char **  pszOutputFileName,
char **  ppszArgPreprocessor,
void *(*)(unsigned int)  thismalloc,
void(*)(void *)  thisfree
 

Definition at line 76 of file epreproc.c.

References alloc_Alloc(), alloc_FinishSegment(), alloc_InitSegment(), cft_GetString(), COMMAND_ERROR_MEMORY_LOW, COMMAND_ERROR_SUCCESS, FULL_PATH_BUFFER_LENGTH, i, MAXPPARGS, NULL, PCKL, q, s, slen, and strcpy().

Referenced by HttpExtensionProc(), main(), and scriba_RunExternalPreprocessor().


Generated on Sun Mar 12 23:56:34 2006 for ScriptBasic by  doxygen 1.4.6-NO