1: /* $Header: pch.h,v 2.0.1.1 87/01/30 22:47:16 lwall Exp $ 2: * 3: * $Log: pch.h,v $ 4: * Revision 2.0.1.1 87/01/30 22:47:16 lwall 5: * Added do_ed_script(). 6: * 7: * Revision 2.0 86/09/17 15:39:57 lwall 8: * Baseline for netwide release. 9: * 10: */ 11: 12: EXT FILE *pfp INIT(Nullfp); /* patch file pointer */ 13: 14: void re_patch(); 15: void open_patch_file(); 16: void set_hunkmax(); 17: void grow_hunkmax(); 18: bool there_is_another_patch(); 19: int intuit_diff_type(); 20: void next_intuit_at(); 21: void skip_to(); 22: bool another_hunk(); 23: bool pch_swap(); 24: char *pfetch(); 25: short pch_line_len(); 26: LINENUM pch_first(); 27: LINENUM pch_ptrn_lines(); 28: LINENUM pch_newfirst(); 29: LINENUM pch_repl_lines(); 30: LINENUM pch_end(); 31: LINENUM pch_context(); 32: LINENUM pch_hunk_beg(); 33: char pch_char(); 34: char *pfetch(); 35: char *pgets(); 36: void do_ed_script();