#ifndef AUTH_H
#define AUTH_H
#include "../public/nsapi.h"
#ifdef __cplusplus
extern "C" {
#endif
int basicauth_getuser(Session *sn, Request *rq,
char **user,
char **pw);
int auth_basic(pblock *param, Session *sn, Request *rq);
int auth_db(pblock *param, Session *sn, Request *rq);
#ifdef __cplusplus
}
#endif
#endif