| 375 | |
| 376 | |
| 377 | static inline void agent_switch_login(struct cc_data* data, |
| 378 | struct cc_agent* agent, struct cc_agent* prev_agent) |
| 379 | { |
| 380 | /* take out of the current list */ |
| 381 | remove_cc_agent(data, agent, prev_agent); |
| 382 | agent->logged_in ^= 1; |
| 383 | agent_raise_event( agent, NULL); |
| 384 | /* add on top of the new one */ |
| 385 | add_cc_agent_top(data, agent); |
| 386 | } |
| 387 | #endif |
no test coverage detected