summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/patch/pch.h
diff options
context:
space:
mode:
authorpaul <paul@FreeBSD.org>1993-06-19 14:21:53 +0000
committerpaul <paul@FreeBSD.org>1993-06-19 14:21:53 +0000
commit146bcedccdd97829716f102265608ee44a35d3a1 (patch)
treec3a8f2804cc8d549e7a36033d8b754f79d31a712 /gnu/usr.bin/patch/pch.h
parentca423ff42e4945ed170d3b08a672682a56125ae6 (diff)
downloadFreeBSD-src-146bcedccdd97829716f102265608ee44a35d3a1.zip
FreeBSD-src-146bcedccdd97829716f102265608ee44a35d3a1.tar.gz
b-maked patch-2.10
Diffstat (limited to 'gnu/usr.bin/patch/pch.h')
-rw-r--r--gnu/usr.bin/patch/pch.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/usr.bin/patch/pch.h b/gnu/usr.bin/patch/pch.h
new file mode 100644
index 0000000..97a5b28
--- /dev/null
+++ b/gnu/usr.bin/patch/pch.h
@@ -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();
OpenPOWER on IntegriCloud