26 lines
441 B
C
26 lines
441 B
C
/*
|
|
* psql - the PostgreSQL interactive terminal
|
|
*
|
|
* Copyright (c) 2000-2014, 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 */
|