Lines Matching refs:op
29 starttls_extop ( Operation *op, SlapReply *rs )
34 op->o_log_prefix, 0, 0, 0, 0 );
36 if ( op->ore_reqdata != NULL ) {
43 ldap_pvt_thread_mutex_lock( &op->o_conn->c_mutex );
46 if (op->o_conn->c_is_tls != 0) {
52 /* can't start TLS if there are other op's around */
53 if (( !LDAP_STAILQ_EMPTY(&op->o_conn->c_ops) &&
54 (LDAP_STAILQ_FIRST(&op->o_conn->c_ops) != op ||
55 LDAP_STAILQ_NEXT(op, o_next) != NULL)) ||
56 ( !LDAP_STAILQ_EMPTY(&op->o_conn->c_pending_ops) ))
64 ( op->o_conn->c_dn.bv_len != 0 ) )
68 op->o_log_prefix, 0, 0, 0, 0 );
71 connection2anonymous( op->o_conn );
75 ( op->o_conn->c_dn.bv_len != 0 ) )
95 op->o_conn->c_is_tls = 1;
96 op->o_conn->c_needs_tls_accept = 1;
102 ldap_pvt_thread_mutex_unlock( &op->o_conn->c_mutex );