Logo Search packages:      
Sourcecode: postgresql-8.4 version File versions

prompt.h

/*
 * psql - the PostgreSQL interactive terminal
 *
 * Copyright (c) 2000-2009, PostgreSQL Global Development Group
 *
 * $PostgreSQL$
 */
#ifndef PROMPT_H
#define PROMPT_H

typedef enum _promptStatus
{
      PROMPT_READY,
      PROMPT_CONTINUE,
      PROMPT_COMMENT,
      PROMPT_SINGLEQUOTE,
      PROMPT_DOUBLEQUOTE,
      PROMPT_DOLLARQUOTE,
      PROMPT_PAREN,
      PROMPT_COPY
} promptStatus_t;

char     *get_prompt(promptStatus_t status);

#endif   /* PROMPT_H */

Generated by  Doxygen 1.6.0   Back to index