File indexing completed on 2025-11-03 10:00:51
0001 
0002 
0003 
0004 
0005 
0006 
0007 
0008 
0009 
0010 
0011 
0012 
0013 
0014 
0015 
0016 
0017 
0018 
0019 
0020 
0021 
0022 #ifndef _RL_TYPEDEFS_H_
0023 #define _RL_TYPEDEFS_H_
0024 
0025 #ifdef __cplusplus
0026 extern "C" {
0027 #endif
0028 
0029 
0030 
0031 #if !defined (_FUNCTION_DEF)
0032 #  define _FUNCTION_DEF
0033 
0034 #if defined(__GNUC__) || defined(__clang__)
0035 typedef int Function () __attribute__((deprecated));
0036 typedef void VFunction () __attribute__((deprecated));
0037 typedef char *CPFunction () __attribute__((deprecated));
0038 typedef char **CPPFunction () __attribute__((deprecated));
0039 #else
0040 typedef int Function ();
0041 typedef void VFunction ();
0042 typedef char *CPFunction ();
0043 typedef char **CPPFunction ();
0044 #endif
0045 
0046 #endif 
0047 
0048 
0049 
0050 #if !defined (_RL_FUNCTION_TYPEDEF)
0051 #  define _RL_FUNCTION_TYPEDEF
0052 
0053 
0054 typedef int rl_command_func_t (int, int);
0055 
0056 
0057 typedef char *rl_compentry_func_t (const char *, int);
0058 typedef char **rl_completion_func_t (const char *, int, int);
0059 
0060 typedef char *rl_quote_func_t (char *, int, char *);
0061 typedef char *rl_dequote_func_t (char *, int);
0062 
0063 typedef int rl_compignore_func_t (char **);
0064 
0065 typedef void rl_compdisp_func_t (char **, int, int);
0066 
0067 
0068 typedef int rl_hook_func_t (void);
0069 
0070 
0071 typedef int rl_getc_func_t (FILE *);
0072 
0073 
0074 
0075 
0076 typedef int rl_linebuf_func_t (char *, int);
0077 
0078 
0079 typedef int rl_intfunc_t (int);
0080 #define rl_ivoidfunc_t rl_hook_func_t
0081 typedef int rl_icpfunc_t (char *);
0082 typedef int rl_icppfunc_t (char **);
0083 
0084 typedef void rl_voidfunc_t (void);
0085 typedef void rl_vintfunc_t (int);
0086 typedef void rl_vcpfunc_t (char *);
0087 typedef void rl_vcppfunc_t (char **);
0088 
0089 typedef char *rl_cpvfunc_t (void);
0090 typedef char *rl_cpifunc_t (int);
0091 typedef char *rl_cpcpfunc_t (char  *);
0092 typedef char *rl_cpcppfunc_t (char  **);
0093 
0094 #endif 
0095 
0096 #ifdef __cplusplus
0097 }
0098 #endif
0099 
0100 #endif