Diff for /include/lber.h between versions 1.1.3.1.20.1 and 1.1.3.1.20.2

version 1.1.3.1.20.1, 1998/09/25 17:25:21 version 1.1.3.1.20.2, 1998/10/19 21:51:47
Line 116  struct berval { Line 116  struct berval {
         char            *bv_val;          char            *bv_val;
 };  };
   
 #ifdef LDAP_DEBUG  
 extern int lber_debug;  extern int lber_debug;
 #endif  
   
 /*  /*
  * in bprint.c:   * in bprint.c:
Line 148  LDAP_F unsigned long ber_scanf LDAP_P(( Line 146  LDAP_F unsigned long ber_scanf LDAP_P((
 LDAP_F void ber_bvfree LDAP_P(( struct berval *bv ));  LDAP_F void ber_bvfree LDAP_P(( struct berval *bv ));
 LDAP_F void ber_bvecfree LDAP_P(( struct berval **bv ));  LDAP_F void ber_bvecfree LDAP_P(( struct berval **bv ));
 LDAP_F struct berval *ber_bvdup LDAP_P(( struct berval *bv ));  LDAP_F struct berval *ber_bvdup LDAP_P(( struct berval *bv ));
 #ifdef STR_TRANSLATION  
 LDAP_F void ber_set_string_translators LDAP_P(( BerElement *ber,  LDAP_F void ber_set_string_translators LDAP_P(( BerElement *ber,
         BERTranslateProc encode_proc, BERTranslateProc decode_proc ));          BERTranslateProc encode_proc, BERTranslateProc decode_proc ));
 #endif /* STR_TRANSLATION */  
   
 /*  /*
  * in encode.c   * in encode.c
Line 170  LDAP_F int ber_start_seq LDAP_P(( BerEle Line 166  LDAP_F int ber_start_seq LDAP_P(( BerEle
 LDAP_F int ber_start_set LDAP_P(( BerElement *ber, unsigned long tag ));  LDAP_F int ber_start_set LDAP_P(( BerElement *ber, unsigned long tag ));
 LDAP_F int ber_put_seq LDAP_P(( BerElement *ber ));  LDAP_F int ber_put_seq LDAP_P(( BerElement *ber ));
 LDAP_F int ber_put_set LDAP_P(( BerElement *ber ));  LDAP_F int ber_put_set LDAP_P(( BerElement *ber ));
   
 #ifdef __STDC__  
 LDAP_F int ber_printf LDAP_P(( BerElement *ber, char *fmt, ... ));  LDAP_F int ber_printf LDAP_P(( BerElement *ber, char *fmt, ... ));
 #else  
 LDAP_F int ber_printf ( );  
 #endif  
   
 /*  /*
  * in io.c:   * in io.c:
Line 196  LDAP_F unsigned long ber_get_next LDAP_P Line 187  LDAP_F unsigned long ber_get_next LDAP_P
 LDAP_F void ber_init LDAP_P(( BerElement *ber, int options ));  LDAP_F void ber_init LDAP_P(( BerElement *ber, int options ));
 LDAP_F void ber_reset LDAP_P(( BerElement *ber, int was_writing ));  LDAP_F void ber_reset LDAP_P(( BerElement *ber, int was_writing ));
   
 #if !defined(__alpha) || defined(VMS)  
   
 #define LBER_HTONL( l ) htonl( l )  
 #define LBER_NTOHL( l ) ntohl( l )  
   
 #else /* __alpha */  
 /*  
  * htonl and ntohl on the DEC Alpha under OSF 1 seem to only swap the  
  * lower-order 32-bits of a (64-bit) long, so we define correct versions  
  * here.  
  */  
 #define LBER_HTONL( l ) (((long)htonl( (l) & 0x00000000FFFFFFFF )) << 32 \  
                         | htonl( ( (l) & 0xFFFFFFFF00000000 ) >> 32 ))  
   
 #define LBER_NTOHL( l ) (((long)ntohl( (l) & 0x00000000FFFFFFFF )) << 32 \  
                         | ntohl( ( (l) & 0xFFFFFFFF00000000 ) >> 32 ))  
 #endif /* __alpha */  
   
 LDAP_END_DECL  LDAP_END_DECL
   
 #endif /* _LBER_H */  #endif /* _LBER_H */

Removed from v.1.1.3.1.20.1  
changed lines
  Added in v.1.1.3.1.20.2


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