"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libedit/read.h" between
tnftp-20151004.tar.gz and tnftp-20200705.tar.gz

About: tnftp is an enhanced ftp client (prior name "lukemftp").

read.h  (tnftp-20151004):read.h  (tnftp-20200705)
/* $NetBSD: read.h,v 1.3 2008/04/29 08:13:38 martin Exp $ */ /* $NetBSD: read.h,v 1.5 2020/07/04 13:43:21 lukem Exp $ */
/* from NetBSD: read.h,v 1.4 2004/02/27 14:52:18 christos Exp */ /* from NetBSD: read.h,v 1.12 2016/05/22 19:44:26 christos Exp */
/*- /*-
* Copyright (c) 2001 The NetBSD Foundation, Inc. * Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved. * All rights reserved.
* *
* This code is derived from software contributed to The NetBSD Foundation * This code is derived from software contributed to The NetBSD Foundation
* by Anthony Mallet. * by Anthony Mallet.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
skipping to change at line 39 skipping to change at line 39
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
/* /*
* el.read.h: Character reading functions * el.read.h: Character reading functions
*/ */
#ifndef _h_el_read #ifndef _h_el_read
#define _h_el_read #define _h_el_read
typedef int (*el_rfunc_t)(EditLine *, char *); libedit_private int read_init(EditLine *);
libedit_private void read_end(struct el_read_t *);
typedef struct el_read_t { libedit_private void read_prepare(EditLine *);
el_rfunc_t read_char; /* Function to read a character */ libedit_private void read_finish(EditLine *);
} el_read_t; libedit_private int el_read_setfn(struct el_read_t *, el_rfunc_t);
libedit_private el_rfunc_t el_read_getfn(struct el_read_t *);
protected int read_init(EditLine *);
protected void read_prepare(EditLine *);
protected void read_finish(EditLine *);
protected int el_read_setfn(EditLine *, el_rfunc_t);
protected el_rfunc_t el_read_getfn(EditLine *);
#endif /* _h_el_read */ #endif /* _h_el_read */
 End of changes. 2 change blocks. 
13 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)