diff options
Diffstat (limited to 'usr.bin/patch/pch.h')
-rw-r--r-- | usr.bin/patch/pch.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/usr.bin/patch/pch.h b/usr.bin/patch/pch.h new file mode 100644 index 00000000000..520e9c92bcf --- /dev/null +++ b/usr.bin/patch/pch.h @@ -0,0 +1,27 @@ +/* $Id: pch.h,v 1.1 1995/10/18 08:45:56 deraadt Exp $ */ + +EXT FILE *pfp INIT(Nullfp); /* patch file pointer */ + +void re_patch(); +void open_patch_file(); +void set_hunkmax(); +void grow_hunkmax(); +bool there_is_another_patch(); +int intuit_diff_type(); +void next_intuit_at(); +void skip_to(); +bool another_hunk(); +bool pch_swap(); +char *pfetch(); +short pch_line_len(); +LINENUM pch_first(); +LINENUM pch_ptrn_lines(); +LINENUM pch_newfirst(); +LINENUM pch_repl_lines(); +LINENUM pch_end(); +LINENUM pch_context(); +LINENUM pch_hunk_beg(); +char pch_char(); +char *pfetch(); +char *pgets(); +void do_ed_script(); |