mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-10 00:57:02 +02:00
CLEANUP: cache: don't export http_cache_applet anymore
This one can become static since it's not used by http/htx anymore.
This commit is contained in:
parent
2571bc6410
commit
0f22299435
@ -1,8 +0,0 @@
|
|||||||
#ifndef _TYPES_CACHE_H
|
|
||||||
#define _TYPES_CACHE_H
|
|
||||||
|
|
||||||
struct applet http_cache_applet;
|
|
||||||
|
|
||||||
#endif /*_TYPES_CACHE_H */
|
|
||||||
|
|
||||||
|
|
@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
const char *cache_store_flt_id = "cache store filter";
|
const char *cache_store_flt_id = "cache store filter";
|
||||||
|
|
||||||
struct applet http_cache_applet;
|
static struct applet http_cache_applet;
|
||||||
|
|
||||||
struct flt_ops cache_ops;
|
struct flt_ops cache_ops;
|
||||||
|
|
||||||
@ -1839,7 +1839,7 @@ static struct action_kw_list http_req_actions = {
|
|||||||
|
|
||||||
INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_actions);
|
INITCALL1(STG_REGISTER, http_req_keywords_register, &http_req_actions);
|
||||||
|
|
||||||
struct applet http_cache_applet = {
|
static struct applet http_cache_applet = {
|
||||||
.obj_type = OBJ_TYPE_APPLET,
|
.obj_type = OBJ_TYPE_APPLET,
|
||||||
.name = "<CACHE>", /* used for logging */
|
.name = "<CACHE>", /* used for logging */
|
||||||
.fct = http_cache_io_handler,
|
.fct = http_cache_io_handler,
|
||||||
|
@ -42,7 +42,6 @@
|
|||||||
#include <types/cli.h>
|
#include <types/cli.h>
|
||||||
#include <types/filters.h>
|
#include <types/filters.h>
|
||||||
#include <types/global.h>
|
#include <types/global.h>
|
||||||
#include <types/cache.h>
|
|
||||||
#include <types/stats.h>
|
#include <types/stats.h>
|
||||||
|
|
||||||
#include <proto/acl.h>
|
#include <proto/acl.h>
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#include <common/htx.h>
|
#include <common/htx.h>
|
||||||
#include <common/uri_auth.h>
|
#include <common/uri_auth.h>
|
||||||
|
|
||||||
#include <types/cache.h>
|
|
||||||
#include <types/capture.h>
|
#include <types/capture.h>
|
||||||
|
|
||||||
#include <proto/acl.h>
|
#include <proto/acl.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user