| 732 | } |
| 733 | |
| 734 | Result SetVerified(HCache cache, const char* uri, bool verified) |
| 735 | { |
| 736 | dmMutex::ScopedLock lock(cache->m_Mutex); |
| 737 | |
| 738 | uint64_t uri_hash = dmHashString64(uri); |
| 739 | Entry* entry = cache->m_CacheTable.Get(uri_hash); |
| 740 | if (entry != 0) |
| 741 | { |
| 742 | entry->m_Info.m_Verified = verified; |
| 743 | return RESULT_OK; |
| 744 | } |
| 745 | else |
| 746 | { |
| 747 | return RESULT_NO_ENTRY; |
| 748 | } |
| 749 | } |
| 750 | |
| 751 | Result Release(HCache cache, const char* uri, const char* etag, FILE* file) |
| 752 | { |
no test coverage detected