#ifndef ROVM_AUTH_H
#define ROVM_AUTH_H

typedef enum 
  {
    AUTH_DENIED,
    AUTH_GRANTED,
    AUTH_USER_FOUND,
    AUTH_USER_NOT_FOUND,
    AUTH_GENERAL_ERROR
  } authn_status;

extern authn_status check_password (request_rec *r, const char *user, const char *password);

#endif
