ed.h (98465) | ed.h (101093) |
---|---|
1/* ed.h: type and constant definitions for the ed editor. */ 2/* 3 * Copyright (c) 1993 Andrew Moore 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 11 unchanged lines hidden (view full) --- 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * 27 * @(#)ed.h,v 1.5 1994/02/01 00:34:39 alm Exp | 1/* ed.h: type and constant definitions for the ed editor. */ 2/* 3 * Copyright (c) 1993 Andrew Moore 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 11 unchanged lines hidden (view full) --- 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * 27 * @(#)ed.h,v 1.5 1994/02/01 00:34:39 alm Exp |
28 * $FreeBSD: head/bin/ed/ed.h 98465 2002-06-20 05:28:02Z jmallett $ | 28 * $FreeBSD: head/bin/ed/ed.h 101093 2002-07-31 16:52:16Z markm $ |
29 */ 30 31#include <sys/param.h> 32#include <errno.h> 33#include <limits.h> 34#include <regex.h> 35#include <signal.h> 36#include <stdio.h> --- 138 unchanged lines hidden (view full) --- 175/* NEWLINE_TO_NUL: overwrite newlines with ASCII NULs */ 176#define NEWLINE_TO_NUL(s, l) translit_text(s, l, '\n', '\0') 177 178/* Local Function Declarations */ 179void add_line_node(line_t *); 180int append_lines(long); 181int apply_subst_template(const char *, regmatch_t *, int, int); 182int build_active_list(int); | 29 */ 30 31#include <sys/param.h> 32#include <errno.h> 33#include <limits.h> 34#include <regex.h> 35#include <signal.h> 36#include <stdio.h> --- 138 unchanged lines hidden (view full) --- 175/* NEWLINE_TO_NUL: overwrite newlines with ASCII NULs */ 176#define NEWLINE_TO_NUL(s, l) translit_text(s, l, '\n', '\0') 177 178/* Local Function Declarations */ 179void add_line_node(line_t *); 180int append_lines(long); 181int apply_subst_template(const char *, regmatch_t *, int, int); 182int build_active_list(int); |
183int cbc_decode(char *, FILE *); 184int cbc_encode(char *, int, FILE *); | 183int cbc_decode(unsigned char *, FILE *); 184int cbc_encode(unsigned char *, int, FILE *); |
185int check_addr_range(long, long); 186void clear_active_list(void); 187void clear_undo_stack(void); 188int close_sbuf(void); 189int copy_lines(long); 190int delete_lines(long, long); 191void des_error(const char *); 192int display_lines(long, long, int); --- 82 unchanged lines hidden --- | 185int check_addr_range(long, long); 186void clear_active_list(void); 187void clear_undo_stack(void); 188int close_sbuf(void); 189int copy_lines(long); 190int delete_lines(long, long); 191void des_error(const char *); 192int display_lines(long, long, int); --- 82 unchanged lines hidden --- |