mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-08 05:10:05 +03:00
16 lines
319 B
C
16 lines
319 B
C
#ifndef PROXYPROTOCOL_H
|
|
#define PROXYPROTOCOL_H
|
|
|
|
|
|
#if HAVE_PROXYPROTOCOL
|
|
int pp_write_header(int pp_version, struct connection* cnx);
|
|
|
|
|
|
#else /* HAVE_PROXYPROTOCOL */
|
|
|
|
static inline int pp_write_header(int pp_version, struct connection* cnx) { return 0; }
|
|
|
|
#endif /* HAVE_PROXYPROTOCOL */
|
|
|
|
#endif /* PROXYPROTOCOL_H */
|