]> andersk Git - moira.git/commitdiff
Kludge for use with SMS>
authorwesommer <wesommer>
Sun, 23 Aug 1987 01:50:12 +0000 (01:50 +0000)
committerwesommer <wesommer>
Sun, 23 Aug 1987 01:50:12 +0000 (01:50 +0000)
clients/userreg/userreg.h

index 93c04462e1df443952c765995d538d7fe30a7bb9..9edb2f3e6c08d72ccb9e6e8c5aaf13639904f690 100644 (file)
@@ -9,8 +9,33 @@
 #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
This page took 0.043673 seconds and 5 git commands to generate.