#include <ctype.h>
#include "files.h"
-#include "../userinfod/db.h"
-#include "../userinfod/protocol.h"
+/*
+ * This is a kludge for compatibility with the old Athenareg stuff
+ */
+
+struct user {
+ char u_first[100];
+ char u_mid_init[100];
+ char u_last[100];
+ char u_login[100];
+ char u_password[100];
+ char u_mit_id[100];
+ char u_home_dir[100];
+ int u_status;
+};
+
+struct alias {
+ int foo;
+};
+
+#define SUCCESS 0
+#define FAILURE 1
+#define NOT_FOUND 2
+#define FIRST_NAME_SIZE 16
+#define LAST_NAME_SIZE 16
+#define MID_INIT_SIZE 16
+#define LOGIN_SIZE 9
+#define PASSWORD_SIZE 9
/* Input timeouts. The most important timeouts are those for the username
and the new password which should not be any longer than necessary. The