1209136Sjilles/*-
2209136Sjilles * Copyright (c) 1997 The NetBSD Foundation, Inc.
3209136Sjilles * All rights reserved.
4209136Sjilles *
5209136Sjilles * This code is derived from software contributed to The NetBSD Foundation
6209136Sjilles * by Jaromir Dolecek.
7209136Sjilles *
8209136Sjilles * Redistribution and use in source and binary forms, with or without
9209136Sjilles * modification, are permitted provided that the following conditions
10209136Sjilles * are met:
11209136Sjilles * 1. Redistributions of source code must retain the above copyright
12209136Sjilles *    notice, this list of conditions and the following disclaimer.
13209136Sjilles * 2. Redistributions in binary form must reproduce the above copyright
14209136Sjilles *    notice, this list of conditions and the following disclaimer in the
15209136Sjilles *    documentation and/or other materials provided with the distribution.
16209136Sjilles *
17209136Sjilles * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
18209136Sjilles * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
19209136Sjilles * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20209136Sjilles * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
21209136Sjilles * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22209136Sjilles * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23209136Sjilles * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24209136Sjilles * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25209136Sjilles * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26209136Sjilles * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27209136Sjilles * POSSIBILITY OF SUCH DAMAGE.
28209136Sjilles *
29268782Spfg *	$NetBSD: filecomplete.h,v 1.8 2009/02/16 00:15:45 christos Exp $
30209136Sjilles * $FreeBSD$
31209136Sjilles */
32209136Sjilles#ifndef _FILECOMPLETE_H_
33209136Sjilles#define _FILECOMPLETE_H_
34209136Sjilles
35209136Sjillesint fn_complete(EditLine *,
36209136Sjilles    char *(*)(const char *, int),
37209136Sjilles    char **(*)(const char *, int, int),
38209136Sjilles    const char *, const char *, const char *(*)(const char *), size_t,
39209219Sjilles    int *, int *, int *, int *,
40209219Sjilles    const char *(*)(const char *, const char *),
41209219Sjilles    char *(*)(const char *),
42209219Sjilles    char *(*)(const char *));
43209136Sjilles
44209136Sjillesvoid fn_display_match_list(EditLine *, char **, size_t, size_t);
45209136Sjilleschar *fn_tilde_expand(const char *);
46209136Sjilleschar *fn_filename_completion_function(const char *, int);
47209136Sjilles
48209136Sjilles#endif
49