X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=lib%2Freadline%2Ftilde.h;h=634b95449aa56a05afbde1531a95f90894dea863;hb=d166f048818e10cf3799aa24a174fb22835f1acc;hp=6f0898c73721ff5212983e9f8cc71c5e8eb77a99;hpb=ccc6cda312fea9f0468ee65b8f368e9653e1380b;p=platform%2Fupstream%2Fbash.git diff --git a/lib/readline/tilde.h b/lib/readline/tilde.h index 6f0898c..634b954 100644 --- a/lib/readline/tilde.h +++ b/lib/readline/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