1*0Sstevel@tonic-gate /* 2*0Sstevel@tonic-gate * 3*0Sstevel@tonic-gate * Portions Copyright %G% Sun Microsystems, Inc. 4*0Sstevel@tonic-gate * All Rights Reserved 5*0Sstevel@tonic-gate * 6*0Sstevel@tonic-gate */ 7*0Sstevel@tonic-gate 8*0Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 9*0Sstevel@tonic-gate 10*0Sstevel@tonic-gate #if defined( MACOS ) || defined( DOS ) || defined( _WIN32 ) || defined( NEED_BSDREGEX ) 11*0Sstevel@tonic-gate /* 12*0Sstevel@tonic-gate * Copyright (c) 1993 Regents of the University of Michigan. 13*0Sstevel@tonic-gate * All rights reserved. 14*0Sstevel@tonic-gate * 15*0Sstevel@tonic-gate * Redistribution and use in source and binary forms are permitted 16*0Sstevel@tonic-gate * provided that this notice is preserved and that due credit is given 17*0Sstevel@tonic-gate * to the University of Michigan at Ann Arbor. The name of the University 18*0Sstevel@tonic-gate * may not be used to endorse or promote products derived from this 19*0Sstevel@tonic-gate * software without specific prior written permission. This software 20*0Sstevel@tonic-gate * is provided ``as is'' without express or implied warranty. 21*0Sstevel@tonic-gate */ 22*0Sstevel@tonic-gate /* 23*0Sstevel@tonic-gate * regex.h -- includes for regular expression matching routines 24*0Sstevel@tonic-gate * 13 August 1993 Mark C Smith 25*0Sstevel@tonic-gate */ 26*0Sstevel@tonic-gate 27*0Sstevel@tonic-gate #ifdef __cplusplus 28*0Sstevel@tonic-gate extern "C" { 29*0Sstevel@tonic-gate #endif 30*0Sstevel@tonic-gate 31*0Sstevel@tonic-gate #if !defined( NEEDPROTOS ) && defined( __STDC__ ) 32*0Sstevel@tonic-gate #define NEEDPROTOS 33*0Sstevel@tonic-gate #endif 34*0Sstevel@tonic-gate 35*0Sstevel@tonic-gate #ifdef NEEDPROTOS 36*0Sstevel@tonic-gate char *re_comp( char *pat ); 37*0Sstevel@tonic-gate int re_exec( char *lp ); 38*0Sstevel@tonic-gate void re_modw( char *s ); 39*0Sstevel@tonic-gate int re_subs( char *src, char *dst ); 40*0Sstevel@tonic-gate #else /* NEEDPROTOS */ 41*0Sstevel@tonic-gate char *re_comp(); 42*0Sstevel@tonic-gate int re_exec(); 43*0Sstevel@tonic-gate void re_modw(); 44*0Sstevel@tonic-gate int re_subs(); 45*0Sstevel@tonic-gate #endif /* NEEDPROTOS */ 46*0Sstevel@tonic-gate 47*0Sstevel@tonic-gate #define re_fail( m, p ) 48*0Sstevel@tonic-gate 49*0Sstevel@tonic-gate #ifdef __cplusplus 50*0Sstevel@tonic-gate } 51*0Sstevel@tonic-gate #endif 52*0Sstevel@tonic-gate #endif /* MACOS or DOS or NEED_BSDREGEX */ 53