MCPcopy Create free account
hub / github.com/dillo-browser/dillo / Cache_entry_cmp

Function Cache_entry_cmp

src/cache.c:97–102  ·  view source on GitHub ↗

* Determine if two cache entries are equal (used by CachedURLs) */

Source from the content-addressed store, hash-verified

95 * Determine if two cache entries are equal (used by CachedURLs)
96 */
97static int Cache_entry_cmp(const void *v1, const void *v2)
98{
99 const CacheEntry_t *d1 = v1, *d2 = v2;
100
101 return a_Url_cmp(d1->Url, d2->Url);
102}
103
104/**
105 * Determine if two cache entries are equal, using a URL as key.

Callers

nothing calls this directly

Calls 1

a_Url_cmpFunction · 0.85

Tested by

no test coverage detected