diff --git a/include/rewrite.h b/include/rewrite.h index db376f1c5c..24456e77f4 100644 --- a/include/rewrite.h +++ b/include/rewrite.h @@ -120,6 +120,15 @@ rewrite_parse( char **argv ); +/* + * process a config file that was already opened. Uses rewrite_parse. + */ +LDAP_REWRITE_F (int) +rewrite_read( + FILE *fin, + struct rewrite_info *info +); + /* * Rewrites a string according to context. * If the engine is off, OK is returned, but the return string will be NULL.