• Poul-Henning Kamp's avatar
    Further revamp the CLI handling in the cacher process, making it · 3b82f4f7
    Poul-Henning Kamp authored
    possible for various modules to add cli functions so they can
    be manipulated on the fly.
    
    CLI_AddFuncs() registers a set of CLI functions.  We operate
    with three lists: the ones not shown in "help" because the
    manager already showed them, the normal ones and the debug
    commands which are also not shown in a plain "help".
    
    Move the registration of cli functions out to the code they
    belong in: VCL, BAN and VCA.
    
    Give VCA a real Init function, and have the cli function ("start")
    initiate the acceptor thread which listens for incoming connections.
    
    Split CLI_Init() into CLI_Init() and CLI_Run()
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2598 d4fa192b-c00b-0410-8231-f00ffab90ce4
    3b82f4f7
cache_main.c 2.41 KB