blob: 4185818a838e5c6af9b18658f72625ea3fc01ddc [file] [log] [blame]
"Vladimir N. Oleynik"23f62fc2005-09-14 16:59:11 +00001/* vi: set sw=4 ts=4: */
2/*
Rob Landley86b4d642006-08-03 17:58:17 +00003 * Busybox xregcomp utility routine. This isn't in libbb.h because the
4 * C library we're linking against may not support regex.h.
"Vladimir N. Oleynik"23f62fc2005-09-14 16:59:11 +00005 *
6 * Based in part on code from sash, Copyright (c) 1999 by David I. Bell
7 * Permission has been granted to redistribute this code under the GPL.
Denis Vlasenko9213a9e2006-09-17 16:28:10 +00008 *
Rob Landley86b4d642006-08-03 17:58:17 +00009 * Licensed under GPLv2 or later, see file License in this tarball for details.
"Vladimir N. Oleynik"23f62fc2005-09-14 16:59:11 +000010 */
11#ifndef __BB_REGEX__
12#define __BB_REGEX__
13
"Vladimir N. Oleynik"23f62fc2005-09-14 16:59:11 +000014#include <regex.h>
15extern void xregcomp(regex_t *preg, const char *regex, int cflags);
16
17#endif