+/* $OpenLDAP$ */
/*
shellutil.h
#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
#ifdef LDAP_DEBUG
-void debug_printf LDAP_P((char *, ...));
+void debug_printf(const char *, ...) LDAP_GCCATTR((format(printf, 1, 2)));
#else /* LDAP_DEBUG */
-#define debug_printf()
+#define debug_printf (void) /* Ignore "arguments" */
#endif /* LDAP_DEBUG */
/*
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