blob: e3924e9d92d99b2a66825e0c2e5a33265b89f2ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef COMMON_H
#define COMMON_H
#include <c.h>
#include "settings.h"
char *
xstrdup(const char *string);
bool
setQFout(const char *fname, PsqlSettings *pset);
char *
simple_prompt(const char *prompt, int maxlen, bool echo);
const char *
interpolate_var(const char *name, PsqlSettings *pset);
PGresult *
PSQLexec(PsqlSettings *pset, const char *query);
bool
SendQuery(PsqlSettings *pset, const char *query);
#endif /* COMMON_H */
|