1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-15 02:22:24 +03:00
Files
postgres/src/bin/psql/prompt.h
2001-10-25 05:50:21 +00:00

24 lines
496 B
C

/*
* psql - the PostgreSQL interactive terminal
*
* Copyright 2000 by PostgreSQL Global Development Group
*
* $Header: /cvsroot/pgsql/src/bin/psql/prompt.h,v 1.9 2001/10/25 05:49:54 momjian 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 */