Header And Logo

PostgreSQL
| The world's most advanced open source database.

prompt.h

Go to the documentation of this file.
00001 /*
00002  * psql - the PostgreSQL interactive terminal
00003  *
00004  * Copyright (c) 2000-2013, PostgreSQL Global Development Group
00005  *
00006  * src/bin/psql/prompt.h
00007  */
00008 #ifndef PROMPT_H
00009 #define PROMPT_H
00010 
00011 typedef enum _promptStatus
00012 {
00013     PROMPT_READY,
00014     PROMPT_CONTINUE,
00015     PROMPT_COMMENT,
00016     PROMPT_SINGLEQUOTE,
00017     PROMPT_DOUBLEQUOTE,
00018     PROMPT_DOLLARQUOTE,
00019     PROMPT_PAREN,
00020     PROMPT_COPY
00021 } promptStatus_t;
00022 
00023 char       *get_prompt(promptStatus_t status);
00024 
00025 #endif   /* PROMPT_H */