diff options
| author | Bruce Momjian | 1999-11-04 21:56:02 +0000 |
|---|---|---|
| committer | Bruce Momjian | 1999-11-04 21:56:02 +0000 |
| commit | a45195a191eec367a4f305bb71ab541d17a3b9f9 (patch) | |
| tree | 99b815a93f6175b0db76c2da0da39e95a0ee6b8d /src/bin/psql/prompt.h | |
| parent | 2ea3b6d63addeaf07267e2390597645cbf013c36 (diff) | |
Major psql overhaul by Peter Eisentraut.
Diffstat (limited to 'src/bin/psql/prompt.h')
| -rw-r--r-- | src/bin/psql/prompt.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/bin/psql/prompt.h b/src/bin/psql/prompt.h new file mode 100644 index 00000000000..f38a2d6f318 --- /dev/null +++ b/src/bin/psql/prompt.h @@ -0,0 +1,19 @@ +#ifndef PROMPT_H +#define PROMPT_H + +#include "settings.h" + +typedef enum _promptStatus { + PROMPT_READY, + PROMPT_CONTINUE, + PROMPT_COMMENT, + PROMPT_SINGLEQUOTE, + PROMPT_DOUBLEQUOTE, + PROMPT_COPY +} promptStatus_t; + +const char * +get_prompt(PsqlSettings *pset, promptStatus_t status); + + +#endif /* PROMPT_H */ |
