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

src/lib/krb5/os/os-proto.h

index c82edf923a132761c0e81339c7ac1dfa788edf32..b01feabae326d79a3d68110031a2bb5e3f352dc1 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 @@
  * LIBOS internal function prototypes.
  */
 
-#include <krb5/copyright.h>
-
 #ifndef KRB5_LIBOS_INT_PROTO__
 #define KRB5_LIBOS_INT_PROTO__
 
@@ -23,4 +22,24 @@ krb5_error_code krb5_locate_kdc
               int *));
 #endif
 
+#ifdef KRB5_USE_INET
+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 /* NARROW_PROTOTYPES */
+#endif /* KRB5_USE_INET */
+
 #endif /* KRB5_LIBOS_INT_PROTO__ */