G:/ScriptBasic/source/variations/winisapi/winisapi.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 "../../report.h"
#include "../../lexer.h"
#include "../../sym.h"
#include "../../expression.h"
#include "../../syntax.h"
#include "../../reader.h"
#include "../../myalloc.h"
#include "../../builder.h"
#include "../../memory.h"
#include "../../execute.h"
#include "../../buildnum.h"
#include "../../conftree.h"
#include "../../filesys.h"
#include "../../errcodes.h"
#include "../../epreproc.h"
#include "../../uniqfnam.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 MyBUILD   (*pMyBUILD)
#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 tConfigTree MyCONF
static char * szCache
static char * szReportFile
static FILE * ReportFile
CRITICAL_SECTION csReport
static char * szErrorMessage
static int DoMemoryCache
CRITICAL_SECTION csCacheWrite
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
 

#define MyBUILD   (*pMyBUILD)
 

Referenced by HttpExtensionProc(), and main().


Typedef Documentation

typedef struct _CacheItem CacheItem
 

typedef struct _CacheItem* pCacheItem
 


Function Documentation

int GetC void *  f  ) 
 

Definition at line 77 of file winisapi.c.

BOOL WINAPI GetExtensionVersion HSE_VERSION_INFO *  pVer  ) 
 

Definition at line 516 of file winisapi.c.

References alloc_Alloc(), alloc_Free(), alloc_InitSegment(), cft_GetString(), cft_start(), csCacheWrite, csReport, DoMemoryCache, file_size(), fp, free(), MyCONF, NULL, pCacheMemorySegment, ProgramCache, ReportFile, s, sym_NewSymbolTable(), szCache, szErrorMessage, and szReportFile.

DWORD WINAPI HttpExtensionProc LPEXTENSION_CONTROL_BLOCK  lpECB  ) 
 

Definition at line 154 of file winisapi.c.

References alloc_Alloc(), alloc_FinishSegment(), alloc_Free(), alloc_InitSegment(), alloc_Merge(), build_Build(), build_IsFileBinaryFormat(), build_LoadCode(), build_MagicCode(), build_SaveCode(), csCacheWrite, DoMemoryCache, epreproc(), ex_Command_l(), ex_free(), ex_init(), execute_Execute(), execute_InitStructure(), file_time_modified(), free(), FULL_PATH_BUFFER_LENGTH, iError, isapi_report(), IsapiErrorScreen(), IsapiStdOutFunction(), lex_HandleContinuationLines(), lex_InitStructure(), lex_ReadInput(), lex_RemoveComments(), MyBUILD, MyCONF, NULL, pCacheMemorySegment, _CacheItem::pMyBUILD, ProgramCache, reader_FileName(), reader_InitStructure(), reader_LineNumber(), reader_NextCharacter(), reader_ReadLines(), reader_StartIteration(), s, sprintf(), strcpy(), sym_LookupSymbol(), szCache, and uniqfnam().

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

Definition at line 79 of file winisapi.c.

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

Referenced by HttpExtensionProc().

static void IsapiErrorScreen LPEXTENSION_CONTROL_BLOCK  lpECB  )  [static]
 

Definition at line 65 of file winisapi.c.

References NULL, and szErrorMessage.

Referenced by HttpExtensionProc().

static void IsapiStdOutFunction char  Character,
LPEXTENSION_CONTROL_BLOCK  lpECB
[static]
 

Definition at line 39 of file winisapi.c.

Referenced by HttpExtensionProc().

BOOL WINAPI TerminateExtension DWORD  dwFlags  ) 
 

Definition at line 477 of file winisapi.c.

References alloc_FinishSegment(), csReport, MyCONF, NULL, ReportFile, and szReportFile.


Variable Documentation

CRITICAL_SECTION csCacheWrite
 

Definition at line 57 of file winisapi.c.

Referenced by GetExtensionVersion(), and HttpExtensionProc().

CRITICAL_SECTION csReport
 

Definition at line 53 of file winisapi.c.

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

int DoMemoryCache [static]
 

Definition at line 56 of file winisapi.c.

Referenced by GetExtensionVersion(), and HttpExtensionProc().

tConfigTree MyCONF [static]
 

Definition at line 49 of file winisapi.c.

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

void* pCacheMemorySegment [static]
 

Definition at line 59 of file winisapi.c.

Referenced by GetExtensionVersion(), and HttpExtensionProc().

SymbolTable ProgramCache [static]
 

Definition at line 58 of file winisapi.c.

Referenced by GetExtensionVersion(), and HttpExtensionProc().

FILE* ReportFile [static]
 

Definition at line 52 of file winisapi.c.

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

char* szCache [static]
 

Definition at line 50 of file winisapi.c.

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

char* szErrorMessage [static]
 

Definition at line 54 of file winisapi.c.

Referenced by GetExtensionVersion(), and IsapiErrorScreen().

char* szReportFile [static]
 

Definition at line 51 of file winisapi.c.

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


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