/* cache_ban.c */
void AddBan(const char *, int hash);
void BAN_Init(void);
-void cli_func_url_purge(struct cli *cli, const char * const *av, void *priv);
-void cli_func_hash_purge(struct cli *cli, const char * const *av, void *priv);
+void ccf_url_purge(struct cli *cli, const char * const *av, void *priv);
+void ccf_hash_purge(struct cli *cli, const char * const *av, void *priv);
void BAN_NewObj(struct object *o);
int BAN_CheckObject(struct object *o, const char *url, const char *hash);
#undef VCL_RET_MAC
#ifdef CLI_PRIV_H
-cli_func_t cli_func_config_list;
-cli_func_t cli_func_config_load;
-cli_func_t cli_func_config_discard;
-cli_func_t cli_func_config_use;
+cli_func_t ccf_config_list;
+cli_func_t ccf_config_load;
+cli_func_t ccf_config_discard;
+cli_func_t ccf_config_use;
#endif
/* cache_vrt_esi.c */
}
void
-cli_func_url_purge(struct cli *cli, const char * const *av, void *priv)
+ccf_url_purge(struct cli *cli, const char * const *av, void *priv)
{
(void)priv;
}
void
-cli_func_hash_purge(struct cli *cli, const char * const *av, void *priv)
+ccf_hash_purge(struct cli *cli, const char * const *av, void *priv)
{
(void)priv;
/*--------------------------------------------------------------------*/
static void
-cli_func_start(struct cli *cli, const char * const *av, void *priv)
+ccf_start(struct cli *cli, const char * const *av, void *priv)
{
(void)cli;
static struct cli_proto master_cmds[] = {
{ CLI_PING, cli_func_ping },
- { CLI_SERVER_START, cli_func_start },
- { CLI_VCL_LOAD, cli_func_config_load },
- { CLI_VCL_LIST, cli_func_config_list },
- { CLI_VCL_DISCARD, cli_func_config_discard },
- { CLI_VCL_USE, cli_func_config_use },
+ { CLI_SERVER_START, ccf_start },
+ { CLI_VCL_LOAD, ccf_config_load },
+ { CLI_VCL_LIST, ccf_config_list },
+ { CLI_VCL_DISCARD, ccf_config_discard },
+ { CLI_VCL_USE, ccf_config_use },
{ NULL }
};
static struct cli_proto cacher_cmds[] = {
{ CLI_HELP, ccf_help, NULL },
- { CLI_URL_PURGE, cli_func_url_purge },
- { CLI_HASH_PURGE, cli_func_hash_purge },
+ { CLI_URL_PURGE, ccf_url_purge },
+ { CLI_HASH_PURGE, ccf_hash_purge },
#if 0
- { CLI_URL_QUERY, cli_func_url_query },
+ { CLI_URL_QUERY, ccf_url_query },
#endif
{ NULL }
};
/*--------------------------------------------------------------------*/
void
-cli_func_config_list(struct cli *cli, const char * const *av, void *priv)
+ccf_config_list(struct cli *cli, const char * const *av, void *priv)
{
struct vcls *vcl;
}
void
-cli_func_config_load(struct cli *cli, const char * const *av, void *priv)
+ccf_config_load(struct cli *cli, const char * const *av, void *priv)
{
(void)av;
}
void
-cli_func_config_discard(struct cli *cli, const char * const *av, void *priv)
+ccf_config_discard(struct cli *cli, const char * const *av, void *priv)
{
struct vcls *vcl;
}
void
-cli_func_config_use(struct cli *cli, const char * const *av, void *priv)
+ccf_config_use(struct cli *cli, const char * const *av, void *priv)
{
struct vcls *vcl;