1#ifndef _HAPROXY_SRVR_H_INCLUDED_ 2#define _HAPROXY_SRVR_H_INCLUDED_ 3 4/*++ 5/* NAME 6/* haproxy_srvr 3h 7/* SUMMARY 8/* server-side haproxy protocol support 9/* SYNOPSIS 10/* #include <haproxy_srvr.h> 11/* DESCRIPTION 12/* .nf 13 14 /* 15 * Utility library. 16 */ 17#include <myaddrinfo.h> 18 19 /* 20 * External interface. 21 */ 22extern const char *haproxy_srvr_parse(const char *, 23 MAI_HOSTADDR_STR *, MAI_SERVPORT_STR *, 24 MAI_HOSTADDR_STR *, MAI_SERVPORT_STR *); 25 26#define HAPROXY_PROTO_NAME "haproxy" 27#define HAPROXY_MAX_LEN (256 + 2) 28 29#ifndef DO_GRIPE 30#define DO_GRIPE 1 31#define DONT_GRIPE 0 32#endif 33 34/* LICENSE 35/* .ad 36/* .fi 37/* The Secure Mailer license must be distributed with this software. 38/* AUTHOR(S) 39/* Wietse Venema 40/* IBM T.J. Watson Research 41/* P.O. Box 704 42/* Yorktown Heights, NY 10598, USA 43/*--*/ 44 45#endif 46