blob: aad0d616bb13b357549b0a8c0f89557a387d5e4a [file] [log] [blame]
Christopher Faulet78fbb9f2019-08-11 23:11:03 +02001/*
2 * include/proto/fcgi-app.h
3 * This file defines function prototypes for FCGI applications.
4 *
5 * Copyright (C) 2019 HAProxy Technologies, Christopher Faulet <cfaulet@haproxy.com>
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation, version 2.1
10 * exclusively.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22#ifndef _PROTO_HTTP_FCGI_H
23#define _PROTO_HTTP_FCGI_H
24
25#include <common/htx.h>
26
27#include <types/fcgi-app.h>
28#include <types/proxy.h>
29#include <types/stream.h>
30
31struct fcgi_app *fcgi_app_find_by_name(const char *name);
32struct fcgi_flt_conf *find_px_fcgi_conf(struct proxy *px);
33struct fcgi_flt_ctx *find_strm_fcgi_ctx(struct stream *s);
34struct fcgi_app *get_px_fcgi_app(struct proxy *px);
35struct fcgi_app *get_strm_fcgi_app(struct stream *s);
36
37#endif /* _PROTO_HTTP_FCGI_H */
38
39/*
40 * Local variables:
41 * c-indent-level: 8
42 * c-basic-offset: 8
43 * End:
44 */