44 #ifndef PSQLSCAN_INT_H
45 #define PSQLSCAN_INT_H
54 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
55 #define YY_TYPEDEF_YY_BUFFER_STATE
58 #ifndef YY_TYPEDEF_YY_SCANNER_T
59 #define YY_TYPEDEF_YY_SCANNER_T
140 const char *newstr,
const char *varname);
144 const char *varname);
146 const char *txt,
int len,
150 const char *txt,
int len);
152 const char *txt,
int len,
155 const char *txt,
int len);
void psqlscan_escape_variable(PsqlScanState state, const char *txt, int len, PsqlScanQuoteType quote)
struct StackElem StackElem
YY_BUFFER_STATE psqlscan_prepare_buffer(PsqlScanState state, const char *txt, int len, char **txtcopy)
void psqlscan_select_top_buffer(PsqlScanState state)
struct PsqlScanStateData PsqlScanStateData
void psqlscan_emit(PsqlScanState state, const char *txt, int len)
struct yy_buffer_state * YY_BUFFER_STATE
void psqlscan_push_new_buffer(PsqlScanState state, const char *newstr, const char *varname)
void psqlscan_pop_buffer_stack(PsqlScanState state)
void psqlscan_test_variable(PsqlScanState state, const char *txt, int len)
char * psqlscan_extract_substring(PsqlScanState state, const char *txt, int len)
bool psqlscan_var_is_current_source(PsqlScanState state, const char *varname)
const PsqlScanCallbacks * callbacks
YY_BUFFER_STATE scanbufhandle
int state_before_str_stop