Home
last modified time | relevance | path

Searched refs:sbiod (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/external/bsd/openldap/dist/libraries/liblber/
H A Dsockbuf.c314 ber_pvt_sb_do_write( Sockbuf_IO_Desc *sbiod, Sockbuf_Buf *buf_out ) in ber_pvt_sb_do_write() argument
319 assert( sbiod != NULL ); in ber_pvt_sb_do_write()
320 assert( SOCKBUF_VALID( sbiod->sbiod_sb ) ); in ber_pvt_sb_do_write()
326 ret = LBER_SBIOD_WRITE_NEXT( sbiod, buf_out->buf_base + in ber_pvt_sb_do_write()
466 sb_stream_read( Sockbuf_IO_Desc *sbiod, void *buf, ber_len_t len ) in sb_stream_read() argument
468 assert( sbiod != NULL); in sb_stream_read()
469 assert( SOCKBUF_VALID( sbiod->sbiod_sb ) ); in sb_stream_read()
475 return tcpread( sbiod->sbiod_sb->sb_fd, 0, (unsigned char *)buf, in sb_stream_read()
489 return recv( sbiod->sbiod_sb->sb_fd, buf, len, 0 ); in sb_stream_read()
495 return nread( sbiod->sbiod_sb->sb_fd, buf, len ); in sb_stream_read()
[all …]
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Dsasl.c560 sb_sasl_generic_remove( Sockbuf_IO_Desc *sbiod );
563 sb_sasl_generic_setup( Sockbuf_IO_Desc *sbiod, void *arg ) in sb_sasl_generic_setup() argument
568 assert( sbiod != NULL ); in sb_sasl_generic_setup()
577 p->sbiod = sbiod; in sb_sasl_generic_setup()
583 sbiod->sbiod_pvt = p; in sb_sasl_generic_setup()
588 sb_sasl_generic_remove( sbiod ); in sb_sasl_generic_setup()
597 sb_sasl_generic_remove( Sockbuf_IO_Desc *sbiod ) in sb_sasl_generic_remove() argument
601 assert( sbiod != NULL ); in sb_sasl_generic_remove()
603 p = (struct sb_sasl_generic_data *)sbiod->sbiod_pvt; in sb_sasl_generic_remove()
611 sbiod->sbiod_pvt = NULL; in sb_sasl_generic_remove()
[all …]
H A Dtls_g.c1010 Sockbuf_IO_Desc *sbiod; member
1022 if ( p == NULL || p->sbiod == NULL ) { in tlsg_recv()
1026 return LBER_SBIOD_READ_NEXT( p->sbiod, buf, len ); in tlsg_recv()
1038 if ( p == NULL || p->sbiod == NULL ) { in tlsg_send()
1042 return LBER_SBIOD_WRITE_NEXT( p->sbiod, (char *)buf, len ); in tlsg_send()
1046 tlsg_sb_setup( Sockbuf_IO_Desc *sbiod, void *arg ) in tlsg_sb_setup() argument
1051 assert( sbiod != NULL ); in tlsg_sb_setup()
1062 p->sbiod = sbiod; in tlsg_sb_setup()
1063 sbiod->sbiod_pvt = p; in tlsg_sb_setup()
1068 tlsg_sb_remove( Sockbuf_IO_Desc *sbiod ) in tlsg_sb_remove() argument
[all …]
H A Dtls_o.c1155 Sockbuf_IO_Desc *sbiod; member
1193 if ( p == NULL || p->sbiod == NULL ) { in tlso_bio_read()
1197 ret = LBER_SBIOD_READ_NEXT( p->sbiod, buf, len ); in tlso_bio_read()
1220 if ( p == NULL || p->sbiod == NULL ) { in tlso_bio_write()
1224 ret = LBER_SBIOD_WRITE_NEXT( p->sbiod, (char *)buf, len ); in tlso_bio_write()
1276 tlso_sb_setup( Sockbuf_IO_Desc *sbiod, void *arg ) in tlso_sb_setup() argument
1281 assert( sbiod != NULL ); in tlso_sb_setup()
1289 p->sbiod = sbiod; in tlso_sb_setup()
1293 sbiod->sbiod_pvt = p; in tlso_sb_setup()
1298 tlso_sb_remove( Sockbuf_IO_Desc *sbiod ) in tlso_sb_remove() argument
[all …]
H A Dgssapi.c139 ber_log_printf( LDAP_DEBUG_ANY, p->sbiod->sbiod_sb->sb_debug, in sb_sasl_gssapi_init()
142 ber_log_printf( LDAP_DEBUG_ANY, p->sbiod->sbiod_sb->sb_debug, in sb_sasl_gssapi_init()
199 ber_log_printf( LDAP_DEBUG_ANY, p->sbiod->sbiod_sb->sb_debug, in sb_sasl_gssapi_encode()
206 ber_log_printf( LDAP_DEBUG_ANY, p->sbiod->sbiod_sb->sb_debug, in sb_sasl_gssapi_encode()
218 ber_log_printf( LDAP_DEBUG_ANY, p->sbiod->sbiod_sb->sb_debug, in sb_sasl_gssapi_encode()
279 ber_log_printf( LDAP_DEBUG_ANY, p->sbiod->sbiod_sb->sb_debug, in sb_sasl_gssapi_decode()
286 ber_log_printf( LDAP_DEBUG_ANY, p->sbiod->sbiod_sb->sb_debug, in sb_sasl_gssapi_decode()
296 ber_log_printf( LDAP_DEBUG_ANY, p->sbiod->sbiod_sb->sb_debug, in sb_sasl_gssapi_decode()
H A Dcyrus.c170 ber_log_printf( LDAP_DEBUG_ANY, p->sbiod->sbiod_sb->sb_debug, in sb_sasl_cyrus_encode()
199 ber_log_printf( LDAP_DEBUG_ANY, p->sbiod->sbiod_sb->sb_debug, in sb_sasl_cyrus_decode()
/netbsd-src/external/bsd/openldap/dist/include/
H A Dlber.h189 int (*sbi_setup)( Sockbuf_IO_Desc *sbiod, void *arg );
190 int (*sbi_remove)( Sockbuf_IO_Desc *sbiod );
191 int (*sbi_ctrl)( Sockbuf_IO_Desc *sbiod, int opt, void *arg);
193 ber_slen_t (*sbi_read)( Sockbuf_IO_Desc *sbiod, void *buf,
195 ber_slen_t (*sbi_write)( Sockbuf_IO_Desc *sbiod, void *buf,
198 int (*sbi_close)( Sockbuf_IO_Desc *sbiod );
202 #define LBER_SBIOD_READ_NEXT( sbiod, buf, len ) \ argument
203 ( (sbiod)->sbiod_next->sbiod_io->sbi_read( (sbiod)->sbiod_next, \
205 #define LBER_SBIOD_WRITE_NEXT( sbiod, buf, len ) \ argument
206 ( (sbiod)->sbiod_next->sbiod_io->sbi_write( (sbiod)->sbiod_next, \
[all …]
H A Dlber_pvt.h69 ber_pvt_sb_do_write LDAP_P(( Sockbuf_IO_Desc *sbiod, Sockbuf_Buf *buf_out ));
H A Dldap_pvt.h336 Sockbuf_IO_Desc *sbiod; member
/netbsd-src/external/bsd/openldap/dist/doc/guide/admin/
H A Daspell.en.pws804 sbiod