~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to src/bin/psql/prompt.h

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * psql - the PostgreSQL interactive terminal
 
3
 *
 
4
 * Copyright (c) 2000-2005, PostgreSQL Global Development Group
 
5
 *
 
6
 * $PostgreSQL: pgsql/src/bin/psql/prompt.h,v 1.16 2005-01-01 05:43:08 momjian Exp $
 
7
 */
 
8
#ifndef PROMPT_H
 
9
#define PROMPT_H
 
10
 
 
11
typedef enum _promptStatus
 
12
{
 
13
        PROMPT_READY,
 
14
        PROMPT_CONTINUE,
 
15
        PROMPT_COMMENT,
 
16
        PROMPT_SINGLEQUOTE,
 
17
        PROMPT_DOUBLEQUOTE,
 
18
        PROMPT_DOLLARQUOTE,
 
19
        PROMPT_PAREN,
 
20
        PROMPT_COPY
 
21
} promptStatus_t;
 
22
 
 
23
char       *get_prompt(promptStatus_t status);
 
24
 
 
25
#endif   /* PROMPT_H */