#include <proto/channel.h>
+extern const char *trace_flt_id;
+extern const char *http_comp_flt_id;
+extern const char *cache_store_flt_id;
+extern const char *spoe_filter_id;
+
#define FLT_ID(flt) (flt)->config->id
#define FLT_CONF(flt) (flt)->config->conf
#define FLT_OPS(flt) (flt)->config->ops
* messages (legacy implementation) */
#define CACHE_F_HTX 0x00000002 /* The cache is used to store HTX messages */
-static const char *cache_store_flt_id = "cache store filter";
+const char *cache_store_flt_id = "cache store filter";
struct applet http_cache_applet;
#include <proto/sample.h>
#include <proto/stream.h>
-static const char *http_comp_flt_id = "compression filter";
+const char *http_comp_flt_id = "compression filter";
struct flt_ops comp_ops;
#include <proto/proto_http.h>
#include <proto/stream.h>
+const char *trace_flt_id = "trace filter";
+
struct flt_ops trace_ops;
struct trace_config {
pos++;
}
*cur_arg = pos;
+ fconf->id = trace_flt_id;
fconf->ops = &trace_ops;
}