Mercurial > urweb
comparison include/urweb/urweb_cpp.h @ 2279:32a407902d3b
Rewrite LRU cache. Now uses one big hash table and is less buggy.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Wed, 11 Nov 2015 20:01:48 -0500 |
parents | 1e3ba868f8bf |
children | 985c8016b592 |
comparison
equal
deleted
inserted
replaced
2278:b7615e0ac4b0 | 2279:32a407902d3b |
---|---|
403 | 403 |
404 void uw_Basis_writec(struct uw_context *, char); | 404 void uw_Basis_writec(struct uw_context *, char); |
405 | 405 |
406 // Sqlcache. | 406 // Sqlcache. |
407 | 407 |
408 #include "uthash.h" | 408 uw_Sqlcache_Value *uw_Sqlcache_check(uw_Sqlcache_Cache *, char **, int); |
409 | 409 void *uw_Sqlcache_store(uw_Sqlcache_Cache *, char **, int, uw_Sqlcache_Value *); |
410 uw_Sqlcache_CacheValue *uw_Sqlcache_check(uw_Sqlcache_Cache *, char **); | 410 void *uw_Sqlcache_flush(uw_Sqlcache_Cache *, char **, int); |
411 uw_Sqlcache_CacheValue *uw_Sqlcache_store(uw_Sqlcache_Cache *, char **, uw_Sqlcache_CacheValue *); | |
412 uw_Sqlcache_CacheValue *uw_Sqlcache_flush(uw_Sqlcache_Cache *, char **); | |
413 | 411 |
414 #endif | 412 #endif |