Show
Ignore:
Timestamp:
01/21/10 11:26:39 (6 months ago)
Author:
phk
Message:

Take another trip over the CLI code, this time the help function.

Location:
trunk/varnish-cache/include
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/varnish-cache/include/cli_common.h

    r4474 r4477  
    3131 
    3232struct vlu; 
     33struct cls; 
    3334 
    3435struct cli { 
     
    4243        char                    *ident; 
    4344        struct vlu              *vlu; 
     45        struct cls              *cls; 
    4446}; 
    4547 
  • trunk/varnish-cache/include/cli_priv.h

    r4474 r4477  
    4747        unsigned                minarg; 
    4848        unsigned                maxarg; 
     49        char                    flags[4]; 
    4950 
    5051        /* Dispatch information */ 
     
    5758void cli_quote(struct cli *cli, const char *str); 
    5859void cli_result(struct cli *cli, unsigned r); 
    59  
    60 /* From libvarnish/cli.c */ 
    61 cli_func_t      cli_func_help; 
    62 cli_func_t      cli_func_ping; 
    63 struct cli_proto *cli_concat(struct cli_proto *, struct cli_proto *); 
  • trunk/varnish-cache/include/cli_serve.h

    r4474 r4477  
    4141void CLS_Destroy(struct cls **); 
    4242 
     43/* From libvarnish/cli.c */ 
     44cli_func_t      CLS_func_close; 
     45cli_func_t      CLS_func_help; 
     46cli_func_t      CLS_func_ping; 
     47