/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1985-2011 AT&T Intellectual Property *
* and is licensed under the *
* Common Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* David Korn <dgk@research.att.com> *
* Phong Vo <kpv@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
/*
* <regexp.h> library support
*/
#define _REGEXP_DECLARE
#include <ast.h>
#include <regexp.h>
#include <regex.h>
#include <align.h>
typedef struct
{
char* buf;
char* cur;
unsigned int size;
} Env_t;
static void*
{
return 0;
return data;
}
int
{
register int n;
return 50;
switch (n)
{
case 0:
break;
case REG_ERANGE:
n = 11;
break;
case REG_BADBR:
n = 16;
break;
case REG_ESUBREG:
n = 25;
break;
case REG_EPAREN:
n = 42;
break;
case REG_EBRACK:
n = 49;
break;
default:
n = 50;
break;
}
return n;
}
int
{
register int n;
return 0;
{
}
return 1;
}
char*
_re_putc(int c)
{
return 0;
if (!c)
return 0;
}