mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-12 22:41:03 +01:00
MINOR: http: export the function 'smp_fetch_base32'
It's sometimes useful outside of proto_http.c.
This commit is contained in:
parent
65d805fdfc
commit
055b9d5c63
@ -122,6 +122,9 @@ struct redirect_rule *http_parse_redirect_rule(const char *file, int linenum, st
|
|||||||
const char **args, char **errmsg, int use_fmt);
|
const char **args, char **errmsg, int use_fmt);
|
||||||
int smp_fetch_cookie(struct proxy *px, struct session *l4, void *l7, unsigned int opt,
|
int smp_fetch_cookie(struct proxy *px, struct session *l4, void *l7, unsigned int opt,
|
||||||
const struct arg *args, struct sample *smp, const char *kw);
|
const struct arg *args, struct sample *smp, const char *kw);
|
||||||
|
int
|
||||||
|
smp_fetch_base32(struct proxy *px, struct session *l4, void *l7, unsigned int opt,
|
||||||
|
const struct arg *args, struct sample *smp, const char *kw);
|
||||||
|
|
||||||
enum http_meth_t find_http_meth(const char *str, const int len);
|
enum http_meth_t find_http_meth(const char *str, const int len);
|
||||||
|
|
||||||
|
|||||||
@ -10296,7 +10296,7 @@ smp_fetch_base(struct proxy *px, struct session *l4, void *l7, unsigned int opt,
|
|||||||
* 32-bit integer value. This fetch is useful for tracking per-path activity on
|
* 32-bit integer value. This fetch is useful for tracking per-path activity on
|
||||||
* high-traffic sites without having to store whole paths.
|
* high-traffic sites without having to store whole paths.
|
||||||
*/
|
*/
|
||||||
static int
|
int
|
||||||
smp_fetch_base32(struct proxy *px, struct session *l4, void *l7, unsigned int opt,
|
smp_fetch_base32(struct proxy *px, struct session *l4, void *l7, unsigned int opt,
|
||||||
const struct arg *args, struct sample *smp, const char *kw)
|
const struct arg *args, struct sample *smp, const char *kw)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user