]> git.sur5r.net Git - openldap/blobdiff - include/ldap_pvt.h
Better delta syncrepl support, fallback to full refresh.
[openldap] / include / ldap_pvt.h
index e95d8b3ae56bb85aff60edff25ce3e4256e054dc..2d810b04e0125e7cfa1c6cf42ef6ac8c84540b3f 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  * 
- * Copyright 1998-2004 The OpenLDAP Foundation.
+ * Copyright 1998-2005 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -172,6 +172,9 @@ struct sasl_security_properties; /* avoid pulling in <sasl.h> */
 LDAP_F (int) ldap_pvt_sasl_secprops LDAP_P((
        const char *in,
        struct sasl_security_properties *secprops ));
+LDAP_F (void) ldap_pvt_sasl_secprops_unparse LDAP_P((
+       struct sasl_security_properties *secprops,
+       struct berval *out ));
 
 LDAP_F (void *) ldap_pvt_sasl_mutex_new LDAP_P((void));
 LDAP_F (int) ldap_pvt_sasl_mutex_lock LDAP_P((void *mutex));
@@ -322,7 +325,11 @@ typedef mpz_t              ldap_pvt_mp_t;
  * Use unsigned long
  */
 
-typedef        unsigned long   ldap_pvt_mp_t;
+#ifdef HAVE_LONG_LONG
+typedef        unsigned long long      ldap_pvt_mp_t;
+#else /* !HAVE_LONG_LONG */
+typedef        unsigned long           ldap_pvt_mp_t;
+#endif /* !HAVE_LONG_LONG */
 
 #define ldap_pvt_mp_init(mp) \
        (mp) = 0