mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 14:51:27 +02:00
MINOR: session: export the function 'smp_fetch_sc_stkctr'
This one is sometimes useful outside of this file.
This commit is contained in:
parent
055b9d5c63
commit
e12704bfc7
@ -45,6 +45,7 @@ void session_process_counters(struct session *s);
|
|||||||
void sess_change_server(struct session *sess, struct server *newsrv);
|
void sess_change_server(struct session *sess, struct server *newsrv);
|
||||||
struct task *process_session(struct task *t);
|
struct task *process_session(struct task *t);
|
||||||
void default_srv_error(struct session *s, struct stream_interface *si);
|
void default_srv_error(struct session *s, struct stream_interface *si);
|
||||||
|
struct stkctr *smp_fetch_sc_stkctr(struct session *l4, const struct arg *args, const char *kw);
|
||||||
int parse_track_counters(char **args, int *arg,
|
int parse_track_counters(char **args, int *arg,
|
||||||
int section_type, struct proxy *curpx,
|
int section_type, struct proxy *curpx,
|
||||||
struct track_ctr_prm *prm,
|
struct track_ctr_prm *prm,
|
||||||
|
@ -2758,7 +2758,7 @@ void session_shutdown(struct session *session, int why)
|
|||||||
* to be able to convery multiple values per key (eg: have gpc0 from
|
* to be able to convery multiple values per key (eg: have gpc0 from
|
||||||
* multiple tables).
|
* multiple tables).
|
||||||
*/
|
*/
|
||||||
static struct stkctr *
|
struct stkctr *
|
||||||
smp_fetch_sc_stkctr(struct session *l4, const struct arg *args, const char *kw)
|
smp_fetch_sc_stkctr(struct session *l4, const struct arg *args, const char *kw)
|
||||||
{
|
{
|
||||||
static struct stkctr stkctr;
|
static struct stkctr stkctr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user