| 1616 | } |
| 1617 | |
| 1618 | void cbm_mcp_server_set_project(cbm_mcp_server_t *srv, const char *project) { |
| 1619 | if (!srv) { |
| 1620 | return; |
| 1621 | } |
| 1622 | free(srv->current_project); |
| 1623 | srv->current_project = project ? heap_strdup(project) : NULL; |
| 1624 | } |
| 1625 | |
| 1626 | void cbm_mcp_server_set_watcher(cbm_mcp_server_t *srv, struct cbm_watcher *w) { |
| 1627 | if (srv) { |