summaryrefslogtreecommitdiffstats
path: root/src/bin/psql/mainloop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/psql/mainloop.h')
-rw-r--r--src/bin/psql/mainloop.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/bin/psql/mainloop.h b/src/bin/psql/mainloop.h
new file mode 100644
index 0000000..80e0c99
--- /dev/null
+++ b/src/bin/psql/mainloop.h
@@ -0,0 +1,17 @@
+/*
+ * psql - the PostgreSQL interactive terminal
+ *
+ * Copyright (c) 2000-2022, PostgreSQL Global Development Group
+ *
+ * src/bin/psql/mainloop.h
+ */
+#ifndef MAINLOOP_H
+#define MAINLOOP_H
+
+#include "fe_utils/psqlscan.h"
+
+extern const PsqlScanCallbacks psqlscan_callbacks;
+
+extern int MainLoop(FILE *source);
+
+#endif /* MAINLOOP_H */