From 60d71bd750c8f7ef8fa587b47976f028525410c2 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Mon, 25 Feb 1991 11:22:39 +0000 Subject: [PATCH] add krb5_unpack_full_ipaddr, krb5_make_full_ipaddr git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1770 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/los-proto.h | 23 ++++++++++++++++++++--- 1 file 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 * . @@ -11,8 +12,6 @@ * Function prototypes for Kerberos V5 library (libos) */ -#include - #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__ */ -- 2.26.2