-/* $OpenBSD: auth.h,v 1.48 2003/11/04 08:54:09 djm Exp $ */
+/* $OpenBSD: auth.h,v 1.49 2004/01/30 09:48:57 markus Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
int valid; /* user exists and is allowed to login */
int attempt;
int failures;
+ int force_pwchange;
char *user; /* username sent by the client */
char *service;
struct passwd *pw; /* set if 'valid' */
void krb5_cleanup_proc(Authctxt *authctxt);
#endif /* KRB5 */
+#if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE)
+#include <shadow.h>
+int auth_shadow_acctexpired(struct spwd *);
+int auth_shadow_pwexpired(Authctxt *);
+#endif
+
#include "auth-pam.h"
+void disable_forwarding(void);
void do_authentication(Authctxt *);
void do_authentication2(Authctxt *);