mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-10 17:17:06 +02:00
Previous commit renames 'proto_reverse_connect' module to 'proto_rhttp'. This commits follows this by replacing various custom prefix by 'rhttp_' to make the code uniform. Note that 'reverse_' prefix was kept in connection module. This is because if a new reversable protocol not based on HTTP is implemented, it may be necessary to reused the same connection function which are protocol agnostic.
22 lines
723 B
C
22 lines
723 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 rhttp_bind_receiver(struct receiver *rx, char **errmsg);
|
|
|
|
int rhttp_bind_listener(struct listener *listener, char *errmsg, int errlen);
|
|
void rhttp_enable_listener(struct listener *l);
|
|
void rhttp_disable_listener(struct listener *l);
|
|
struct connection *rhttp_accept_conn(struct listener *l, int *status);
|
|
void rhttp_unbind_receiver(struct listener *l);
|
|
int rhttp_set_affinity(struct connection *conn, int new_tid);
|
|
|
|
int rhttp_accepting_conn(const struct receiver *rx);
|
|
|
|
void rhttp_notify_preconn_err(struct listener *l);
|
|
|
|
#endif /* _HAPROXY_PROTO_RHTTP_H */
|