PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
psqlscan_int.h File Reference
Include dependency graph for psqlscan_int.h:

Go to the source code of this file.

Data Structures

struct  StackElem
 
struct  PsqlScanStateData
 

Macros

#define YY_TYPEDEF_YY_BUFFER_STATE
 
#define YY_TYPEDEF_YY_SCANNER_T
 

Typedefs

typedef struct yy_buffer_state * YY_BUFFER_STATE
 
typedef void * yyscan_t
 
typedef struct StackElem StackElem
 
typedef struct PsqlScanStateData PsqlScanStateData
 

Functions

void psqlscan_push_new_buffer (PsqlScanState state, const char *newstr, const char *varname)
 
void psqlscan_pop_buffer_stack (PsqlScanState state)
 
void psqlscan_select_top_buffer (PsqlScanState state)
 
bool psqlscan_var_is_current_source (PsqlScanState state, const char *varname)
 
YY_BUFFER_STATE psqlscan_prepare_buffer (PsqlScanState state, const char *txt, int len, char **txtcopy)
 
void psqlscan_emit (PsqlScanState state, const char *txt, int len)
 
char * psqlscan_extract_substring (PsqlScanState state, const char *txt, int len)
 
void psqlscan_escape_variable (PsqlScanState state, const char *txt, int len, bool as_ident)
 

Macro Definition Documentation

#define YY_TYPEDEF_YY_BUFFER_STATE

Definition at line 55 of file psqlscan_int.h.

#define YY_TYPEDEF_YY_SCANNER_T

Definition at line 59 of file psqlscan_int.h.

Typedef Documentation

typedef struct yy_buffer_state* YY_BUFFER_STATE

Definition at line 56 of file psqlscan_int.h.

Definition at line 60 of file psqlscan_int.h.

Function Documentation

void psqlscan_emit ( PsqlScanState  state,
const char *  txt,
int  len 
)
void psqlscan_escape_variable ( PsqlScanState  state,
const char *  txt,
int  len,
bool  as_ident 
)
char* psqlscan_extract_substring ( PsqlScanState  state,
const char *  txt,
int  len 
)
void psqlscan_pop_buffer_stack ( PsqlScanState  state)
YY_BUFFER_STATE psqlscan_prepare_buffer ( PsqlScanState  state,
const char *  txt,
int  len,
char **  txtcopy 
)
void psqlscan_push_new_buffer ( PsqlScanState  state,
const char *  newstr,
const char *  varname 
)
void psqlscan_select_top_buffer ( PsqlScanState  state)
bool psqlscan_var_is_current_source ( PsqlScanState  state,
const char *  varname 
)