view src/auth/userdb-vpopmail.h @ 1191:65e48854491d HEAD

Added default_pass_scheme to LDAP. Support for more password schemes. Merged password checking code with LDAP and passwd-file, so both support the same schemes now.
author Timo Sirainen <tss@iki.fi>
date Tue, 18 Feb 2003 21:11:26 +0200
parents fe49ece0f3ea
children 131151e25e4b
line wrap: on
line source

#ifndef __USERDB_VPOPMAIL_H
#define __USERDB_VPOPMAIL_H

#include <stdio.h>
#include <vpopmail.h>
#include <vauth.h>

/* Limit user and domain to 80 chars each (+1 for \0). I wouldn't recommend
   raising this limit at least much, vpopmail is full of potential buffer
   overflows. */
#define VPOPMAIL_LIMIT 81

struct vqpasswd *vpopmail_lookup_vqp(const char *user,
				     char vpop_user[VPOPMAIL_LIMIT],
				     char vpop_domain[VPOPMAIL_LIMIT]);

#endif