blob: cf8f8a9b4d54468af1a7a6f7e45e884cc56955cf [file] [log] [blame]
Stefan Reinauer6540ae52007-07-12 16:35:42 +00001/*****************************************************************************\
2 * reg_expr.h
Uwe Hermann1a6177b2008-01-25 15:08:37 +00003 * $Id$
Stefan Reinauer6540ae52007-07-12 16:35:42 +00004 *****************************************************************************
5 * Copyright (C) 2002-2005 The Regents of the University of California.
6 * Produced at the Lawrence Livermore National Laboratory.
7 * Written by Dave Peterson <dsp@llnl.gov> <dave_peterson@pobox.com>.
8 * UCRL-CODE-2003-012
9 * All rights reserved.
10 *
Uwe Hermann6e565942008-03-01 19:06:32 +000011 * This file is part of nvramtool, a utility for reading/writing coreboot
Stefan Reinauerf527e702008-01-18 15:33:49 +000012 * parameters and displaying information from the coreboot table.
Uwe Hermann6e565942008-03-01 19:06:32 +000013 * For details, see http://coreboot.org/nvramtool.
Stefan Reinauer6540ae52007-07-12 16:35:42 +000014 *
15 * Please also read the file DISCLAIMER which is included in this software
16 * distribution.
17 *
18 * This program is free software; you can redistribute it and/or modify it
19 * under the terms of the GNU General Public License (as published by the
20 * Free Software Foundation) version 2, dated June 1991.
21 *
22 * This program is distributed in the hope that it will be useful, but
23 * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
25 * conditions of the GNU General Public License for more details.
26 *
27 * You should have received a copy of the GNU General Public License along
28 * with this program; if not, write to the Free Software Foundation, Inc.,
29 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
30\*****************************************************************************/
31
Uwe Hermann6e565942008-03-01 19:06:32 +000032#ifndef REG_EXPR_H
33#define REG_EXPR_H
Stefan Reinauer6540ae52007-07-12 16:35:42 +000034
35#include <regex.h>
36#include "common.h"
37
38void compile_reg_exprs (int cflags, int num_exprs,
39 /* const char *expr1, regex_t *reg1, */ ...);
40void free_reg_exprs (int num_exprs, /* regex_t *reg1, */ ...);
41
Uwe Hermann6e565942008-03-01 19:06:32 +000042#endif /* REG_EXPR_H */