xref: /onnv-gate/usr/src/lib/libldap4/include/regex.h (revision 3857:21b9b714e4ab)
10Sstevel@tonic-gate /*
20Sstevel@tonic-gate  *
3*3857Sstevel  * Portions Copyright 1998 Sun Microsystems, Inc.  All rights reserved.
4*3857Sstevel  * Use is subject to license terms.
50Sstevel@tonic-gate  *
60Sstevel@tonic-gate  */
70Sstevel@tonic-gate 
80Sstevel@tonic-gate #pragma ident	"%Z%%M%	%I%	%E% SMI"
90Sstevel@tonic-gate 
100Sstevel@tonic-gate #if defined( MACOS ) || defined( DOS ) || defined( _WIN32 ) || defined( NEED_BSDREGEX )
110Sstevel@tonic-gate /*
120Sstevel@tonic-gate  * Copyright (c) 1993 Regents of the University of Michigan.
130Sstevel@tonic-gate  * All rights reserved.
140Sstevel@tonic-gate  *
150Sstevel@tonic-gate  * Redistribution and use in source and binary forms are permitted
160Sstevel@tonic-gate  * provided that this notice is preserved and that due credit is given
170Sstevel@tonic-gate  * to the University of Michigan at Ann Arbor. The name of the University
180Sstevel@tonic-gate  * may not be used to endorse or promote products derived from this
190Sstevel@tonic-gate  * software without specific prior written permission. This software
200Sstevel@tonic-gate  * is provided ``as is'' without express or implied warranty.
210Sstevel@tonic-gate  */
220Sstevel@tonic-gate /*
230Sstevel@tonic-gate  * regex.h -- includes for regular expression matching routines
240Sstevel@tonic-gate  * 13 August 1993 Mark C Smith
250Sstevel@tonic-gate  */
260Sstevel@tonic-gate 
270Sstevel@tonic-gate #ifdef __cplusplus
280Sstevel@tonic-gate extern "C" {
290Sstevel@tonic-gate #endif
300Sstevel@tonic-gate 
310Sstevel@tonic-gate #if !defined( NEEDPROTOS ) && defined( __STDC__ )
320Sstevel@tonic-gate #define NEEDPROTOS
330Sstevel@tonic-gate #endif
340Sstevel@tonic-gate 
350Sstevel@tonic-gate #ifdef NEEDPROTOS
360Sstevel@tonic-gate char *re_comp( char *pat );
370Sstevel@tonic-gate int re_exec( char *lp );
380Sstevel@tonic-gate void re_modw( char *s );
390Sstevel@tonic-gate int re_subs( char *src, char *dst );
400Sstevel@tonic-gate #else /* NEEDPROTOS */
410Sstevel@tonic-gate char *re_comp();
420Sstevel@tonic-gate int re_exec();
430Sstevel@tonic-gate void re_modw();
440Sstevel@tonic-gate int re_subs();
450Sstevel@tonic-gate #endif /* NEEDPROTOS */
460Sstevel@tonic-gate 
470Sstevel@tonic-gate #define re_fail( m, p )
480Sstevel@tonic-gate 
490Sstevel@tonic-gate #ifdef __cplusplus
500Sstevel@tonic-gate }
510Sstevel@tonic-gate #endif
520Sstevel@tonic-gate #endif /* MACOS or DOS or NEED_BSDREGEX */
53