]> git.sur5r.net Git - openldap/blobdiff - include/ldap_pvt.h
ITS#6516
[openldap] / include / ldap_pvt.h
index a75bc3edd5b55da8a5668d695616d421bad950bd..e0d8ccd61e61630e885dca603d8b367c5467058a 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  * 
- * Copyright 1998-2009 The OpenLDAP Foundation.
+ * Copyright 1998-2010 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -262,6 +262,8 @@ struct sb_sasl_generic_data {
        Sockbuf_Buf                             sec_buf_in;
        Sockbuf_Buf                             buf_in;
        Sockbuf_Buf                             buf_out;
+       unsigned int                            flags;
+#define LDAP_PVT_SASL_PARTIAL_WRITE    1
 };
  
 #ifndef LDAP_PVT_SASL_LOCAL_SSF
@@ -286,6 +288,11 @@ LDAP_F (int) ldap_open_internal_connection LDAP_P((
 LDAP_F (int) ldap_init_fd LDAP_P((
        ber_socket_t fd, int proto, LDAP_CONST char *url, struct ldap **ldp ));
 
+/* sasl.c */
+LDAP_F (int) ldap_pvt_sasl_generic_install LDAP_P(( Sockbuf *sb,
+       struct sb_sasl_generic_install *install_arg ));
+LDAP_F (void) ldap_pvt_sasl_generic_remove LDAP_P(( Sockbuf *sb ));
+
 /* search.c */
 LDAP_F( int ) ldap_pvt_put_filter LDAP_P((
        BerElement *ber,