62 lines
1.6 KiB
C
62 lines
1.6 KiB
C
/* @(#)04 1.1 src/bos/usr/bin/patch/pch.h, cmdposix, bos411, 9428A410j 6/15/93 14:04:12 */
|
|
/*
|
|
* COMPONENT_NAME: (CMDPOSIX) new commands required by Posix 1003.2
|
|
*
|
|
* FUNCTIONS: None
|
|
*
|
|
* ORIGINS: 27, 85
|
|
*
|
|
* This module contains IBM CONFIDENTIAL code. -- (IBM
|
|
* Confidential Restricted when combined with the aggregated
|
|
* modules for this product)
|
|
* SOURCE MATERIALS
|
|
* (C) COPYRIGHT International Business Machines Corp. 1993
|
|
* All Rights Reserved
|
|
*
|
|
* US Government Users Restricted Rights - Use, duplication or
|
|
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
|
*
|
|
* (c) Copyright 1990, 1991, 1992, 1993 OPEN SOFTWARE FOUNDATION, INC.
|
|
* ALL RIGHTS RESERVED
|
|
*
|
|
* OSF/1 1.2
|
|
*/
|
|
/* @(#)$RCSfile: pch.h,v $ $Revision: 1.1.2.2 $ (OSF) $Date: 1992/07/06 18:33:09 $ */
|
|
|
|
/* 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();
|