[3444] | 1 | /* reading patches */
|
---|
| 2 |
|
---|
| 3 | /* $Id: pch.h,v 1.11 2003/05/20 13:56:03 eggert Exp $ */
|
---|
| 4 |
|
---|
| 5 | /* Copyright (C) 1986, 1987, 1988 Larry Wall
|
---|
| 6 |
|
---|
| 7 | Copyright (C) 1990, 1991, 1992, 1993, 1997, 1998, 1999, 2000, 2001,
|
---|
| 8 | 2002, 2003 Free Software Foundation, Inc.
|
---|
| 9 |
|
---|
| 10 | This program is free software; you can redistribute it and/or modify
|
---|
| 11 | it under the terms of the GNU General Public License as published by
|
---|
| 12 | the Free Software Foundation; either version 2, or (at your option)
|
---|
| 13 | any later version.
|
---|
| 14 |
|
---|
| 15 | This program is distributed in the hope that it will be useful,
|
---|
| 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 18 | GNU General Public License for more details.
|
---|
| 19 |
|
---|
| 20 | You should have received a copy of the GNU General Public License
|
---|
| 21 | along with this program; see the file COPYING.
|
---|
| 22 | If not, write to the Free Software Foundation,
|
---|
| 23 | 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
---|
| 24 |
|
---|
| 25 | LINENUM pch_end (void);
|
---|
| 26 | LINENUM pch_first (void);
|
---|
| 27 | LINENUM pch_hunk_beg (void);
|
---|
| 28 | LINENUM pch_newfirst (void);
|
---|
| 29 | LINENUM pch_prefix_context (void);
|
---|
| 30 | LINENUM pch_ptrn_lines (void);
|
---|
| 31 | LINENUM pch_repl_lines (void);
|
---|
| 32 | LINENUM pch_suffix_context (void);
|
---|
| 33 | bool pch_swap (void);
|
---|
| 34 | bool pch_write_line (LINENUM, FILE *);
|
---|
| 35 | bool there_is_another_patch (void);
|
---|
| 36 | char *pfetch (LINENUM);
|
---|
| 37 | char pch_char (LINENUM);
|
---|
| 38 | int another_hunk (enum diff, bool);
|
---|
| 39 | int pch_says_nonexistent (bool);
|
---|
| 40 | size_t pch_line_len (LINENUM);
|
---|
| 41 | time_t pch_timestamp (bool);
|
---|
| 42 | void do_ed_script (FILE *);
|
---|
| 43 | void open_patch_file (char const *);
|
---|
| 44 | void re_patch (void);
|
---|
| 45 | void set_hunkmax (void);
|
---|