Lines Matching refs:state
36 int cm_next; /* next state */
124 #define ST_INIT 0 /* initial state */
139 #define ST_LAST ST_Q_NC /* last valid state */
140 #define ST_SKIP 16 /* not a state but required for the state table */
147 ** each state (ST_*) corresponds to bit in an int value (1 << state)
148 ** each state has a set of allowed transitions ('or' of bits of states)
149 ** so a state transition is valid if the mask of the next state
154 #define MI_MASK(x) (0x0001 << (x)) /* generate a bit "mask" for a state */
357 /* is new state ok? */
378 ** try to reach the new state from HELO
427 ** further actions depend on current state
429 ** i.e., stay in the current state
541 ** GET_NR_BIT -- get "no reply" bit matching state
544 ** state -- current protocol stage
554 get_nr_bit(state)
555 int state;
559 switch (state)
627 "%s: milter claimed not to reply in state %d but did anyway %d\n",
1643 ** TRANS_OK -- is the state transition ok?
1646 ** old -- old state
1647 ** new -- new state
1650 ** state transition ok
1664 /* is this state transition allowed? */
1669 ** no: try next state;
1679 ** can we actually "skip" this state?
1693 ** FIX_STM -- add "skip" bits to the state transition table
1702 ** may change state transition table.
1826 ** sending allowed (in current state)
1841 /* are we in the correct state? It must be "End of Message". */