]> andersk Git - moira.git/blobdiff - reg_svr/reg_svr.h
Added missing definition of $(SRCDIR)
[moira.git] / reg_svr / reg_svr.h
index 64989a2942cf59935fed4895d55864748e00ff63..23af2c54b2f8191af6579728e866a6731e724af5 100644 (file)
@@ -5,25 +5,16 @@
  *
  *      Copyright (C) 1987 by the Massachusetts Institute of Technology
  *
- *      Server for user registration with SMS and Kerberos.
+ *      Server for user registration with MOIRA and Kerberos.
  *
  *      This file contains all the information needed by all source
  *      files for the user registration server.
  */
 
-#include <stdio.h>
-#include <strings.h>
-#include <ctype.h>
 #include <sys/types.h>
-#include <sys/file.h>
-#include <krb.h>
-#include <des.h>
-#include <errno.h>
+#include <ctype.h>
 #include "ureg_err.h"
 #include "ureg_proto.h"
-#include "sms.h"
-#include "sms_app.h"
-#include "infodefs.h"
 
 #ifndef TRUE
 #define TRUE 1
 #define LOGIN_LEN MAX_UNAME + 1        /* Leave room for a null */
 #define UID_LEN 7              /* Allow room for a 16 bit number */
 
-#define DEBUG
-
 extern char *strdup();
 extern char *malloc();
 
 extern char *whoami;           /* Name of program - used by libraries */
 extern int errno;              /* Unix error number */
 
-/* This structure holds information from the SMS database that will be
+/* This structure holds information from the MOIRA database that will be
    worth holding on to.  An instance of it appears in the formatted 
    packet structure. */
 struct db_data
@@ -78,7 +67,7 @@ struct msg
     int encrypted_len;         /* Length of encrypted information in packet */
     char *leftover;            /* Leftover information sent in the packet */
     int leftover_len;          /* Length of leftover information */
-    struct db_data db;         /* Information from the SMS database */
+    struct db_data db;         /* Information from the MOIRA database */
 };
 
 void failure_alert();          /* Log an unexplainable failure */
@@ -87,3 +76,8 @@ int format_pkt();             /* Prepare a packet to send to client*/
 int verify_user();             /* Make sure user is allowed to register */
 int reserve_user();            /* Reserve a login for this user */
 int set_password();            /* Set this user's password */
+
+
+/* For logging successful database transactions */
+extern FILE *journal;
+
This page took 0.033753 seconds and 4 git commands to generate.