aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/extern.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/ecpg/preproc/extern.h')
-rw-r--r--src/interfaces/ecpg/preproc/extern.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/preproc/extern.h b/src/interfaces/ecpg/preproc/extern.h
index d2eec0c0978..43a15394af3 100644
--- a/src/interfaces/ecpg/preproc/extern.h
+++ b/src/interfaces/ecpg/preproc/extern.h
@@ -16,6 +16,15 @@ struct _include_path { char * path;
extern struct _include_path *include_paths;
+struct cursor { char *name;
+ char *command;
+ struct arguments * argsinsert;
+ struct arguments * argsresult;
+ struct cursor *next;
+ };
+
+extern struct cursor *cur;
+
/* This is a linked list of the variable names and types. */
struct variable
{
@@ -28,6 +37,15 @@ struct variable
extern struct ECPGtype ecpg_no_indicator;
extern struct variable no_indicator;
+struct arguments {
+ struct variable * variable;
+ struct variable * indicator;
+ struct arguments * next;
+};
+
+extern struct arguments * argsinsert;
+extern struct arguments * argsresult;
+
/* functions */
extern void lex_init(void);