/* | |
* psql - the PostgreSQL interactive terminal | |
* | |
* Copyright (c) 2000-2010, PostgreSQL Global Development Group | |
* | |
* src/bin/psql/prompt.h | |
*/ | |
#ifndef PROMPT_H | |
#define PROMPT_H | |
typedef enum _promptStatus | |
{ | |
PROMPT_READY, | |
PROMPT_CONTINUE, | |
PROMPT_COMMENT, | |
PROMPT_SINGLEQUOTE, | |
PROMPT_DOUBLEQUOTE, | |
PROMPT_DOLLARQUOTE, | |
PROMPT_PAREN, | |
PROMPT_COPY | |
} promptStatus_t; | |
char *get_prompt(promptStatus_t status); | |
#endif /* PROMPT_H */ |