int flags,
slap_ssf_t ssf,
struct berval *authid
-#ifdef LDAP_PF_LOCAL_SENDMSG
- , struct berval *peerbv
-#endif
-)
+ LDAP_PF_LOCAL_SENDMSG_ARG(struct berval *peerbv))
{
unsigned long id;
Connection *c;
ldap_pvt_thread_start_t *func,
void *arg )
{
- int rc;
Connection *c;
c = connection_init( s, (Listener *)&dummy_list, "", "",
CONN_IS_CLIENT, 0, NULL
-#ifdef LDAP_PF_LOCAL_SENDMSG
- , NULL
-#endif
- );
+ LDAP_PF_LOCAL_SENDMSG_ARG(NULL));
if ( !c ) return -1;
c->c_clientfunc = func;
}
#ifdef DATA_READY_LOOP
while( !rc && ber_sockbuf_ctrl( c->c_sb, LBER_SB_OPT_DATA_READY, NULL ));
-#elif CONNECTION_INPUT_LOOP
+#elif defined CONNECTION_INPUT_LOOP
while(!rc);
#else
while(0);