~ubuntu-branches/ubuntu/lucid/postgresql-8.4/lucid-security

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-03-20 12:00:13 UTC
  • Revision ID: james.westby@ubuntu.com-20090320120013-hogj7egc5mjncc5g
Tags: upstream-8.4~0cvs20090328
ImportĀ upstreamĀ versionĀ 8.4~0cvs20090328

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * psql - the PostgreSQL interactive terminal
 
3
 *
 
4
 * Copyright (c) 2000-2009, PostgreSQL Global Development Group
 
5
 *
 
6
 * $PostgreSQL$
 
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 */