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

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <stddef.h>
#include "scriba.h"
#include "basext.h"

Go to the source code of this file.

Data Structures

struct  _StringInputState

Defines

#define FULL_PATH_BUFFER_LENGTH   256

Typedefs

typedef _StringInputState StringInputState
typedef _StringInputStatepStringInputState

Functions

pSbProgram scriba_new (void *(*maf)(size_t), void(*mrf)(void *))
void scriba_destroy (pSbProgram pProgram)
pSbData scriba_NewSbData (pSbProgram pProgram)
void scriba_InitSbData (pSbProgram pProgram, pSbData p)
void scriba_UndefSbData (pSbProgram pProgram, pSbData p)
pSbData scriba_NewSbLong (pSbProgram pProgram, long lInitValue)
pSbData scriba_NewSbDouble (pSbProgram pProgram, double dInitValue)
pSbData scriba_NewSbUndef (pSbProgram pProgram)
pSbData scriba_NewSbString (pSbProgram pProgram, char *pszInitValue)
pSbData scriba_NewSbBytes (pSbProgram pProgram, unsigned long len, unsigned char *pszInitValue)
void scriba_DestroySbData (pSbProgram pProgram, pSbData p)
void scriba_PurgeReaderMemory (pSbProgram pProgram)
void scriba_PurgeLexerMemory (pSbProgram pProgram)
void scriba_PurgeSyntaxerMemory (pSbProgram pProgram)
void scriba_PurgeBuilderMemory (pSbProgram pProgram)
void scriba_PurgePreprocessorMemory (pSbProgram pProgram)
void scriba_PurgeExecuteMemory (pSbProgram pProgram)
int scriba_SetFileName (pSbProgram pProgram, char *pszFileName)
int scriba_LoadConfiguration (pSbProgram pProgram, char *pszForcedConfigurationFileName)
int scriba_GetConfigFileName (pSbProgram pProgram, char **ppszFileName)
int scriba_InheritConfiguration (pSbProgram pProgram, pSbProgram pFrom)
int scriba_InitModuleInterface (pSbProgram pProgram)
int scriba_InheritModuleInterface (pSbProgram pProgram, pSbProgram pFrom)
int scriba_InheritExecuteObject (pSbProgram pProgram, pSbProgram pFrom)
int scriba_SetProcessSbObject (pSbProgram pProgram, pSbProgram pProcessObject)
int scriba_ShutdownMtModules (pSbProgram pProgram)
void scriba_SetCgiFlag (pSbProgram pProgram)
void scriba_SetReportFunction (pSbProgram pProgram, void *fpReportFunction)
void scriba_SetReportPointer (pSbProgram pProgram, void *pReportPointer)
void scriba_SetStdin (pSbProgram pProgram, void *fpStdinFunction)
void scriba_SetStdout (pSbProgram pProgram, void *fpStdoutFunction)
void scriba_SetEmbedPointer (pSbProgram pProgram, void *pEmbedder)
void scriba_SetEnvironment (pSbProgram pProgram, void *fpEnvirFunction)
int scriba_LoadBinaryProgramWithOffset (pSbProgram pProgram, long lOffset, long lEOFfset)
int scriba_LoadBinaryProgram (pSbProgram pProgram)
int scriba_InheritBinaryProgram (pSbProgram pProgram, pSbProgram pFrom)
int scriba_LoadInternalPreprocessor (pSbProgram pProgram, char *ppszPreprocessorName[])
int scriba_ReadSource (pSbProgram pProgram)
int scriba_DoLexicalAnalysis (pSbProgram pProgram)
int scriba_DoSyntaxAnalysis (pSbProgram pProgram)
int scriba_BuildCode (pSbProgram pProgram)
int scriba_IsFileBinaryFormat (pSbProgram pProgram)
int scriba_GetCacheFileName (pSbProgram pProgram)
int scriba_UseCacheFile (pSbProgram pProgram)
int scriba_SaveCacheFile (pSbProgram pProgram)
int scriba_RunExternalPreprocessor (pSbProgram pProgram, char **ppszArgPreprocessor)
int scriba_SaveCode (pSbProgram pProgram, char *pszCodeFileName)
void scriba_SaveCCode (pSbProgram pProgram, char *pszCodeFileName)
void scriba_SaveECode (pSbProgram pProgram, char *pszInterpreter, char *pszCodeFileName)
int scriba_LoadSourceProgram (pSbProgram pProgram)
static void * StringOpen (char *psz, pStringInputState p)
static void StringClose (void *p, pStringInputState q)
static int StringGetCharacter (void *pv, pStringInputState p)
int scriba_LoadProgramString (pSbProgram pProgram, char *pszSourceCode, unsigned long cbSourceCode)
static int scriba_PreRun (pSbProgram pProgram)
int scriba_Run (pSbProgram pProgram, char *pszCommandLineArgument)
int scriba_NoRun (pSbProgram pProgram)
void scriba_ResetVariables (pSbProgram pProgram)
int scriba_Call (pSbProgram pProgram, unsigned long lEntryNode)
int scriba_CallArg (pSbProgram pProgram, unsigned long lEntryNode, char *pszFormat,...)
void scriba_DestroySbArgs (pSbProgram pProgram, pSbData Args, unsigned long cArgs)
pSbData scriba_NewSbArgs (pSbProgram pProgram, char *pszFormat,...)
int scriba_CallArgEx (pSbProgram pProgram, unsigned long lEntryNode, pSbData ReturnValue, unsigned long cArgs, pSbData Args)
long scriba_LookupFunctionByName (pSbProgram pProgram, char *pszFunctionName)
long scriba_LookupVariableByName (pSbProgram pProgram, char *pszVariableName)
long scriba_GetVariableType (pSbProgram pProgram, long lSerial)
int scriba_GetVariable (pSbProgram pProgram, long lSerial, pSbData *pVariable)
int scriba_SetVariable (pSbProgram pProgram, long lSerial, int type, long lSetValue, double dSetValue, char *pszSetValue, unsigned long size)
void scriba_InitStaticModules (void)
void scriba_FinishStaticModules (void)

Variables

MODLIST StaticallyLinkedModules []


Define Documentation

#define FULL_PATH_BUFFER_LENGTH   256
 


Typedef Documentation

typedef struct _StringInputState * pStringInputState
 

typedef struct _StringInputState StringInputState
 


Function Documentation

int scriba_BuildCode pSbProgram  pProgram  ) 
 

Definition at line 1351 of file scriba.c.

References alloc_Alloc(), build_Build(), and NULL.

Referenced by modu_Init(), scriba_LoadProgramString(), and scriba_LoadSourceProgram().

int scriba_Call pSbProgram  pProgram,
unsigned long  lEntryNode
 

Definition at line 1934 of file scriba.c.

References execute_ExecuteFunction(), iError, and NULL.

Referenced by modu_Init().

int scriba_CallArg pSbProgram  pProgram,
unsigned long  lEntryNode,
char *  pszFormat,
  ...
 

Definition at line 1964 of file scriba.c.

References execute_ExecuteFunction(), i, iError, LONGVALUE(), memcpy(), memory_NewArray(), memory_NewDouble(), memory_NewLong(), memory_NewString(), memory_ReleaseVariable(), NULL, s, slen, and STRINGVALUE().

Referenced by modu_Init().

int scriba_CallArgEx pSbProgram  pProgram,
unsigned long  lEntryNode,
pSbData  ReturnValue,
unsigned long  cArgs,
pSbData  Args
 

Definition at line 2288 of file scriba.c.

References alloc_Free(), i, iError, LONGVALUE(), memcpy(), memory_NewArray(), memory_NewDouble(), memory_NewLong(), memory_NewString(), NULL, STRINGVALUE(), and type.

Referenced by modu_Init().

void scriba_destroy pSbProgram  pProgram  ) 
 

Definition at line 179 of file scriba.c.

References alloc_FinishSegment(), scriba_PurgeBuilderMemory(), scriba_PurgeExecuteMemory(), scriba_PurgeLexerMemory(), scriba_PurgePreprocessorMemory(), scriba_PurgeReaderMemory(), and scriba_PurgeSyntaxerMemory().

Referenced by ExecuteProgramThread(), FtpProc(), HttpExtensionProc(), main(), modu_Init(), and TerminateExtension().

void scriba_DestroySbArgs pSbProgram  pProgram,
pSbData  Args,
unsigned long  cArgs
 

Definition at line 2098 of file scriba.c.

References alloc_Free(), i, and type.

Referenced by modu_Init().

void scriba_DestroySbData pSbProgram  pProgram,
pSbData  p
 

Definition at line 460 of file scriba.c.

References alloc_Free().

Referenced by modu_Init().

int scriba_DoLexicalAnalysis pSbProgram  pProgram  ) 
 

Definition at line 1245 of file scriba.c.

References alloc_Alloc(), alloc_Free(), alloc_InitSegment(), lex_HandleContinuationLines(), lex_InitStructure(), lex_ReadInput(), lex_RemoveComments(), lex_RemoveSkipSymbols(), NULL, reader_FileName(), reader_LineNumber(), reader_NextCharacter(), and reader_StartIteration().

Referenced by modu_Init(), scriba_LoadProgramString(), and scriba_LoadSourceProgram().

int scriba_DoSyntaxAnalysis pSbProgram  pProgram  ) 
 

Definition at line 1298 of file scriba.c.

References alloc_Alloc(), ex_Command_l(), ex_init(), iError, ipreproc_Process(), and NULL.

Referenced by modu_Init(), scriba_LoadProgramString(), and scriba_LoadSourceProgram().

void scriba_FinishStaticModules void   ) 
 

Definition at line 2680 of file scriba.c.

int scriba_GetCacheFileName pSbProgram  pProgram  ) 
 

Definition at line 1401 of file scriba.c.

References alloc_Alloc(), alloc_Free(), cft_GetString(), FULL_PATH_BUFFER_LENGTH, NULL, q, s, strcpy(), and uniqfnam().

Referenced by modu_Init(), scriba_SaveCacheFile(), and scriba_UseCacheFile().

int scriba_GetConfigFileName pSbProgram  pProgram,
char **  ppszFileName
 

Definition at line 668 of file scriba.c.

References cft_GetConfigFileName(), and iError.

Referenced by main().

int scriba_GetVariable pSbProgram  pProgram,
long  lSerial,
pSbData *  pVariable
 

Definition at line 2495 of file scriba.c.

References NULL, scriba_NewSbBytes(), scriba_NewSbDouble(), scriba_NewSbLong(), and scriba_NewSbUndef().

Referenced by modu_Init().

long scriba_GetVariableType pSbProgram  pProgram,
long  lSerial
 

Definition at line 2463 of file scriba.c.

References NULL.

Referenced by modu_Init().

int scriba_InheritBinaryProgram pSbProgram  pProgram,
pSbProgram  pFrom
 

Definition at line 1091 of file scriba.c.

References alloc_Alloc(), memcpy(), and NULL.

Referenced by HttpExtensionProc(), and modu_Init().

int scriba_InheritConfiguration pSbProgram  pProgram,
pSbProgram  pFrom
 

Definition at line 687 of file scriba.c.

References NULL.

Referenced by HttpExtensionProc(), modu_Init(), and scriba_SetProcessSbObject().

int scriba_InheritExecuteObject pSbProgram  pProgram,
pSbProgram  pFrom
 

Definition at line 806 of file scriba.c.

Referenced by scriba_SetProcessSbObject().

int scriba_InheritModuleInterface pSbProgram  pProgram,
pSbProgram  pFrom
 

Definition at line 792 of file scriba.c.

Referenced by scriba_SetProcessSbObject().

int scriba_InitModuleInterface pSbProgram  pProgram  ) 
 

Definition at line 754 of file scriba.c.

References alloc_Alloc(), alloc_InitSegment(), modu_Init(), NULL, and thread_InitMutex().

Referenced by AppInit().

void scriba_InitSbData pSbProgram  pProgram,
pSbData  p
 

Definition at line 235 of file scriba.c.

References NULL.

Referenced by scriba_NewSbData().

void scriba_InitStaticModules void   ) 
 

Definition at line 2652 of file scriba.c.

Referenced by main().

int scriba_IsFileBinaryFormat pSbProgram  pProgram  ) 
 

Definition at line 1386 of file scriba.c.

References build_IsFileBinaryFormat().

Referenced by ExecuteProgramThread(), FtpProc(), HttpExtensionProc(), main(), and modu_Init().

int scriba_LoadBinaryProgram pSbProgram  pProgram  ) 
 

Definition at line 1076 of file scriba.c.

References scriba_LoadBinaryProgramWithOffset().

Referenced by ExecuteProgramThread(), FtpProc(), HttpExtensionProc(), and modu_Init().

int scriba_LoadBinaryProgramWithOffset pSbProgram  pProgram,
long  lOffset,
long  lEOFfset
 

Definition at line 1046 of file scriba.c.

References alloc_Alloc(), build_LoadCodeWithOffset(), and NULL.

Referenced by main(), and scriba_LoadBinaryProgram().

int scriba_LoadConfiguration pSbProgram  pProgram,
char *  pszForcedConfigurationFileName
 

Definition at line 645 of file scriba.c.

References alloc_Alloc(), alloc_Free(), cft_start(), iError, and NULL.

Referenced by AppInit(), GetExtensionVersion(), main(), and modu_Init().

int scriba_LoadInternalPreprocessor pSbProgram  pProgram,
char *  ppszPreprocessorName[]
 

Definition at line 1140 of file scriba.c.

References alloc_Alloc(), alloc_InitSegment(), COMMAND_ERROR_SUCCESS, i, iError, ipreproc_InitStructure(), ipreproc_LoadInternalPreprocessor(), and NULL.

Referenced by main().

int scriba_LoadProgramString pSbProgram  pProgram,
char *  pszSourceCode,
unsigned long  cbSourceCode
 

Definition at line 1698 of file scriba.c.

References alloc_Alloc(), alloc_Free(), alloc_InitSegment(), _StringInputState::cbBuffer, _StringInputState::fpCloseFile, _StringInputState::fpGetCharacter, _StringInputState::fpOpenFile, iError, ipreproc_InitStructure(), NULL, _StringInputState::pszBuffer, _StringInputState::pszFileName, reader_InitStructure(), reader_ReadLines(), scriba_BuildCode(), scriba_DoLexicalAnalysis(), scriba_DoSyntaxAnalysis(), scriba_PurgeLexerMemory(), scriba_PurgeReaderMemory(), scriba_PurgeSyntaxerMemory(), scriba_SetFileName(), strcpy(), StringClose(), StringGetCharacter(), and StringOpen().

int scriba_LoadSourceProgram pSbProgram  pProgram  ) 
 

Definition at line 1626 of file scriba.c.

References iError, scriba_BuildCode(), scriba_DoLexicalAnalysis(), scriba_DoSyntaxAnalysis(), scriba_PurgeLexerMemory(), scriba_PurgeReaderMemory(), scriba_PurgeSyntaxerMemory(), and scriba_ReadSource().

Referenced by ExecuteProgramThread(), FtpProc(), HttpExtensionProc(), main(), and modu_Init().

long scriba_LookupFunctionByName pSbProgram  pProgram,
char *  pszFunctionName
 

Definition at line 2413 of file scriba.c.

References build_LookupFunctionByName().

Referenced by modu_Init().

long scriba_LookupVariableByName pSbProgram  pProgram,
char *  pszVariableName
 

Definition at line 2433 of file scriba.c.

References build_LookupVariableByName(), and NULL.

Referenced by modu_Init().

pSbProgram scriba_new void *(*)(size_t)  maf,
void(*)(void *)  mrf
 

Definition at line 127 of file scriba.c.

References alloc_Alloc(), alloc_FinishSegment(), alloc_InitSegment(), NULL, p, and report_report().

Referenced by AppInit(), ExecuteProgramThread(), FtpProc(), GetExtensionVersion(), HttpExtensionProc(), HttpProc(), main(), and modu_Init().

pSbData scriba_NewSbArgs pSbProgram  pProgram,
char *  pszFormat,
  ...
 

Definition at line 2129 of file scriba.c.

References alloc_Alloc(), alloc_Free(), i, memcpy(), NULL, p, s, size, and type.

Referenced by modu_Init().

pSbData scriba_NewSbBytes pSbProgram  pProgram,
unsigned long  len,
unsigned char *  pszInitValue
 

Definition at line 412 of file scriba.c.

References alloc_Alloc(), alloc_Free(), memcpy(), NULL, p, scriba_NewSbData(), and scriba_NewSbUndef().

Referenced by modu_Init(), and scriba_GetVariable().

pSbData scriba_NewSbData pSbProgram  pProgram  ) 
 

Definition at line 214 of file scriba.c.

References alloc_Alloc(), p, and scriba_InitSbData().

Referenced by modu_Init(), scriba_NewSbBytes(), scriba_NewSbDouble(), scriba_NewSbLong(), scriba_NewSbString(), and scriba_NewSbUndef().

pSbData scriba_NewSbDouble pSbProgram  pProgram,
double  dInitValue
 

Definition at line 308 of file scriba.c.

References NULL, p, and scriba_NewSbData().

Referenced by modu_Init(), and scriba_GetVariable().

pSbData scriba_NewSbLong pSbProgram  pProgram,
long  lInitValue
 

Definition at line 282 of file scriba.c.

References NULL, p, and scriba_NewSbData().

Referenced by modu_Init(), and scriba_GetVariable().

pSbData scriba_NewSbString pSbProgram  pProgram,
char *  pszInitValue
 

Definition at line 358 of file scriba.c.

References alloc_Alloc(), alloc_Free(), memcpy(), NULL, p, scriba_NewSbData(), and scriba_NewSbUndef().

Referenced by modu_Init().

pSbData scriba_NewSbUndef pSbProgram  pProgram  ) 
 

Definition at line 333 of file scriba.c.

References NULL, p, and scriba_NewSbData().

Referenced by modu_Init(), scriba_GetVariable(), scriba_NewSbBytes(), and scriba_NewSbString().

int scriba_NoRun pSbProgram  pProgram  ) 
 

Definition at line 1891 of file scriba.c.

References execute_InitExecute(), iError, ipreproc_Process(), and scriba_PreRun().

Referenced by modu_Init().

static int scriba_PreRun pSbProgram  pProgram  )  [static]
 

Definition at line 1795 of file scriba.c.

References alloc_Alloc(), build_MagicCode(), execute_InitStructure(), execute_ReInitStructure(), iError, and NULL.

Referenced by scriba_NoRun(), and scriba_Run().

void scriba_PurgeBuilderMemory pSbProgram  pProgram  ) 
 

Definition at line 522 of file scriba.c.

References alloc_FinishSegment(), alloc_Free(), and NULL.

Referenced by modu_Init(), and scriba_destroy().

void scriba_PurgeExecuteMemory pSbProgram  pProgram  ) 
 

Definition at line 558 of file scriba.c.

References alloc_FinishSegment(), alloc_Free(), execute_FinishExecute(), and NULL.

Referenced by modu_Init(), and scriba_destroy().

void scriba_PurgeLexerMemory pSbProgram  pProgram  ) 
 

Definition at line 494 of file scriba.c.

References alloc_FinishSegment(), alloc_Free(), and NULL.

Referenced by modu_Init(), scriba_destroy(), scriba_LoadProgramString(), and scriba_LoadSourceProgram().

void scriba_PurgePreprocessorMemory pSbProgram  pProgram  ) 
 

Definition at line 539 of file scriba.c.

References alloc_Free(), ipreproc_PurgePreprocessorMemory(), and NULL.

Referenced by scriba_destroy().

void scriba_PurgeReaderMemory pSbProgram  pProgram  ) 
 

Definition at line 479 of file scriba.c.

References alloc_FinishSegment(), alloc_Free(), and NULL.

Referenced by modu_Init(), scriba_destroy(), scriba_LoadProgramString(), and scriba_LoadSourceProgram().

void scriba_PurgeSyntaxerMemory pSbProgram  pProgram  ) 
 

Definition at line 508 of file scriba.c.

References alloc_Free(), ex_free(), and NULL.

Referenced by modu_Init(), scriba_destroy(), scriba_LoadProgramString(), and scriba_LoadSourceProgram().

int scriba_ReadSource pSbProgram  pProgram  ) 
 

Definition at line 1183 of file scriba.c.

References alloc_Alloc(), alloc_Free(), alloc_InitSegment(), ipreproc_InitStructure(), NULL, reader_InitStructure(), reader_ReadLines(), and strcpy().

Referenced by modu_Init(), and scriba_LoadSourceProgram().

void scriba_ResetVariables pSbProgram  pProgram  ) 
 

Definition at line 1917 of file scriba.c.

References memory_ReleaseVariable(), and NULL.

Referenced by modu_Init().

int scriba_Run pSbProgram  pProgram,
char *  pszCommandLineArgument
 

Definition at line 1842 of file scriba.c.

References execute_Execute_r(), execute_InitExecute(), iError, ipreproc_Process(), and scriba_PreRun().

Referenced by ExecuteProgramThread(), FtpProc(), HttpExtensionProc(), main(), and modu_Init().

int scriba_RunExternalPreprocessor pSbProgram  pProgram,
char **  ppszArgPreprocessor
 

Definition at line 1522 of file scriba.c.

References alloc_Alloc(), alloc_Free(), epreproc(), iError, NULL, and strcpy().

Referenced by ExecuteProgramThread(), FtpProc(), HttpExtensionProc(), main(), and modu_Init().

int scriba_SaveCacheFile pSbProgram  pProgram  ) 
 

Definition at line 1495 of file scriba.c.

References scriba_GetCacheFileName(), and scriba_SaveCode().

Referenced by ExecuteProgramThread(), FtpProc(), HttpExtensionProc(), main(), and modu_Init().

void scriba_SaveCCode pSbProgram  pProgram,
char *  pszCodeFileName
 

Definition at line 1592 of file scriba.c.

References build_SaveCCode().

Referenced by main(), and modu_Init().

int scriba_SaveCode pSbProgram  pProgram,
char *  pszCodeFileName
 

Definition at line 1577 of file scriba.c.

References build_SaveCode().

Referenced by main(), modu_Init(), and scriba_SaveCacheFile().

void scriba_SaveECode pSbProgram  pProgram,
char *  pszInterpreter,
char *  pszCodeFileName
 

Definition at line 1604 of file scriba.c.

References build_SaveECode().

Referenced by main().

void scriba_SetCgiFlag pSbProgram  pProgram  ) 
 

Definition at line 882 of file scriba.c.

Referenced by HttpProc(), main(), and modu_Init().

void scriba_SetEmbedPointer pSbProgram  pProgram,
void *  pEmbedder
 

Definition at line 991 of file scriba.c.

Referenced by ExecuteProgramThread(), FtpProc(), HttpProc(), and modu_Init().

void scriba_SetEnvironment pSbProgram  pProgram,
void *  fpEnvirFunction
 

Definition at line 1024 of file scriba.c.

Referenced by FtpProc(), HttpProc(), and modu_Init().

int scriba_SetFileName pSbProgram  pProgram,
char *  pszFileName
 

Definition at line 583 of file scriba.c.

References alloc_Alloc(), alloc_Free(), NULL, and strcpy().

Referenced by ExecuteProgramThread(), FtpProc(), HttpExtensionProc(), main(), modu_Init(), and scriba_LoadProgramString().

int scriba_SetProcessSbObject pSbProgram  pProgram,
pSbProgram  pProcessObject
 

Definition at line 832 of file scriba.c.

References iError, scriba_InheritConfiguration(), scriba_InheritExecuteObject(), and scriba_InheritModuleInterface().

Referenced by ExecuteProgramThread(), FtpProc(), and HttpProc().

void scriba_SetReportFunction pSbProgram  pProgram,
void *  fpReportFunction
 

Definition at line 900 of file scriba.c.

Referenced by FtpProc(), HttpProc(), and modu_Init().

void scriba_SetReportPointer pSbProgram  pProgram,
void *  pReportPointer
 

Definition at line 920 of file scriba.c.

Referenced by FtpProc(), HttpProc(), and modu_Init().

void scriba_SetStdin pSbProgram  pProgram,
void *  fpStdinFunction
 

Definition at line 942 of file scriba.c.

Referenced by FtpProc(), HttpProc(), and modu_Init().

void scriba_SetStdout pSbProgram  pProgram,
void *  fpStdoutFunction
 

Definition at line 964 of file scriba.c.

Referenced by FtpProc(), HttpProc(), and modu_Init().

int scriba_SetVariable pSbProgram  pProgram,
long  lSerial,
int  type,
long  lSetValue,
double  dSetValue,
char *  pszSetValue,
unsigned long  size
 

Definition at line 2550 of file scriba.c.

References memcpy(), memory_NewDouble(), memory_NewLong(), memory_NewString(), memory_ReleaseVariable(), and NULL.

Referenced by modu_Init().

int scriba_ShutdownMtModules pSbProgram  pProgram  ) 
 

Definition at line 856 of file scriba.c.

References modu_ShutdownModule(), thread_LockMutex(), and thread_UnlockMutex().

void scriba_UndefSbData pSbProgram  pProgram,
pSbData  p
 

Definition at line 261 of file scriba.c.

References alloc_Free(), and NULL.

int scriba_UseCacheFile pSbProgram  pProgram  ) 
 

Definition at line 1462 of file scriba.c.

References alloc_Alloc(), alloc_Free(), build_IsFileBinaryFormat(), file_time_modified(), iError, NULL, scriba_GetCacheFileName(), and strcpy().

Referenced by ExecuteProgramThread(), FtpProc(), HttpExtensionProc(), main(), and modu_Init().

static void StringClose void *  p,
pStringInputState  q
[static]
 

Definition at line 1675 of file scriba.c.

References NULL, and q.

Referenced by scriba_LoadProgramString().

static int StringGetCharacter void *  pv,
pStringInputState  p
[static]
 

Definition at line 1683 of file scriba.c.

References NULL, and p.

Referenced by scriba_LoadProgramString().

static void* StringOpen char *  psz,
pStringInputState  p
[static]
 

Definition at line 1667 of file scriba.c.

References NULL, and p.

Referenced by scriba_LoadProgramString().


Variable Documentation

MODLIST StaticallyLinkedModules[]
 

Definition at line 157 of file stndlone.c.


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