source: trunk/minix/commands/patch/pch.h@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 1.7 KB
Line 
1/* $Header: /cvsup/minix/src/commands/patch/pch.h,v 1.1.1.1 2005/04/21 14:55:11 beng Exp $
2 *
3 * $Log: pch.h,v $
4 * Revision 1.1.1.1 2005/04/21 14:55:11 beng
5 * Initial import of pre-3.0.1
6 *
7 * Revision 1.1.1.1 2005/04/20 13:33:19 beng
8 * Initial import of minix 2.0.4
9 *
10 * Revision 2.0.1.1 87/01/30 22:47:16 lwall
11 * Added do_ed_script().
12 *
13 * Revision 2.0 86/09/17 15:39:57 lwall
14 * Baseline for netwide release.
15 *
16 */
17
18EXT FILE *pfp INIT(Nullfp); /* patch file pointer */
19#ifdef SMALL
20EXT FILE *sfp INIT(Nullfp); /* string file pointer */
21#endif
22
23_PROTOTYPE(void re_patch , (void));
24_PROTOTYPE(void open_patch_file , (char *filename ));
25_PROTOTYPE(void set_hunkmax , (void));
26_PROTOTYPE(void grow_hunkmax , (void));
27_PROTOTYPE(bool there_is_another_patch , (void));
28_PROTOTYPE(int intuit_diff_type , (void));
29_PROTOTYPE(void next_intuit_at , (long file_pos , long file_line ));
30_PROTOTYPE(void skip_to , (long file_pos , long file_line ));
31_PROTOTYPE(bool another_hunk , (void));
32_PROTOTYPE(char *pgets , (char *bf , int sz , FILE *fp ));
33_PROTOTYPE(bool pch_swap , (void));
34_PROTOTYPE(LINENUM pch_first , (void));
35_PROTOTYPE(LINENUM pch_ptrn_lines , (void));
36_PROTOTYPE(LINENUM pch_newfirst , (void));
37_PROTOTYPE(LINENUM pch_repl_lines , (void));
38_PROTOTYPE(LINENUM pch_end , (void));
39_PROTOTYPE(LINENUM pch_context , (void));
40_PROTOTYPE(short pch_line_len , (LINENUM line ));
41_PROTOTYPE(char pch_char , (LINENUM line ));
42_PROTOTYPE(char *pfetch , (LINENUM line ));
43_PROTOTYPE(LINENUM pch_hunk_beg , (void));
44_PROTOTYPE(void do_ed_script , (void));
45#ifdef SMALL
46_PROTOTYPE(long saveStr , (char *string , short *length ));
47_PROTOTYPE(void strEdit , (long pos , int from , int to ));
48#endif
Note: See TracBrowser for help on using the repository browser.