f_data.c: Fixed comment
authorRichard Basch <probe@mit.edu>
Thu, 20 Feb 1997 06:24:31 +0000 (06:24 +0000)
committerRichard Basch <probe@mit.edu>
Thu, 20 Feb 1997 06:24:31 +0000 (06:24 +0000)
f_unparse.c: Implements krb5_free_unparsed_name
krb5_free_unparsed_name(krb5_context, char FAR *) frees the string
allocated by krb5_unparse_name
Makefile.in: Compile f_unparse.c

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9929 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/free/ChangeLog
src/lib/krb5/free/Makefile.in
src/lib/krb5/free/f_data.c
src/lib/krb5/free/f_unparse.c [new file with mode: 0644]

index 0a4e098474726a8044279d6a0ec5fbc4d3605bf7..a1a4486a22c3f7d8e9c611bcfc489314807a7f2b 100644 (file)
@@ -1,3 +1,8 @@
+Wed Feb 19 22:45:29 1997  Richard Basch  <basch@lehman.com>
+
+       * Makefile.in f_unparse.c:
+               f_unparse.c implements the new routine krb5_free_unparsed_name
+
 Tue Feb 18 17:42:52 1997  Richard Basch  <basch@lehman.com>
 
        * Makefile.in f_data.c:
index 68617bd132136f5224e3378332656c2dabc34e3a..4e6a99afb856bbce533ca5e86b00c85ef741af2b 100644 (file)
@@ -38,7 +38,8 @@ STLIBOBJS= \
        f_tgt_cred.o    \
        f_tkt_auth.o    \
        f_pwd_data.o    \
-       f_pwd_seq.o
+       f_pwd_seq.o     \
+       f_unparse.o
 
 OBJS=  \
        f_addr.$(OBJEXT)        \
@@ -73,7 +74,8 @@ OBJS= \
        f_tgt_cred.$(OBJEXT)    \
        f_tkt_auth.$(OBJEXT)    \
        f_pwd_data.$(OBJEXT)    \
-       f_pwd_seq.$(OBJEXT)
+       f_pwd_seq.$(OBJEXT)     \
+       f_unparse.$(OBJEXT)
 
 SRCS=  \
        $(srcdir)/f_addr.c      \
@@ -108,7 +110,8 @@ SRCS=       \
        $(srcdir)/f_tgt_cred.c  \
        $(srcdir)/f_tkt_auth.c  \
        $(srcdir)/f_pwd_data.c  \
-       $(srcdir)/f_pwd_seq.c
+       $(srcdir)/f_pwd_seq.c   \
+       $(srcdir)/f_unparse.c
 
 all-windows:: $(OBJFILE)
 
index cf7970bf30c7bda93e9d34d5d539044a8197bde7..948231d6428c5dfb1c40557483fbe1952d03560e 100644 (file)
@@ -20,7 +20,8 @@
  * or implied warranty.
  * 
  *
- * krb5_free_address()
+ * krb5_free_data()
+ * krb5_free_data_contents()
  */
 
 #include "k5-int.h"
diff --git a/src/lib/krb5/free/f_unparse.c b/src/lib/krb5/free/f_unparse.c
new file mode 100644 (file)
index 0000000..67fd2bc
--- /dev/null
@@ -0,0 +1,36 @@
+/*
+ * lib/krb5/free/f_unparse.c
+ *
+ * Copyright 1997 by the Massachusetts Institute of Technology.
+ *
+ * Export of this software from the United States of America may
+ *   require a specific license from the United States Government.
+ *   It is the responsibility of any person or organization contemplating
+ *   export to obtain such a license before exporting.
+ * 
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission.  M.I.T. makes no representations about the suitability of
+ * this software for any purpose.  It is provided "as is" without express
+ * or implied warranty.
+ * 
+ *
+ * krb5_free_unparsed_name()
+ */
+
+#include "k5-int.h"
+
+KRB5_DLLIMP void KRB5_CALLCONV
+krb5_free_unparsed_name(context, val)
+    krb5_context context;
+    char FAR * val;
+{
+    if (val)
+       krb5_xfree(val);
+    return;
+}