/*
* 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 <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+#include <afs/opr.h>
+
#include <afs/pthread_glock.h>
-#include <sys/types.h>
-#ifdef AFS_NT40_ENV
-#include <winsock2.h>
-#else
-#include <netinet/in.h>
-#endif
-#include <string.h>
#include <afs/cellconfig.h>
#include <rx/xdr.h>
#include <rx/rx.h>
+
#include "kauth.h"
#include "kautils.h"
-#include <afs/afsutil.h>
#ifdef UKERNEL
#include "afs_usrops.h"
{
int code = 0;
+ opr_Assert(realm != NULL);
+
LOCK_GLOBAL_MUTEX;
code = ka_ExpandCell(cell, realm, local);
ucstring(realm, realm, MAXKTCREALMLEN);