]> andersk Git - moira.git/blobdiff - include/moira.h
grammar fixes
[moira.git] / include / moira.h
index 69179d45c9c77d4b28092f244738904ce9784b3a..dcff8150d2cfb28e2e91c09b51cf0b9a59195f68 100644 (file)
@@ -5,35 +5,15 @@
  *
  *     Copyright (C) 1987 by the Massachusetts Institute of Technology
  *
- *     $Log$
- *     Revision 1.8  1988-04-19 14:40:17  kit
- *      Added #define statments that only allows this to be included once per
- *     file.  Also added SMS_CONT and SMS_ABORT defintions.\
- *
- * Revision 1.7  88/04/19  14:30:47  kit
- * Added new sms_version_2 for new version.
- * 
- * Revision 1.6  87/08/22  17:11:59  wesommer
- * Added flags for user filesystems.
- * 
- * Revision 1.5  87/08/02  21:50:25  wesommer
- * Added function prototypes.
- * 
- * Revision 1.4  87/06/23  16:13:36  wesommer
- * Added new request.
- * 
- * Revision 1.3  87/06/04  01:31:16  wesommer
- * Renamed retrieve to query.
- * 
- * Revision 1.2  87/06/01  03:33:32  wesommer
- * Added new procedure numbers.
- * 
  */
 
 #ifndef _sms_h_
 #define _sms_h_
 
+/* return values from queries (and error codes) */
+
 #include "sms_et.h"
+#define SMS_SUCCESS 0          /* Query was successful */
 
 #define SMS_VERSION_1 1                /* Version in use from 7/87 to 4/88 */
 #define SMS_VERSION_2 2                /* After 4/88, new query lib */
@@ -44,7 +24,7 @@
 #define SMS_ABORT -1           /* Something went wrong don't send anymore
                                   values. */
 
-
+/* Protocol operations */
 #define SMS_NOOP 0
 #define SMS_AUTH 1
 #define SMS_SHUTDOWN 2
 #define SMS_DO_UPDATE 5
 #define SMS_MAX_PROC 5
 
+/* values used in NFS physical flags */
 #define SMS_FS_STUDENT 0x0001
 #define        SMS_FS_FACULTY  0x0002
 #define SMS_FS_STAFF   0x0004
 #define SMS_FS_MISC    0x0008
 
+/* magic values to pass for list and user queries */
+#define UNIQUE_GID     "create unique GID"
+#define UNIQUE_UID     "create unique UID"
+#define UNIQUE_LOGIN   "create unique login ID"
+
+
 #ifdef __STDC__
 int sms_connect();
 int sms_disconnect();
This page took 0.033442 seconds and 4 git commands to generate.