key.h (225736) | key.h (237738) |
---|---|
1/*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Christos Zoulas of Cornell University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 17 unchanged lines hidden (view full) --- 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 * @(#)key.h 8.1 (Berkeley) 6/4/93 33 * $NetBSD: key.h,v 1.10 2006/03/23 20:22:51 christos Exp $ | 1/*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Christos Zoulas of Cornell University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 17 unchanged lines hidden (view full) --- 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 * @(#)key.h 8.1 (Berkeley) 6/4/93 33 * $NetBSD: key.h,v 1.10 2006/03/23 20:22:51 christos Exp $ |
34 * $FreeBSD: stable/9/lib/libedit/key.h 167457 2007-03-11 18:30:22Z stefanf $ | 34 * $FreeBSD: stable/9/lib/libedit/key.h 237738 2012-06-29 03:01:38Z pfg $ |
35 */ 36 37/* 38 * el.key.h: Key macro header 39 */ 40#ifndef _h_el_key 41#define _h_el_key 42 --- 28 unchanged lines hidden (view full) --- 71protected void key_reset(EditLine *); 72protected int key_get(EditLine *, char *, key_value_t *); 73protected void key_add(EditLine *, const char *, key_value_t *, int); 74protected void key_clear(EditLine *, el_action_t *, const char *); 75protected int key_delete(EditLine *, const char *); 76protected void key_print(EditLine *, const char *); 77protected void key_kprint(EditLine *, const char *, key_value_t *, 78 int); | 35 */ 36 37/* 38 * el.key.h: Key macro header 39 */ 40#ifndef _h_el_key 41#define _h_el_key 42 --- 28 unchanged lines hidden (view full) --- 71protected void key_reset(EditLine *); 72protected int key_get(EditLine *, char *, key_value_t *); 73protected void key_add(EditLine *, const char *, key_value_t *, int); 74protected void key_clear(EditLine *, el_action_t *, const char *); 75protected int key_delete(EditLine *, const char *); 76protected void key_print(EditLine *, const char *); 77protected void key_kprint(EditLine *, const char *, key_value_t *, 78 int); |
79protected int key__decode_str(const char *, char *, int, | 79protected size_t key__decode_str(const char *, char *, size_t, |
80 const char *); | 80 const char *); |
81protected int key__decode_char(char *, int, int, int); | 81protected size_t key__decode_char(char *, size_t, size_t, int); |
82 83#endif /* _h_el_key */ | 82 83#endif /* _h_el_key */ |