1*12db70c8Szrj /* $NetBSD: read.h,v 1.12 2016/05/22 19:44:26 christos Exp $ */ 232fe07f8SJohn Marino 332fe07f8SJohn Marino /*- 432fe07f8SJohn Marino * Copyright (c) 2001 The NetBSD Foundation, Inc. 532fe07f8SJohn Marino * All rights reserved. 632fe07f8SJohn Marino * 732fe07f8SJohn Marino * This code is derived from software contributed to The NetBSD Foundation 832fe07f8SJohn Marino * by Anthony Mallet. 932fe07f8SJohn Marino * 1032fe07f8SJohn Marino * Redistribution and use in source and binary forms, with or without 1132fe07f8SJohn Marino * modification, are permitted provided that the following conditions 1232fe07f8SJohn Marino * are met: 1332fe07f8SJohn Marino * 1. Redistributions of source code must retain the above copyright 1432fe07f8SJohn Marino * notice, this list of conditions and the following disclaimer. 1532fe07f8SJohn Marino * 2. Redistributions in binary form must reproduce the above copyright 1632fe07f8SJohn Marino * notice, this list of conditions and the following disclaimer in the 1732fe07f8SJohn Marino * documentation and/or other materials provided with the distribution. 1832fe07f8SJohn Marino * 1932fe07f8SJohn Marino * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 2032fe07f8SJohn Marino * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 2132fe07f8SJohn Marino * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 2232fe07f8SJohn Marino * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 2332fe07f8SJohn Marino * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2432fe07f8SJohn Marino * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2532fe07f8SJohn Marino * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 2632fe07f8SJohn Marino * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 2732fe07f8SJohn Marino * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2832fe07f8SJohn Marino * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2932fe07f8SJohn Marino * POSSIBILITY OF SUCH DAMAGE. 3032fe07f8SJohn Marino */ 3132fe07f8SJohn Marino 3232fe07f8SJohn Marino /* 3332fe07f8SJohn Marino * el.read.h: Character reading functions 3432fe07f8SJohn Marino */ 3532fe07f8SJohn Marino #ifndef _h_el_read 3632fe07f8SJohn Marino #define _h_el_read 3732fe07f8SJohn Marino 38*12db70c8Szrj libedit_private int read_init(EditLine *); 39*12db70c8Szrj libedit_private void read_end(struct el_read_t *); 40*12db70c8Szrj libedit_private void read_prepare(EditLine *); 41*12db70c8Szrj libedit_private void read_finish(EditLine *); 42*12db70c8Szrj libedit_private int el_read_setfn(struct el_read_t *, el_rfunc_t); 43*12db70c8Szrj libedit_private el_rfunc_t el_read_getfn(struct el_read_t *); 4432fe07f8SJohn Marino 4532fe07f8SJohn Marino #endif /* _h_el_read */ 46