diff options
author | ache <ache@FreeBSD.org> | 1997-06-07 12:17:44 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-06-07 12:17:44 +0000 |
commit | b6bac891b077ba9da2b507a621c4a85d8eb378f1 (patch) | |
tree | 273a40857d601fa83d190bfbfb6ae23041a7743d /contrib/libreadline/tilde.h | |
parent | c83c156e7342a7eb5f28600f69a0847e24720fc8 (diff) | |
download | FreeBSD-src-b6bac891b077ba9da2b507a621c4a85d8eb378f1.zip FreeBSD-src-b6bac891b077ba9da2b507a621c4a85d8eb378f1.tar.gz |
Virgin import of readline-2.1, unneded docs deleted
Diffstat (limited to 'contrib/libreadline/tilde.h')
-rw-r--r-- | contrib/libreadline/tilde.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/libreadline/tilde.h b/contrib/libreadline/tilde.h index 6f0898c..634b954 100644 --- a/contrib/libreadline/tilde.h +++ b/contrib/libreadline/tilde.h @@ -33,6 +33,12 @@ typedef char *CPFunction (); typedef char **CPPFunction (); #endif /* _FUNCTION_DEF */ +/* If non-null, this contains the address of a function that the application + wants called before trying the standard tilde expansions. The function + is called with the text sans tilde, and returns a malloc()'ed string + which is the expansion, or a NULL pointer if the expansion fails. */ +extern CPFunction *tilde_expansion_preexpansion_hook; + /* If non-null, this contains the address of a function to call if the standard meaning for expanding a tilde fails. The function is called with the text (sans tilde, as in "foo"), and returns a malloc()'ed string |