Lines Matching defs:state_t
122 * The following at least guarantees that the return type of (*state_t)()
126 typedef state_func_t (*state_t)(void);
148 static void transition(state_t);
191 static state_t requested_transition = runcom;
197 static state_t current_state = death;
201 static char get_runlevel(const state_t);
213 static state_t requested_transition = single_user;
578 transition(state_t s)
591 s = (state_t)(*s)();
1370 get_runlevel(const state_t s)
1372 if (s == (state_t)single_user)
1374 if (s == (state_t)runcom)
1376 if (s == (state_t)read_ttys)
1378 if (s == (state_t)multi_user)
1380 if (s == (state_t)clean_ttys)
1382 if (s == (state_t)catatonia)