pat_rep.h (3044) | pat_rep.h (21673) |
---|---|
1/*- 2 * Copyright (c) 1992 Keith Muller. 3 * Copyright (c) 1992, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Keith Muller of the University of California, San Diego. 8 * --- 21 unchanged lines hidden (view full) --- 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * @(#)pat_rep.h 8.1 (Berkeley) 5/31/93 | 1/*- 2 * Copyright (c) 1992 Keith Muller. 3 * Copyright (c) 1992, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Keith Muller of the University of California, San Diego. 8 * --- 21 unchanged lines hidden (view full) --- 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * @(#)pat_rep.h 8.1 (Berkeley) 5/31/93 |
38 * $Id$ | 38 * $FreeBSD: head/bin/pax/pat_rep.h 21673 1997-01-14 07:20:47Z jkh $ |
39 */ 40 41/* 42 * data structure for storing user supplied replacement strings (-s) 43 */ 44typedef struct replace { 45 char *nstr; /* the new string we will substitute with */ 46# ifdef NET2_REGEX 47 regexp *rcmp; /* compiled regular expression used to match */ 48# else 49 regex_t rcmp; /* compiled regular expression used to match */ 50# endif 51 int flgs; /* print conversions? global in operation? */ 52#define PRNT 0x1 53#define GLOB 0x2 54 struct replace *fow; /* pointer to next pattern */ 55} REPLACE; | 39 */ 40 41/* 42 * data structure for storing user supplied replacement strings (-s) 43 */ 44typedef struct replace { 45 char *nstr; /* the new string we will substitute with */ 46# ifdef NET2_REGEX 47 regexp *rcmp; /* compiled regular expression used to match */ 48# else 49 regex_t rcmp; /* compiled regular expression used to match */ 50# endif 51 int flgs; /* print conversions? global in operation? */ 52#define PRNT 0x1 53#define GLOB 0x2 54 struct replace *fow; /* pointer to next pattern */ 55} REPLACE; |