| 98 | } |
| 99 | |
| 100 | static bool conflict_status_valid(cbm_daemon_hello_status_t status) { |
| 101 | return status >= CBM_DAEMON_HELLO_VERSION_CONFLICT && status <= CBM_DAEMON_HELLO_CACHE_CONFLICT; |
| 102 | } |
| 103 | |
| 104 | static bool conflict_valid(const cbm_daemon_conflict_t *conflict) { |
| 105 | return conflict && conflict_status_valid(conflict->status) && |