mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-10 00:57:02 +02:00
MINOR: httpclient: cleanup the include files
Include the correct .h files in http_client.c and http_client.h. The api.h is needed in http_client.c and http_client-t.h is now include directly from http_client.h
This commit is contained in:
parent
0d6f7790fb
commit
2a8fe8bb48
@ -1,6 +1,8 @@
|
|||||||
#ifndef _HAPROXY_HTTPCLIENT_H
|
#ifndef _HAPROXY_HTTPCLIENT_H
|
||||||
#define _HAPROXY_HTTPCLIENT_H
|
#define _HAPROXY_HTTPCLIENT_H
|
||||||
|
|
||||||
|
#include <haproxy/http_client-t.h>
|
||||||
|
|
||||||
void httpclient_destroy(struct httpclient *hc);
|
void httpclient_destroy(struct httpclient *hc);
|
||||||
struct httpclient *httpclient_new(void *caller, enum http_meth_t meth, struct ist url);
|
struct httpclient *httpclient_new(void *caller, enum http_meth_t meth, struct ist url);
|
||||||
|
|
||||||
|
@ -11,10 +11,8 @@
|
|||||||
* This file implements an HTTP Client API.
|
* This file implements an HTTP Client API.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include <haproxy/connection-t.h>
|
|
||||||
#include <haproxy/http_client-t.h>
|
|
||||||
#include <haproxy/server-t.h>
|
|
||||||
|
|
||||||
|
#include <haproxy/api.h>
|
||||||
#include <haproxy/applet.h>
|
#include <haproxy/applet.h>
|
||||||
#include <haproxy/cli.h>
|
#include <haproxy/cli.h>
|
||||||
#include <haproxy/dynbuf.h>
|
#include <haproxy/dynbuf.h>
|
||||||
@ -28,6 +26,7 @@
|
|||||||
#include <haproxy/htx.h>
|
#include <haproxy/htx.h>
|
||||||
#include <haproxy/log.h>
|
#include <haproxy/log.h>
|
||||||
#include <haproxy/proxy.h>
|
#include <haproxy/proxy.h>
|
||||||
|
#include <haproxy/server.h>
|
||||||
#include <haproxy/stream_interface.h>
|
#include <haproxy/stream_interface.h>
|
||||||
#include <haproxy/tools.h>
|
#include <haproxy/tools.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user