aboutsummaryrefslogtreecommitdiffstats
path: root/plpftp/rlcrap.h
blob: 92df6590b4b71e7e6404c833e2ad522737dd62f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Woraround for crappy readline.h which defines wrong prototypes.
 */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#if HAVE_LIBREADLINE
#include <readline/readline.h>
#ifdef __cplusplus
extern "C" {
#endif
extern CPFunction *cmdgen_ptr;
extern CPFunction *fnmgen_ptr;

typedef char *(*CorrectFunProto)(char *, int);

extern void rlcrap_setpointers(CorrectFunProto, CorrectFunProto);
#ifdef __cplusplus
}
#endif
#endif