int \fIsizelimit\fB,
LDAPMessage **\fIres\fB );
.RE
+.LP
+.ft B
+#include <openldap.h>
+.LP
+.BI "int ldap_pvt_put_filter( BerElement *" ber ", const char *" str " );"
+.RE
.SH DESCRIPTION
These routines are used to perform LDAP search operations.
The
of the operation. See
.BR ldap_error (3)
for details.
+.LP
+.B ldap_pvt_put_filter()
+parses a string filter provided in
+.IR str ,
+performs structural validation and serializes it into the BerElement
+passed in
+.I ber
+as a side-effect. On error, the encoding state of
+.IR ber
+is not specified in any way. There is currently no way to learn what part of
+the string caused the validation to fail.
+.LP
.SH NOTES
Note that both read
and list functionality are subsumed by these routines,
.SH SEE ALSO
.BR ldap (3),
.BR ldap_result (3),
-.BR ldap_error (3)
+.BR ldap_error (3),
+.BR lber-types (3)
.SH ACKNOWLEDGEMENTS
.so ../Project
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,
- const char *str ));
-
LDAP_F( char * )
ldap_pvt_find_wildcard LDAP_P(( const char *s ));