add krb5_unpack_full_ipaddr, krb5_make_full_ipaddr
authorJohn Kohl <jtkohl@mit.edu>
Mon, 25 Feb 1991 11:22:39 +0000 (11:22 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Mon, 25 Feb 1991 11:22:39 +0000 (11:22 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1770 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/los-proto.h

index 5e97429cabf7525240c5cc02e0db978a45429fe8..c31c77fb1eed689c198119b02a1f9730a6b091bd 100644 (file)
@@ -3,7 +3,8 @@
  * $Author$
  * $Id$
  *
- * Copyright 1990 by the Massachusetts Institute of Technology.
+ * Copyright 1990,1991 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
  *
  * For copying and distribution information, please see the file
  * <krb5/copyright.h>.
@@ -11,8 +12,6 @@
  * Function prototypes for Kerberos V5 library (libos)
  */
 
-#include <krb5/copyright.h>
-
 #ifndef KRB5_LIBOS_PROTO__
 #define KRB5_LIBOS_PROTO__
 
@@ -72,5 +71,23 @@ krb5_boolean krb5_kuserok
 krb5_error_code krb5_random_confounder
        PROTOTYPE((int,
                   krb5_pointer ));
+krb5_error_code krb5_unpack_full_ipaddr
+    PROTOTYPE((krb5_address *,
+              krb5_int32 *,
+              krb5_int16 *));
+
+
+#ifdef NARROW_PROTOTYPES
+krb5_error_code krb5_make_full_ipaddr
+    PROTOTYPE((krb5_int32,
+              krb5_int16,
+              krb5_address **));
+#else
+krb5_error_code krb5_make_full_ipaddr
+    PROTOTYPE((krb5_int32,
+              int,                     /* unsigned short promotes to signed
+                                          int */
+              krb5_address **));
+#endif /* not NARROW_PROTOTYPES */
 
 #endif /* KRB5_LIBOS_PROTO__ */