G:/ScriptBasic/source/variations/winisapi/winisapi_new.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <windows.h>
#include <time.h>
#include <httpext.h>
#include <process.h>
#include "../../scriba.h"

Go to the source code of this file.

Data Structures

struct  _CacheItem

Defines

#define EMIT   dwBytes = strlen(ErrMes);lpECB->WriteClient(lpECB->ConnID,ErrMes,&dwBytes,HSE_IO_SYNC)
#define FULL_PATH_BUFFER_LENGTH   256

Typedefs

typedef _CacheItem CacheItem
typedef _CacheItempCacheItem

Functions

static void IsapiStdOutFunction (char Character, LPEXTENSION_CONTROL_BLOCK lpECB)
static void IsapiErrorScreen (LPEXTENSION_CONTROL_BLOCK lpECB)
int GetC (void *f)
void isapi_report (void *vlpECB, char *FileName, long LineNumber, unsigned int iErrorCode, int iErrorSeverity, int *piErrorCounter, char *szErrorString, unsigned long *fFlags)
DWORD WINAPI HttpExtensionProc (LPEXTENSION_CONTROL_BLOCK lpECB)
BOOL WINAPI TerminateExtension (DWORD dwFlags)
BOOL WINAPI GetExtensionVersion (HSE_VERSION_INFO *pVer)

Variables

static pSbProgram pProgramConfig
static char * szCache
static char * szReportFile
static FILE * ReportFile
static CRITICAL_SECTION csReport
static char * szErrorMessage
static int DoMemoryCache
static CRITICAL_SECTION csSymbolTable
static SymbolTable ProgramCache
static void * pCacheMemorySegment


Define Documentation

#define EMIT   dwBytes = strlen(ErrMes);lpECB->WriteClient(lpECB->ConnID,ErrMes,&dwBytes,HSE_IO_SYNC)
 

#define FULL_PATH_BUFFER_LENGTH   256
 


Typedef Documentation

typedef struct _CacheItem CacheItem
 

typedef struct _CacheItem* pCacheItem
 


Function Documentation

int GetC void *  f  ) 
 

Definition at line 113 of file winisapi_new.c.

BOOL WINAPI GetExtensionVersion HSE_VERSION_INFO *  pVer  ) 
 

Definition at line 367 of file winisapi_new.c.

References alloc_Alloc(), alloc_InitSegment(), cft_GetString(), csReport, csSymbolTable, DoMemoryCache, free(), NULL, pCacheMemorySegment, pProgramConfig, ProgramCache, ReportFile, s, scriba_LoadConfiguration(), scriba_new(), sym_NewSymbolTable(), szCache, and szReportFile.

DWORD WINAPI HttpExtensionProc LPEXTENSION_CONTROL_BLOCK  lpECB  ) 
 

Definition at line 197 of file winisapi_new.c.

References alloc_Alloc(), alloc_Free(), COMMAND_ERROR_MEMORY_LOW, csSymbolTable, DoMemoryCache, free(), iError, isapi_report(), NULL, pCacheMemorySegment, pProgramConfig, ProgramCache, scriba_destroy(), scriba_InheritBinaryProgram(), scriba_InheritConfiguration(), scriba_IsFileBinaryFormat(), scriba_LoadBinaryProgram(), scriba_LoadSourceProgram(), scriba_new(), scriba_Run(), scriba_RunExternalPreprocessor(), scriba_SaveCacheFile(), scriba_SetFileName(), scriba_UseCacheFile(), sprintf(), and sym_LookupSymbol().

void isapi_report void *  vlpECB,
char *  FileName,
long  LineNumber,
unsigned int  iErrorCode,
int  iErrorSeverity,
int *  piErrorCounter,
char *  szErrorString,
unsigned long *  fFlags
 

Definition at line 115 of file winisapi_new.c.

References csReport, EMIT, NULL, ReportFile, sprintf(), and szReportFile.

static void IsapiErrorScreen LPEXTENSION_CONTROL_BLOCK  lpECB  )  [static]
 

Definition at line 101 of file winisapi_new.c.

References NULL, and szErrorMessage.

static void IsapiStdOutFunction char  Character,
LPEXTENSION_CONTROL_BLOCK  lpECB
[static]
 

Definition at line 70 of file winisapi_new.c.

BOOL WINAPI TerminateExtension DWORD  dwFlags  ) 
 

Definition at line 320 of file winisapi_new.c.

References csReport, NULL, pProgramConfig, ReportFile, scriba_destroy(), and szReportFile.


Variable Documentation

CRITICAL_SECTION csReport [static]
 

Definition at line 88 of file winisapi_new.c.

CRITICAL_SECTION csSymbolTable [static]
 

Definition at line 92 of file winisapi_new.c.

Referenced by GetExtensionVersion(), and HttpExtensionProc().

int DoMemoryCache [static]
 

Definition at line 91 of file winisapi_new.c.

void* pCacheMemorySegment [static]
 

Definition at line 94 of file winisapi_new.c.

pSbProgram pProgramConfig [static]
 

Definition at line 84 of file winisapi_new.c.

Referenced by GetExtensionVersion(), HttpExtensionProc(), and TerminateExtension().

SymbolTable ProgramCache [static]
 

Definition at line 93 of file winisapi_new.c.

FILE* ReportFile [static]
 

Definition at line 87 of file winisapi_new.c.

char* szCache [static]
 

Definition at line 85 of file winisapi_new.c.

char* szErrorMessage [static]
 

Definition at line 89 of file winisapi_new.c.

char* szReportFile [static]
 

Definition at line 86 of file winisapi_new.c.


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