summaryrefslogtreecommitdiffstats
path: root/src/isode/compat/str2saddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/isode/compat/str2saddr.c')
-rw-r--r--src/isode/compat/str2saddr.c56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/isode/compat/str2saddr.c b/src/isode/compat/str2saddr.c
new file mode 100644
index 000000000..f5f997140
--- /dev/null
+++ b/src/isode/compat/str2saddr.c
@@ -0,0 +1,56 @@
+/* str2saddr.c - string value to SSAPaddr */
+
+#ifndef lint
+static char *rcsid = "$Header$";
+#endif
+
+/*
+ * $Header$
+ *
+ *
+ * $Log$
+ * Revision 1.1 1994/06/10 03:28:29 eichin
+ * autoconfed isode for kerberos work
+ *
+ * Revision 1.1 94/06/10 03:16:52 eichin
+ * autoconfed isode for kerberos work
+ *
+ * Revision 1.1 1994/05/31 20:34:51 eichin
+ * reduced-isode release from /mit/isode/isode-subset/src
+ *
+ * Revision 8.0 91/07/17 12:18:16 isode
+ * Release 7.0
+ *
+ *
+ */
+
+/*
+ * NOTICE
+ *
+ * Acquisition, use, and distribution of this module and related
+ * materials are subject to the restrictions of a license agreement.
+ * Consult the Preface in the User's Manual for the full terms of
+ * this agreement.
+ *
+ */
+
+
+/* LINTLIBRARY */
+
+#include <stdio.h>
+#include "general.h"
+#include "manifest.h"
+#include "isoaddrs.h"
+
+/* */
+
+struct SSAPaddr *str2saddr (str)
+char *str;
+{
+ register struct PSAPaddr *pa;
+
+ if (pa = str2paddr (str))
+ return (&pa -> pa_addr);
+
+ return NULLSA;
+}