
#include "mecha.h"
#include "http.h"

#include "htaccess_engine.h"

int htaccess_handler (httpTtrans *t, lstTset *opts);

int
htaccess_handler (httpTtrans *t, MECHA_UNUSED_ARGUMENT lstTset *opts)
{
    HtaccessEngine *engine = htaccess_engine_new (t);
    int retVal;

    retVal = htaccess_engine_process (engine);

    htaccess_engine_destroy (engine);

    return (retVal);
}
