mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-08 13:20:04 +03:00
16 lines
308 B
C
16 lines
308 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) {}
|
|
|
|
#endif /* HAVE_PROXYPROTOCOL */
|
|
|
|
#endif /* PROXYPROTOCOL_H */
|