digiKam
tparserprivate.h File Reference

Go to the source code of this file.

Functions

int panoScriptDataReset (void)
 
void panoScriptParserClose (void)
 
void panoScriptParserError (char const *errorstring,...) __attribute__((format(printf
 
int panoScriptParserInit (const char *const filename)
 
void * panoScriptReAlloc (void **ptr, size_t size, int *count)
 
int panoScriptScannerGetNextChar (char *b, int maxBuffer)
 
void panoScriptScannerTokenBegin (char *t)
 
void void yyerror (char const *st)
 

Function Documentation

◆ panoScriptDataReset()

int panoScriptDataReset ( void  )

Referenced by panoScriptParserReset().

◆ panoScriptParserClose()

void panoScriptParserClose ( void  )

Referenced by panoScriptParse().

◆ panoScriptParserError()

void panoScriptParserError ( char const *  errorstring,
  ... 
)

◆ panoScriptParserInit()

int panoScriptParserInit ( const char *const  filename)

Referenced by panoScriptParse().

◆ panoScriptReAlloc()

void* panoScriptReAlloc ( void **  ptr,
size_t  size,
int *  count 
)

Reallocs ptr by size, count is the variable with the current number of records allocated actual data is in 1000 array located at 20 contains 1000 ptr has value 20 *ptr is 1000

References yyerror().

◆ panoScriptScannerGetNextChar()

int panoScriptScannerGetNextChar ( char *  b,
int  maxBuffer 
)

This is the function that lex will use to read the next character

◆ panoScriptScannerTokenBegin()

void panoScriptScannerTokenBegin ( char *  t)

◆ yyerror()

void void yyerror ( char const *  st)

References panoScriptParserError().

Referenced by panoScriptReAlloc().