| 403 | } |
| 404 | |
| 405 | static bool scan_str_same(const char *a, const char *b) { |
| 406 | return (!a && !b) || (a && b && strcmp(a, b) == 0); |
| 407 | } |
| 408 | |
| 409 | static bool scan_node_same(const cbm_node_t *a, const cbm_node_t *b) { |
| 410 | return a->id == b->id && scan_str_same(a->project, b->project) && |