source: vendor/patch/2.5.9/pch.h@ 3750

Last change on this file since 3750 was 3444, checked in by bird, 18 years ago

patch 2.5.9

File size: 1.6 KB
Line 
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
25LINENUM pch_end (void);
26LINENUM pch_first (void);
27LINENUM pch_hunk_beg (void);
28LINENUM pch_newfirst (void);
29LINENUM pch_prefix_context (void);
30LINENUM pch_ptrn_lines (void);
31LINENUM pch_repl_lines (void);
32LINENUM pch_suffix_context (void);
33bool pch_swap (void);
34bool pch_write_line (LINENUM, FILE *);
35bool there_is_another_patch (void);
36char *pfetch (LINENUM);
37char pch_char (LINENUM);
38int another_hunk (enum diff, bool);
39int pch_says_nonexistent (bool);
40size_t pch_line_len (LINENUM);
41time_t pch_timestamp (bool);
42void do_ed_script (FILE *);
43void open_patch_file (char const *);
44void re_patch (void);
45void set_hunkmax (void);
Note: See TracBrowser for help on using the repository browser.