34 lines · 1.3 KB · C
RawDownload
/*  * This file is part of the UCB release of Plan 9. It is subject to the license * terms in the LICENSE file found in the top-level directory of this * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No * part of the UCB release of Plan 9, including this file, may be copied, * modified, propagated, or distributed except according to the terms contained * in the LICENSE file. */ /* reading patches */ /* $Id: pch.h,v 1.8 1997/06/13 06:28:37 eggert Exp $ */ LINENUM pch_end PARAMS ((void));LINENUM pch_first PARAMS ((void));LINENUM pch_hunk_beg PARAMS ((void));LINENUM pch_newfirst PARAMS ((void));LINENUM pch_prefix_context PARAMS ((void));LINENUM pch_ptrn_lines PARAMS ((void));LINENUM pch_repl_lines PARAMS ((void));LINENUM pch_suffix_context PARAMS ((void));bool pch_swap PARAMS ((void));bool pch_write_line PARAMS ((LINENUM, FILE *));bool there_is_another_patch PARAMS ((void));char *pfetch PARAMS ((LINENUM));char pch_char PARAMS ((LINENUM));int another_hunk PARAMS ((enum diff, int));int pch_says_nonexistent PARAMS ((int));size_t pch_line_len PARAMS ((LINENUM));time_t pch_timestamp PARAMS ((int));void do_ed_script PARAMS ((FILE *));void open_patch_file PARAMS ((char const *));void re_patch PARAMS ((void));void set_hunkmax PARAMS ((void));