]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/shell-backends/shellutil.h
Add LDAPsubentry (without OID).
[openldap] / servers / slapd / shell-backends / shellutil.h
index 8c52ab5dcf0547bdf7e1897efd73fde92ce59516..119689d5fbdd226256c023d984b6ce60a681e138 100644 (file)
@@ -55,7 +55,7 @@ struct ldop {
 #define LDOP_SEARCH    0x01
     char       **ldop_suffixes;
     char       *ldop_dn;
-    union {
+    union ldapop_params_u {
                    struct ldsrchparms LDsrchparams;
          }     ldop_params;
 #define ldop_srch      ldop_params.LDsrchparams
@@ -75,7 +75,7 @@ struct ldentry {
 
 
 #ifdef LDAP_DEBUG
-void debug_printf();
+void debug_printf LDAP_P((char *, ...));
 #else /* LDAP_DEBUG */
 #define debug_printf()
 #endif /* LDAP_DEBUG */
@@ -94,6 +94,8 @@ void add_strval( char ***sp, char *val );
 char *ecalloc( unsigned nelem, unsigned elsize );
 void *erealloc( void *s, unsigned size );
 char *estrdup( char *s );
+extern void dump_ldop (struct ldop *op);
+
 
 /*
  * global variables