3 #ifndef _ECPG_PREPROC_EXTERN_H
4 #define _ECPG_PREPROC_EXTERN_H
15 #define STRUCT_DEPTH 128
16 #define EMPTY mm_strdup("")
39 extern int base_yydebug;
55 extern struct when when_error,
77 extern char *
mm_strdup(
const char *
string);
102 char **length,
char *type_dimension,
103 char *type_index,
int pointer_len,
104 bool type_definition);
119 #define ILLEGAL_OPTION 1
120 #define NO_INCLUDE_FILE 2
121 #define PARSE_ERROR 3
122 #define INDICATOR_NOT_ARRAY 4
123 #define OUT_OF_MEMORY 5
124 #define INDICATOR_NOT_STRUCT 6
125 #define INDICATOR_NOT_SIMPLE 7
133 #define INFORMIX_MODE (compat == ECPG_COMPAT_INFORMIX || compat == ECPG_COMPAT_INFORMIX_SE)
134 #define ORACLE_MODE (compat == ECPG_COMPAT_ORACLE)
#define pg_attribute_printf(f, a)
static PgChecksumMode mode
void output_line_number(void)
struct _include_path * include_paths
void base_yyerror(const char *error)
int ScanCKeywordLookup(const char *text)
struct when when_error when_nf when_warn
void mmerror(int error_code, enum errortype type, const char *error,...) pg_attribute_printf(3
struct variable * descriptor_variable(const char *name, int input)
struct variable * find_variable(char *name)
void push_assignment(char *var, enum ECPGdtype value)
@ ECPG_COMPAT_INFORMIX_SE
void whenever_action(int mode)
void add_variable_to_tail(struct arguments **list, struct variable *var, struct variable *ind)
struct variable no_indicator
void output_set_descr(char *desc_name, char *index)
const uint16 SQLScanKeywordTokens[]
char * mm_strdup(const char *string)
void add_descriptor(char *name, char *connection)
void dump_variables(struct arguments *list, int mode)
struct _defines * defines
void adjust_array(enum ECPGttype type_enum, char **dimension, char **length, char *type_dimension, char *type_index, int pointer_len, bool type_definition)
void output_prepare_statement(char *name, char *stmt)
int ScanECPGKeywordLookup(const char *text)
void output_simple_statement(char *stmt, int whenever_mode)
void reset_variables(void)
void remove_variables(int brace_level)
void output_get_descr_header(char *desc_name)
void output_statement(char *stmt, int whenever_mode, enum ECPG_statement_type st)
void output_get_descr(char *desc_name, char *index)
struct arguments * argsresult
void remove_variable_from_list(struct arguments **list, struct variable *var)
void void mmfatal(int error_code, const char *error,...) pg_attribute_printf(2
void void pg_attribute_noreturn()
const char * get_dtype(enum ECPGdtype)
struct ECPGstruct_member * struct_member_list[STRUCT_DEPTH]
void output_deallocate_prepare_statement(char *name)
void drop_descriptor(char *name, char *connection)
void add_variable_to_head(struct arguments **list, struct variable *var, struct variable *ind)
struct ECPGtype ecpg_no_indicator
struct arguments * argsinsert
struct typedefs * get_typedef(const char *name, bool noerror)
void remove_typedefs(int brace_level)
void check_indicator(struct ECPGtype *var)
struct variable * new_variable(const char *name, struct ECPGtype *type, int brace_level)
struct declared_list * g_declared_list
struct variable * sqlda_variable(const char *name)
void output_set_descr_header(char *desc_name)
char * hashline_number(void)
int filtered_base_yylex(void)
void * mm_alloc(size_t size)
struct descriptor * lookup_descriptor(char *name, char *connection)
static pg_noinline void Size size