Lines Matching refs:state
81 int state;
96 * callback(BIO,state,ret); The callback should return
97 * 'ret'. state is for compatibility with the ssl info_callback */
98 int (*info_callback)(const BIO *bio,int state,int ret);
140 switch (c->state)
179 c->state=BIO_CONN_S_GET_IP;
185 c->state=BIO_CONN_S_GET_PORT;
196 c->state=BIO_CONN_S_CREATE_SOCKET;
210 c->state=BIO_CONN_S_CREATE_SOCKET;
222 c->state=BIO_CONN_S_NBIO;
237 c->state=BIO_CONN_S_CONNECT;
264 c->state=BIO_CONN_S_BLOCKED_CONNECT;
278 c->state=BIO_CONN_S_OK;
295 c->state=BIO_CONN_S_OK;
308 if (!(ret=cb((BIO *)b,c->state,ret)))
316 ret=cb((BIO *)b,c->state,ret);
327 ret->state=BIO_CONN_S_BEFORE;
377 if (c->state == BIO_CONN_S_OK)
408 if (data->state != BIO_CONN_S_OK)
435 if (data->state != BIO_CONN_S_OK)
466 data->state=BIO_CONN_S_BEFORE;
472 if (data->state != BIO_CONN_S_OK)
593 int (**fptr)(const BIO *bio,int state,int xret);
595 fptr=(int (**)(const BIO *bio,int state,int xret))ptr;