BSD 4_4 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Fri, 13 Feb 1987 06:48:20 +0000 (22:48 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Fri, 13 Feb 1987 06:48:20 +0000 (22:48 -0800)
Work on file usr/src/usr.bin/patch/pch.h

Synthesized-from: CSRG/cd3/4.4

usr/src/usr.bin/patch/pch.h [new file with mode: 0644]

diff --git a/usr/src/usr.bin/patch/pch.h b/usr/src/usr.bin/patch/pch.h
new file mode 100644 (file)
index 0000000..97a5b28
--- /dev/null
@@ -0,0 +1,36 @@
+/* $Header: pch.h,v 2.0.1.1 87/01/30 22:47:16 lwall Exp $
+ *
+ * $Log:       pch.h,v $
+ * Revision 2.0.1.1  87/01/30  22:47:16  lwall
+ * Added do_ed_script().
+ * 
+ * Revision 2.0  86/09/17  15:39:57  lwall
+ * Baseline for netwide release.
+ * 
+ */
+
+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();