/* LBER BerElement options */
#define LBER_USE_DER 0x01
-#define LBER_USE_INDEFINITE_LEN 0x02
/* get/set options for BerElement */
#define LBER_OPT_BER_OPTIONS 0x01
/* get/set Memory Debug options */
#define LBER_OPT_MEMORY_INUSE 0x8005 /* for memory debugging */
+#define LBER_OPT_LOG_PROC 0x8006 /* for external logging function */
typedef int* (*BER_ERRNO_FN) LDAP_P(( void ));
#define LBER_SB_OPT_SET_FD 2
#define LBER_SB_OPT_HAS_IO 3
#define LBER_SB_OPT_SET_NONBLOCK 4
-#define LBER_SB_OPT_UDP_GET_SRC 5
-#define LBER_SB_OPT_UDP_SET_DST 6
#define LBER_SB_OPT_GET_SSL 7
#define LBER_SB_OPT_DATA_READY 8
#define LBER_SB_OPT_SET_READAHEAD 9
#define LBER_SB_OPT_DRAIN 10
#define LBER_SB_OPT_NEEDS_READ 11
#define LBER_SB_OPT_NEEDS_WRITE 12
+#define LBER_SB_OPT_GET_MAX_INCOMING 13
+#define LBER_SB_OPT_SET_MAX_INCOMING 14
/* Largest option used by the library */
-#define LBER_SB_OPT_OPT_MAX 12
+#define LBER_SB_OPT_OPT_MAX 14
/* LBER IO operations stacking levels */
#define LBER_SBIOD_LEVEL_PROVIDER 10
ber_sos_dump LDAP_P((
Seqorset *sos ));
-
/*
* in decode.c:
*/
BerElement *ber ));
LBER_F( void )
-ber_init_w_nullc LDAP_P((
+ber_init_w_nullc LDAP_P(( /* DEPRECATED */
BerElement *ber,
int options ));
void *arg ));
LBER_F( Sockbuf_IO ) ber_sockbuf_io_tcp;
-LBER_F( Sockbuf_IO ) ber_sockbuf_io_udp;
LBER_F( Sockbuf_IO ) ber_sockbuf_io_readahead;
LBER_F( Sockbuf_IO ) ber_sockbuf_io_fd;
LBER_F( Sockbuf_IO ) ber_sockbuf_io_debug;