"Fossies" - the Fresh Open Source Software Archive  

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

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

prompt.h  (tnftp-20151004):prompt.h  (tnftp-20200705)
/* $NetBSD: prompt.h,v 1.2 2005/05/11 01:17:39 lukem Exp $ */ /* $NetBSD: prompt.h,v 1.4 2020/07/04 13:43:21 lukem Exp $ */
/* from NetBSD: prompt.h,v 1.6 2003/08/07 16:44:32 agc Exp */ /* from NetBSD: prompt.h,v 1.15 2016/05/09 21:46:56 christos Exp *
/
/*- /*-
* Copyright (c) 1992, 1993 * Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.
* *
* This code is derived from software contributed to Berkeley by * This code is derived from software contributed to Berkeley by
* Christos Zoulas of Cornell University. * Christos Zoulas of Cornell University.
* *
* 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 44 skipping to change at line 44
* *
* @(#)prompt.h 8.1 (Berkeley) 6/4/93 * @(#)prompt.h 8.1 (Berkeley) 6/4/93
*/ */
/* /*
* el.prompt.h: Prompt printing stuff * el.prompt.h: Prompt printing stuff
*/ */
#ifndef _h_el_prompt #ifndef _h_el_prompt
#define _h_el_prompt #define _h_el_prompt
#include "histedit.h" typedef wchar_t *(*el_pfunc_t)(EditLine *);
typedef char * (*el_pfunc_t)(EditLine*);
typedef struct el_prompt_t { typedef struct el_prompt_t {
el_pfunc_t p_func; /* Function to return the prompt */ el_pfunc_t p_func; /* Function to return the prompt */
coord_t p_pos; /* position in the line after prompt */ coord_t p_pos; /* position in the line after prompt */
wchar_t p_ignore; /* character to start/end literal */
int p_wide;
} el_prompt_t; } el_prompt_t;
protected void prompt_print(EditLine *, int); libedit_private void prompt_print(EditLine *, int);
protected int prompt_set(EditLine *, el_pfunc_t, int); libedit_private int prompt_set(EditLine *, el_pfunc_t, wchar_t, int, int);
protected int prompt_get(EditLine *, el_pfunc_t *, int); libedit_private int prompt_get(EditLine *, el_pfunc_t *, wchar_t *, int);
protected int prompt_init(EditLine *); libedit_private int prompt_init(EditLine *);
protected void prompt_end(EditLine *); libedit_private void prompt_end(EditLine *);
#endif /* _h_el_prompt */ #endif /* _h_el_prompt */
 End of changes. 4 change blocks. 
12 lines changed or deleted 13 lines changed or added

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