/*
auth.h - MessageWall authentication declarations
Copyright (C) 2002 Ian Gulliver

This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/
#ifndef _AUTH_H
#define _AUTH_H

#include <firestring.h>
#include "messagewall.h"

int auth_main(struct firestring_conf_t *config, int r, int w, int j);
int auth_check_password(struct firestring_estr_t *username, struct firestring_estr_t *password);
void auth_clear();
void auth_load_relay_auth();
void auth_load();
void auth_handle_usr2(int s);

#endif


syntax highlighted by Code2HTML, v. 0.9.1