haproxy/include/haproxy/proto_rhttp.h
Amaury Denoyelle e09af499b4 MINOR: rhttp: rename proto_reverse_connect
This commit is renaming of module proto_reverse_connect to proto_rhttp.
This name is selected as it is shorter and more precise.
2023-11-23 17:38:58 +01:00

21 lines
705 B
C

#ifndef _HAPROXY_PROTO_RHTTP_H
#define _HAPROXY_PROTO_RHTTP_H
#include <haproxy/connection-t.h>
#include <haproxy/listener-t.h>
#include <haproxy/receiver-t.h>
int rev_bind_receiver(struct receiver *rx, char **errmsg);
int rev_bind_listener(struct listener *listener, char *errmsg, int errlen);
void rev_enable_listener(struct listener *l);
void rev_disable_listener(struct listener *l);
struct connection *rev_accept_conn(struct listener *l, int *status);
void rev_unbind_receiver(struct listener *l);
int rev_set_affinity(struct connection *conn, int new_tid);
int rev_accepting_conn(const struct receiver *rx);
void rev_notify_preconn_err(struct listener *l);
#endif /* _HAPROXY_PROTO_RHTTP_H */