mrafs-port-definitions-20010212
[openafs.git] / src / auth / cellconfig.c
index e6d1b8b..4a31cac 100644 (file)
@@ -1,7 +1,12 @@
 /*
- * (C) COPYRIGHT IBM CORPORATION 1987
- * LICENSED MATERIALS - PROPERTY OF IBM
+ * Copyright 2000, International Business Machines Corporation and others.
+ * All Rights Reserved.
+ * 
+ * This software has been released under the terms of the IBM Public
+ * License.  For details, see the LICENSE file in the top-level source
+ * directory or online at http://www.openafs.org/dl/license10.html
  */
+
 #include <afs/param.h>
 #include <afs/stds.h>
 #include <afs/pthread_glock.h>
@@ -35,6 +40,9 @@
 
 static ParseHostLine();
 static ParseCellLine();
+static afsconf_OpenInternal();
+static afsconf_CloseInternal();
+static afsconf_Reopen();
 
 static struct afsconf_servPair serviceTable [] = {
     "afs",     7000,
@@ -47,6 +55,8 @@ static struct afsconf_servPair serviceTable [] = {
     "afsnanny",        7007,
     "afsupdate",7008,
     "afsrmtsys",7009,
+    "afsres",   7010,   /* residency database for MR-AFS */
+    "afsremio", 7011,   /* remote I/O interface for MR-AFS */
     0, 0               /* insert new services before this spot */
 };
 
@@ -190,7 +200,7 @@ register struct afsconf_dir *adir; {
 #ifdef AFS_NT40_ENV
     return _utime(tbuffer, NULL);
 #else
-    gettimeofday(&tvp[0], (char *) 0);
+    gettimeofday(&tvp[0], NULL);
     tvp[1] = tvp[0];
     return utimes(tbuffer, tvp);
 #endif  /* AFS_NT40_ENV */