25 lines
481 B
C
25 lines
481 B
C
/*
|
|
* psql - the PostgreSQL interactive terminal
|
|
*
|
|
* Copyright (c) 2000-2003, PostgreSQL Global Development Group
|
|
*
|
|
* $Header: /cvsroot/pgsql/src/bin/psql/prompt.h,v 1.12 2003/08/04 23:59:40 tgl Exp $
|
|
*/
|
|
#ifndef PROMPT_H
|
|
#define PROMPT_H
|
|
|
|
typedef enum _promptStatus
|
|
{
|
|
PROMPT_READY,
|
|
PROMPT_CONTINUE,
|
|
PROMPT_COMMENT,
|
|
PROMPT_SINGLEQUOTE,
|
|
PROMPT_DOUBLEQUOTE,
|
|
PROMPT_PAREN,
|
|
PROMPT_COPY
|
|
} promptStatus_t;
|
|
|
|
char *get_prompt(promptStatus_t status);
|
|
|
|
#endif /* PROMPT_H */
|