Lines Matching refs:state
79 int state;
91 * called when the connection is initially made callback(BIO,state,ret);
92 * The callback should return 'ret'. state is for compatibility with the
95 int (*info_callback) (const BIO *bio, int state, int ret);
135 switch (c->state) {
168 c->state = BIO_CONN_S_GET_IP;
174 c->state = BIO_CONN_S_GET_PORT;
183 c->state = BIO_CONN_S_CREATE_SOCKET;
196 c->state = BIO_CONN_S_CREATE_SOCKET;
207 c->state = BIO_CONN_S_NBIO;
219 c->state = BIO_CONN_S_CONNECT;
243 c->state = BIO_CONN_S_BLOCKED_CONNECT;
253 c->state = BIO_CONN_S_OK;
267 c->state = BIO_CONN_S_OK;
279 if (!(ret = cb((BIO *)b, c->state, ret)))
287 ret = cb((BIO *)b, c->state, ret);
298 ret->state = BIO_CONN_S_BEFORE;
347 if (c->state == BIO_CONN_S_OK)
378 if (data->state != BIO_CONN_S_OK) {
402 if (data->state != BIO_CONN_S_OK) {
431 data->state = BIO_CONN_S_BEFORE;
437 if (data->state != BIO_CONN_S_OK)
554 int (**fptr) (const BIO *bio, int state, int xret);
556 fptr = (int (**)(const BIO *bio, int state, int xret))ptr;