G:/ScriptBasic/source/ipreproc.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 "dynlolib.h"
#include "scriba.h"
#include "basext.h"
#include "prepext.h"
#include "ipreproc.h"

Go to the source code of this file.

Defines

#define FNLEN   1024
#define PREFLEN   17

Functions

void ipreproc_InitStructure (pPreprocObject pPre)
void ipreproc_PurgePreprocessorMemory (pPreprocObject pPre)
pPreprocessor ipreproc_InsertPreprocessor (pPreprocObject pPre)
void ipreproc_DeletePreprocessor (pPreprocObject pPre, pPreprocessor pOld)
int ipreproc_LoadInternalPreprocessor (pPreprocObject pPre, char *pszPreprocessorName)
int ipreproc_Process (pPreprocObject pPre, long lCommand, void *pPointer)


Define Documentation

#define FNLEN   1024
 

Referenced by ipreproc_LoadInternalPreprocessor(), modu_LoadModule(), reader_LoadPreprocessors(), and reader_ProcessIncludeFiles().

#define PREFLEN   17
 

Referenced by ipreproc_LoadInternalPreprocessor().


Function Documentation

void ipreproc_DeletePreprocessor pPreprocObject  pPre,
pPreprocessor  pOld
 

Definition at line 204 of file ipreproc.c.

References alloc_FinishSegment(), and alloc_Free().

Referenced by ipreproc_LoadInternalPreprocessor(), and ipreproc_Process().

void ipreproc_InitStructure pPreprocObject  pPre  ) 
 

Definition at line 93 of file ipreproc.c.

References memset(), and NULL.

Referenced by scriba_LoadInternalPreprocessor(), scriba_LoadProgramString(), and scriba_ReadSource().

pPreprocessor ipreproc_InsertPreprocessor pPreprocObject  pPre  ) 
 

Definition at line 160 of file ipreproc.c.

References alloc_Alloc(), and NULL.

Referenced by ipreproc_LoadInternalPreprocessor().

int ipreproc_LoadInternalPreprocessor pPreprocObject  pPre,
char *  pszPreprocessorName
 

Definition at line 241 of file ipreproc.c.

References alloc_Alloc(), alloc_InitSegment(), cft_EnumNext(), cft_GetEx(), cft_GetKey(), cft_GetString(), COMMAND_ERROR_MEMORY_LOW, COMMAND_ERROR_SUCCESS, dynlolib_FreeLibrary(), dynlolib_GetFunctionByName(), dynlolib_LoadLibrary(), FNLEN, iError, ipreproc_DeletePreprocessor(), ipreproc_InsertPreprocessor(), modu_Init(), NULL, PREFLEN, preproc(), s, and strcpy().

Referenced by reader_LoadPreprocessors(), and scriba_LoadInternalPreprocessor().

int ipreproc_Process pPreprocObject  pPre,
long  lCommand,
void *  pPointer
 

Definition at line 383 of file ipreproc.c.

References COMMAND_ERROR_SUCCESS, dynlolib_FreeLibrary(), iError, ipreproc_DeletePreprocessor(), p, preproc(), and printf().

Referenced by lex_ReadInput(), reader_ReadLines(), scriba_DoSyntaxAnalysis(), scriba_NoRun(), and scriba_Run().

void ipreproc_PurgePreprocessorMemory pPreprocObject  pPre  ) 
 

Definition at line 126 of file ipreproc.c.

References alloc_FinishSegment(), NULL, and p.

Referenced by scriba_PurgePreprocessorMemory().


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