Actually integrate the regex rewriting stuff

This commit is contained in:
hpa 2001-07-10 06:14:20 +00:00
parent 7b993e8186
commit 428ecab386
2 changed files with 50 additions and 10 deletions

View file

@ -17,12 +17,17 @@
#include <stdlib.h>
#include <stdio.h>
#include "../config.h"
/* Opaque type */
struct rule;
#ifdef WITH_REGEX
/* Read a rule file */
struct rule *parserulefile(FILE *);
/* Execute a rule set on a string; returns a malloc'd new string. */
char *rewrite_string(const char *input, const struct rule *rules, int is_put);
char *rewrite_string(const char *, const struct rule *, int);
#endif