haproxy/include/proto/client.h
Willy Tarreau 14c8aac63b [MEDIUM] store the original destination address in the session
There are multiple places where the client's destination address is
required. Let's store it in the session when needed, and add a flag
to inform that it has been retrieved.
2007-05-08 23:24:20 +02:00

41 lines
1.1 KiB
C

/*
include/proto/client.h
This file contains client-side definitions.
Copyright (C) 2000-2007 Willy Tarreau - w@1wt.eu
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation, version 2.1
exclusively.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _PROTO_CLIENT_H
#define _PROTO_CLIENT_H
#include <common/config.h>
#include <types/client.h>
#include <types/session.h>
void get_frt_addr(struct session *s);
int event_accept(int fd);
#endif /* _PROTO_CLIENT_H */
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* End:
*/