/* * subex.h - Substitution (execution) * * Copyright 2012 by Werner Almesberger * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ #ifndef SUBEX_H #define SUBEX_H #include "param.h" #include "subst.h" struct param *substitute(const struct subst *sub, const struct param *in); struct param *make_var(const char *name, enum relop op, const char *val); const char *var_lookup(const struct param *vars, const char *name); void free_vars(struct param *vars); #endif /* !SUBEX_H */