| 890 | } |
| 891 | |
| 892 | cbm_store_t *cbm_store_open_path_existing(const char *db_path) { |
| 893 | if (!db_path) { |
| 894 | return NULL; |
| 895 | } |
| 896 | return store_open_internal(db_path, false, false); |
| 897 | } |
| 898 | |
| 899 | const char *cbm_store_db_path(const cbm_store_t *s) { |
| 900 | return s ? s->db_path : NULL; |