]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/ldap-int.h
Happy New Year!
[openldap] / libraries / libldap / ldap-int.h
index 31a30d1b9113ada2461972f67e69462fc62e45c7..a23324aa1286ee049d445a4c9597ebad2cc7d4b6 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2013 The OpenLDAP Foundation.
+ * Copyright 1998-2016 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -526,6 +526,54 @@ ldap_int_bisect_insert( ber_int_t **vp, ber_len_t *np, int id, int idx );
 LDAP_F (int)
 ldap_int_bisect_delete( ber_int_t **vp, ber_len_t *np, int id, int idx );
 
+/*
+ * in add.c
+ */
+
+LDAP_F (BerElement *) ldap_build_add_req LDAP_P((
+       LDAP *ld,
+       const char *dn,
+       LDAPMod **attrs,
+       LDAPControl **sctrls,
+       LDAPControl **cctrls,
+       ber_int_t *msgidp ));
+
+/*
+ * in compare.c
+ */
+
+LDAP_F (BerElement *) ldap_build_compare_req LDAP_P((
+       LDAP *ld,
+       const char *dn,
+       const char *attr,
+       struct berval *bvalue,
+       LDAPControl **sctrls,
+       LDAPControl **cctrls,
+       ber_int_t *msgidp ));
+
+/*
+ * in delete.c
+ */
+
+LDAP_F (BerElement *) ldap_build_delete_req LDAP_P((
+       LDAP *ld,
+       const char *dn,
+       LDAPControl **sctrls,
+       LDAPControl **cctrls,
+       ber_int_t *msgidp ));
+
+/*
+ * in extended.c
+ */
+
+LDAP_F (BerElement *) ldap_build_extended_req LDAP_P((
+       LDAP *ld,
+       const char *reqoid,
+       struct berval *reqdata,
+       LDAPControl **sctrls,
+       LDAPControl **cctrls,
+       ber_int_t *msgidp ));
+
 /*
  * in init.c
  */
@@ -559,6 +607,32 @@ LDAP_F ( void ) ldap_int_initialize_global_options LDAP_P((
  */
 LDAP_F (void) ldap_int_error_init( void );
 
+/*
+ * in modify.c
+ */
+
+LDAP_F (BerElement *) ldap_build_modify_req LDAP_P((
+       LDAP *ld,
+       const char *dn,
+       LDAPMod **mods,
+       LDAPControl **sctrls,
+       LDAPControl **cctrls,
+       ber_int_t *msgidp ));
+
+/*
+ * in modrdn.c
+ */
+
+LDAP_F (BerElement *) ldap_build_moddn_req LDAP_P((
+       LDAP *ld,
+       const char *dn,
+       const char *newrdn,
+       const char *newSuperior,
+       int deleteoldrdn,
+       LDAPControl **sctrls,
+       LDAPControl **cctrls,
+       ber_int_t *msgidp ));
+
 /*
  * in unit-int.c
  */
@@ -763,6 +837,17 @@ LDAP_F (int) ldap_int_sasl_bind LDAP_P((
        const char **rmech,
        int *msgid ));
 
+/* in sasl.c */
+
+LDAP_F (BerElement *) ldap_build_bind_req LDAP_P((
+       LDAP *ld,
+       const char *dn,
+       const char *mech,
+       struct berval *cred,
+       LDAPControl **sctrls,
+       LDAPControl **cctrls,
+       ber_int_t *msgidp ));
+
 /* in schema.c */
 LDAP_F (char *) ldap_int_parse_numericoid LDAP_P((
        const char **sp,