]> andersk Git - moira.git/blobdiff - lib/kname_unparse.c
Fix typo.
[moira.git] / lib / kname_unparse.c
index a694b20da8b5994c466b9b5a71c7352b8f93823f..88a084e534028d5a09be79d987cea6698a89c11b 100644 (file)
@@ -1,19 +1,32 @@
-/* $Header$
+/* $Id$
  *
  * Don't know why this function is not in libkrb.a.  It's the inverse
  * of kname_parse() which is there.
+ *
+ * Copyright (C) 1993-1998 by the Massachusetts Institute of Technology
+ * For copying and distribution information, please see the file
+ * <mit-copyright.h>.
  */
 
+#include <mit-copyright.h>
+#include <moira.h>
+
 #include <stdio.h>
-#include <des.h>
+
+#ifdef HAVE_KRB4
 #include <krb.h>
+#else
+#include <mr_krb.h>
+#endif
+
+RCSID("$Header$");
 
 /* Turn a principal, instance, realm triple into a single non-ambiguous
  * string.  This is the inverse of kname_parse().  It returns a pointer
  * to a static buffer, or NULL on error.
  */
 
-char *kname_unparse(char *p, char *i, char *r)
+char *mr_kname_unparse(char *p, char *i, char *r)
 {
   static char name[MAX_K_NAME_SZ];
   char *s;
This page took 0.445646 seconds and 4 git commands to generate.