PostgreSQL Source Code  git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
prompt.h
Go to the documentation of this file.
1 /*
2  * psql - the PostgreSQL interactive terminal
3  *
4  * Copyright (c) 2000-2024, PostgreSQL Global Development Group
5  *
6  * src/bin/psql/prompt.h
7  */
8 #ifndef PROMPT_H
9 #define PROMPT_H
10 
11 #include "fe_utils/conditional.h"
12 /* enum promptStatus_t is now defined by psqlscan.h */
13 #include "fe_utils/psqlscan.h"
14 
15 char *get_prompt(promptStatus_t status, ConditionalStack cstack);
16 
17 #endif /* PROMPT_H */
char * get_prompt(promptStatus_t status, ConditionalStack cstack)
Definition: prompt.c:66
enum _promptStatus promptStatus_t