1193323Sed/*- 2193323Sed * Copyright (c) 1997 The NetBSD Foundation, Inc. 3193323Sed * All rights reserved. 4193323Sed * 5193323Sed * This code is derived from software contributed to The NetBSD Foundation 6193323Sed * by Jaromir Dolecek. 7193323Sed * 8193323Sed * Redistribution and use in source and binary forms, with or without 9193323Sed * modification, are permitted provided that the following conditions 10193323Sed * are met: 11193323Sed * 1. Redistributions of source code must retain the above copyright 12193323Sed * notice, this list of conditions and the following disclaimer. 13193323Sed * 2. Redistributions in binary form must reproduce the above copyright 14193323Sed * notice, this list of conditions and the following disclaimer in the 15193323Sed * documentation and/or other materials provided with the distribution. 16198090Srdivacky * 17218893Sdim * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 18193323Sed * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 19249423Sdim * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 20249423Sdim * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 21249423Sdim * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22249423Sdim * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23249423Sdim * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24249423Sdim * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25193323Sed * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26249423Sdim * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27198090Srdivacky * POSSIBILITY OF SUCH DAMAGE. 28249423Sdim * 29193323Sed * $NetBSD: filecomplete.h,v 1.8 2009/02/16 00:15:45 christos Exp $ 30249423Sdim * $FreeBSD: releng/10.3/lib/libedit/filecomplete.h 268782 2014-07-17 02:14:25Z pfg $ 31198090Srdivacky */ 32198090Srdivacky#ifndef _FILECOMPLETE_H_ 33223017Sdim#define _FILECOMPLETE_H_ 34193323Sed 35193323Sedint fn_complete(EditLine *, 36193323Sed char *(*)(const char *, int), 37193323Sed char **(*)(const char *, int, int), 38193323Sed const char *, const char *, const char *(*)(const char *), size_t, 39193323Sed int *, int *, int *, int *, 40193323Sed const char *(*)(const char *, const char *), 41203954Srdivacky char *(*)(const char *), 42203954Srdivacky char *(*)(const char *)); 43203954Srdivacky 44203954Srdivackyvoid fn_display_match_list(EditLine *, char **, size_t, size_t); 45203954Srdivackychar *fn_tilde_expand(const char *); 46223017Sdimchar *fn_filename_completion_function(const char *, int); 47218893Sdim 48218893Sdim#endif 49218893Sdim