• Poul-Henning Kamp's avatar
    Kick the hash_slinger interface around a bit: · 33ab292e
    Poul-Henning Kamp authored
    Isolate more stuff in hash_slinger.h.
    
    Remove hash_slinger from cache.h, include in .c's as necessary.
    
    Save a malloc per objhead by putting a few fields into the objhead
    for the hash_slingers to use.
    
    Preinitialize the refcount when we precreate the objhead.
    
    Move the hash-string allocation into HSH_Copy(), no point in
    duplication of mandatory step.
    
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk@3405 d4fa192b-c00b-0410-8231-f00ffab90ce4
    33ab292e
cache_cli.c 6.35 KB