xref: /netbsd-src/usr.bin/patch/pch.h (revision 811e6386f8c5e4a3521c7003da29ec8673e344fa)
1 /* $Header: /cvsroot/src/usr.bin/patch/pch.h,v 1.1 1993/04/09 11:34:09 cgd Exp $
2  *
3  * $Log: pch.h,v $
4  * Revision 1.1  1993/04/09 11:34:09  cgd
5  * patch 2.0.12u8, from prep.ai.mit.edu.  this is not under the GPL.
6  *
7  * Revision 2.0.1.1  87/01/30  22:47:16  lwall
8  * Added do_ed_script().
9  *
10  * Revision 2.0  86/09/17  15:39:57  lwall
11  * Baseline for netwide release.
12  *
13  */
14 
15 EXT FILE *pfp INIT(Nullfp);		/* patch file pointer */
16 
17 void re_patch();
18 void open_patch_file();
19 void set_hunkmax();
20 void grow_hunkmax();
21 bool there_is_another_patch();
22 int intuit_diff_type();
23 void next_intuit_at();
24 void skip_to();
25 bool another_hunk();
26 bool pch_swap();
27 char *pfetch();
28 short pch_line_len();
29 LINENUM pch_first();
30 LINENUM pch_ptrn_lines();
31 LINENUM pch_newfirst();
32 LINENUM pch_repl_lines();
33 LINENUM pch_end();
34 LINENUM pch_context();
35 LINENUM pch_hunk_beg();
36 char pch_char();
37 char *pfetch();
38 char *pgets();
39 void do_ed_script();
40