Lines Matching refs:iofns
101 struct ldap_x_ext_io_fns iofns;
103 memset( &iofns, 0, sizeof(iofns));
104 iofns.lextiof_size = LDAP_X_EXTIO_FNS_SIZE;
105 iofns.lextiof_read = prldap_read;
106 iofns.lextiof_write = prldap_write;
107 iofns.lextiof_poll = prldap_poll;
108 iofns.lextiof_connect = prldap_connect;
109 iofns.lextiof_close = prldap_close;
111 iofns.lextiof_newhandle = prldap_shared_newhandle;
112 iofns.lextiof_disposehandle = prldap_shared_disposehandle;
114 iofns.lextiof_newhandle = prldap_newhandle;
115 iofns.lextiof_disposehandle = prldap_disposehandle;
124 ( iofns.lextiof_session_arg = prldap_session_arg_alloc())) {
129 iofns.lextiof_session_arg = NULL;
132 if ( ldap_set_option( ld, LDAP_X_OPT_EXTIO_FN_PTRS, &iofns ) != 0 ) {
134 (PRLDAPIOSessionArg **) &iofns.lextiof_session_arg );
493 struct ldap_x_ext_io_fns iofns;
495 memset( &iofns, 0, sizeof(iofns));
496 iofns.lextiof_size = LDAP_X_EXTIO_FNS_SIZE;
498 (void *)&iofns ) < 0 ) {
502 ( iofns.lextiof_session_arg = prldap_session_arg_alloc())) {
506 (void *)&iofns ) < 0 ) {
586 struct ldap_x_ext_io_fns iofns;
594 memset( &iofns, 0, sizeof(iofns));
595 iofns.lextiof_size = LDAP_X_EXTIO_FNS_SIZE;
596 if ( ldap_get_option( ld, LDAP_X_OPT_EXTIO_FN_PTRS, (void *)&iofns ) < 0 ) {
600 if ( NULL == iofns.lextiof_session_arg ) {
605 *sessargpp = iofns.lextiof_session_arg;