Lines Matching refs:state

37     if(bdh->state >= 10) {
40 sprintf(bdh->buffer,"Line #%2d\r\n",bdh->state);
42 ++bdh->state;
169 /* Some internal state return values */
179 /** State for SMTP client state machine */
227 u16_t state;
232 /** struct keeping the body and state of an smtp session */
234 /** keeping the state of the smtp session */
235 enum smtp_session_state state;
535 s->state = SMTP_NULL;
604 /* Allocate memory to keep this email's session state */
1051 * and return the next state.
1213 /** If in state SMTP_BODY, try to send more body data */
1219 if (s->state == SMTP_BODY) {
1253 LWIP_DEBUGF(SMTP_DEBUG_STATE, ("smtp_send_body: end-of-body written, changing state to %s\n",
1255 /* last line written, change state, wait for confirmation */
1256 s->state = SMTP_QUIT;
1282 next_state = s->state;
1298 if (s->state == SMTP_BODY) {
1321 switch(s->state)
1404 LWIP_DEBUGF(SMTP_DEBUG_SERIOUS, ("Invalid state: %d/%s\n", (int)s->state,
1405 smtp_state_str[s->state]));
1408 if (s->state == next_state) {
1410 smtp_state_str[s->state], response_code, smtp_pbuf_str(s->p)));
1419 smtp_state_str[s->state], response_code, smtp_pbuf_str(s->p)));
1421 smtp_state_str[s->state], tx_buf_len, s->tx_buf));
1425 LWIP_DEBUGF(SMTP_DEBUG_STATE, ("smtp_process: changing state from %s to %s\n",
1426 smtp_state_str[s->state], smtp_state_str[next_state]));
1427 s->state = next_state;
1505 s->bodydh->state = BDH_SENDING;
1530 if (bdh->state == BDH_SENDING) {
1536 bdh->state = BDH_STOP;
1543 && (bdh->state != BDH_STOP));
1545 if ((bdh->state != BDH_SENDING) && (ret != BDHSOMEDATASENT)) {