#define KEEPENV 0x2
#define PERSIST 0x4
#define NOLOG 0x8
+#define INSULT 0x10
-#ifdef USE_PAM
-void pamauth(const char *, const char *, int, int, int);
-#endif
-
-#ifdef USE_SHADOW
-void shadowauth(const char *, int);
-#endif
+int shadowauth(const char *, int);
#ifdef USE_TIMESTAMP
int timestamp_open(int *, int);
int timestamp_set(int, int);
int timestamp_clear(void);
#endif
+
+const char * getinsult(void);
+void authfail(int);