Diff for /libraries/liblber/lber-int.h between versions 1.29 and 1.30

version 1.29, 1999/11/08 14:39:01 version 1.30, 1999/11/25 16:10:52
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/libraries/liblber/lber-int.h,v 1.28 1999/10/28 05:29:25 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/liblber/lber-int.h,v 1.29 1999/11/08 14:39:01 kdz Exp $ */
 /*  /*
  * Copyright 1998 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 26  LDAP_BEGIN_DECL Line 26  LDAP_BEGIN_DECL
   
 extern BER_ERRNO_FN ber_int_errno_fn;  extern BER_ERRNO_FN ber_int_errno_fn;
   
   
 /* these have to match lber types settings */  /* these have to match lber types settings */
 #define LBER_INT_HTON(i)        AC_HTONL(i)  #if LBER_INT_T == short
 #define LBER_INT_NTOH(i)        AC_NTOHL(i)  #       define LBER_INT_HTON(i) AC_HTONS(i)
 #define LBER_LEN_HTON(l)        AC_HTONL(l)  #       define LBER_INT_NTOH(i) AC_NTOHS(i)
 #define LBER_LEN_NTOH(l)        AC_NTOHL(l)  #else
 #define LBER_TAG_HTON(t)        AC_HTONL(t)  #       define LBER_INT_HTON(i) AC_HTONL(i)
 #define LBER_TAG_NTOH(t)        AC_NTOHL(t)  #       define LBER_INT_NTOH(i) AC_NTOHL(i)
   #endif
   
   #if LBER_LEN_T == short
   #       define LBER_LEN_HTON(l) AC_HTONS(l)
   #       define LBER_LEN_NTOH(l) AC_NTOHS(l)
   #else
   #       define LBER_LEN_HTON(l) AC_HTONL(l)
   #       define LBER_LEN_NTOH(l) AC_NTOHL(l)
   #endif
   
   #if LBER_TAG_T == short
   #       define LBER_TAG_HTON(t) AC_HTONS(t)
   #       define LBER_TAG_NTOH(t) AC_NTOHS(t)
   #else
   #       define LBER_TAG_HTON(t) AC_HTONL(t)
   #       define LBER_TAG_NTOH(t) AC_NTOHL(t)
   #endif
   
   
 struct lber_options {  struct lber_options {

Removed from v.1.29  
changed lines
  Added in v.1.30


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org