| 32 | static cachedb_pool_con *cachedb_pool = NULL; |
| 33 | |
| 34 | cachedb_pool_con* cachedb_pool_get(struct cachedb_id *id) |
| 35 | { |
| 36 | cachedb_pool_con *it; |
| 37 | |
| 38 | for (it=cachedb_pool;it;it=it->next) |
| 39 | if (cmp_cachedb_id(id,it->id)) { |
| 40 | it->ref++; |
| 41 | return it; |
| 42 | } |
| 43 | |
| 44 | return 0; |
| 45 | } |
| 46 | |
| 47 | cachedb_pool_con** filter_pool_by_scheme(str *scheme,int* lst_size) |
| 48 | { |
no test coverage detected