summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1991-02-25 11:22:39 +0000
committerJohn Kohl <jtkohl@mit.edu>1991-02-25 11:22:39 +0000
commit60d71bd750c8f7ef8fa587b47976f028525410c2 (patch)
tree8927731b189dbe9b41c84b06b4c1f9f0d13e8337 /src/include
parent7e8ad81419d8d107ca985cc02673916814531b1a (diff)
downloadkrb5-60d71bd750c8f7ef8fa587b47976f028525410c2.tar.gz
krb5-60d71bd750c8f7ef8fa587b47976f028525410c2.tar.xz
krb5-60d71bd750c8f7ef8fa587b47976f028525410c2.zip
add krb5_unpack_full_ipaddr, krb5_make_full_ipaddr
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1770 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/los-proto.h23
1 files changed, 20 insertions, 3 deletions
diff --git a/src/include/krb5/los-proto.h b/src/include/krb5/los-proto.h
index 5e97429ca..c31c77fb1 100644
--- a/src/include/krb5/los-proto.h
+++ b/src/include/krb5/los-proto.h
@@ -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__ */