blob: 5cb5b6441bce8afa89ccf4f477bc979a16623bd8 [file] [log] [blame]
Willy Tarreau91861262007-10-17 17:06:05 +02001/*
2 include/proto/senddata.h
3 This file contains definitions of some primitives to send data to
4 clients over a socket and a buffer.
5
6 Copyright (C) 2000-2007 Willy Tarreau - w@1wt.eu
7
8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Lesser General Public
10 License as published by the Free Software Foundation, version 2.1
11 exclusively.
12
13 This library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Lesser General Public License for more details.
17
18 You should have received a copy of the GNU Lesser General Public
19 License along with this library; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21*/
22
23#ifndef _PROTO_SENDDATA_H
24#define _PROTO_SENDDATA_H
25
26#include <common/config.h>
27#include <types/buffers.h>
28#include <types/session.h>
29
30void client_retnclose(struct session *s, const struct chunk *msg);
31void client_return(struct session *s, const struct chunk *msg);
32
33#endif /* _PROTO_SENDDATA_H */
34
35/*
36 * Local variables:
37 * c-indent-level: 8
38 * c-basic-offset: 8
39 * End:
40 */