
#ifndef __HTACCESS_PARSER_H__
#define __HTACCESS_PARSER_H__

#include "mecha.h"

typedef struct s_HtaccessParser HtaccessParser;

HtaccessParser * htaccess_parser_new (const char *filename);
void htaccess_parser_destroy (void *ptr);

bool htaccess_parser_parse (HtaccessParser *instance);

const char * htaccess_parser_get_value (HtaccessParser *instance, const char *key);

#endif
