[CLEANUP] renamed include/haproxy to include/common

This commit is contained in:
Willy Tarreau 2006-06-29 17:53:05 +02:00
parent baaee00406
commit 2dd0d4799e
52 changed files with 166 additions and 161 deletions

View File

@ -1,14 +1,14 @@
#ifndef _HAPROXY_APPSESS_H
#define _HAPROXY_APPSESS_H
#ifndef _COMMON_APPSESS_H
#define _COMMON_APPSESS_H
#define TBLSIZ 10
#define TBLCHKINT 5000 /* The time between two calls of appsession_refresh in ms */
#include <sys/time.h>
#include <haproxy/chtbl.h>
#include <haproxy/hashpjw.h>
#include <haproxy/list.h>
#include <common/chtbl.h>
#include <common/hashpjw.h>
#include <common/list.h>
#include <types/task.h>
@ -48,7 +48,7 @@ int appsession_task_init(void);
int appsession_init(void);
void appsession_cleanup(void);
#endif /* _HAPROXY_APPSESS_H */
#endif /* _COMMON_APPSESS_H */
/*
* Local variables:

View File

@ -1,5 +1,5 @@
/*
* include/haproxy/base64.h
* include/common/base64.h
* Ascii to Base64 conversion as described in RFC1421.
*
* Copyright 2006 Willy Tarreau <w@1wt.eu>
@ -11,10 +11,10 @@
*
*/
#ifndef _HAPROXY_BASE64_H
#define _HAPROXY_BASE64_H
#ifndef _COMMON_BASE64_H
#define _COMMON_BASE64_H
int a2base64(char *in, int ilen, char *out, int olen);
extern const char base64tab[];
#endif /* _HAPROXY_BASE64_H */
#endif /* _COMMON_BASE64_H */

View File

@ -1,5 +1,5 @@
/*
include/haproxy/cfgparse.h
include/common/cfgparse.h
Configuration parsing functions.
Copyright (C) 2000-2006 Willy Tarreau - w@1wt.eu
@ -19,8 +19,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _HAPROXY_CFGPARSE_H
#define _HAPROXY_CFGPARSE_H
#ifndef _COMMON_CFGPARSE_H
#define _COMMON_CFGPARSE_H
/* configuration sections */
#define CFG_NONE 0
@ -35,7 +35,7 @@ int cfg_parse_listen(char *file, int linenum, char **args);
int readcfgfile(char *file);
#endif /* _HAPROXY_CFGPARSE_H */
#endif /* _COMMON_CFGPARSE_H */
/*
* Local variables:

View File

@ -15,8 +15,8 @@
* *
*****************************************************************************/
#ifndef _HAPROXY_CHTBL_H
#define _HAPROXY_CHTBL_H
#ifndef _COMMON_CHTBL_H
#define _COMMON_CHTBL_H
#include <stdlib.h>
@ -59,5 +59,5 @@ int chtbl_lookup(const CHTbl *htbl, void **data);
#define chtbl_size(htbl) ((htbl)->size)
#endif /* _HAPROXY_CHTBL_H */
#endif /* _COMMON_CHTBL_H */

View File

@ -1,5 +1,5 @@
/*
include/haproxy/compat.h
include/common/compat.h
Operating system compatibility interface.
Copyright (C) 2000-2006 Willy Tarreau - w@1wt.eu
@ -19,8 +19,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _HAPROXY_COMPAT_H
#define _HAPROXY_COMPAT_H
#ifndef _COMMON_COMPAT_H
#define _COMMON_COMPAT_H
/* This is needed on Linux for Netfilter includes */
#include <sys/socket.h>
@ -52,7 +52,7 @@
#include <strings.h>
#endif
#endif /* _HAPROXY_COMPAT_H */
#endif /* _COMMON_COMPAT_H */
/*
* Local variables:

View File

@ -1,5 +1,5 @@
/*
include/haproxy/config.h
include/common/config.h
This files contains most of the user-configurable settings.
Copyright (C) 2000-2006 Willy Tarreau - w@1wt.eu
@ -19,10 +19,10 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _HAPROXY_CONFIG_H
#define _HAPROXY_CONFIG_H
#ifndef _COMMON_CONFIG_H
#define _COMMON_CONFIG_H
#include <haproxy/defaults.h>
#include <common/defaults.h>
/* this reduces the number of calls to select() by choosing appropriate
* sheduler precision in milliseconds. It should be near the minimum
@ -31,4 +31,4 @@
*/
#define SCHEDULER_RESOLUTION 9
#endif /* _HAPROXY_CONFIG_H */
#endif /* _COMMON_CONFIG_H */

View File

@ -1,5 +1,5 @@
/*
include/haproxy/defaults.h
include/common/defaults.h
Miscellaneous default values.
Copyright (C) 2000-2006 Willy Tarreau - w@1wt.eu
@ -19,8 +19,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _HAPROXY_DEFAULTS_H
#define _HAPROXY_DEFAULTS_H
#ifndef _COMMON_DEFAULTS_H
#define _COMMON_DEFAULTS_H
/* CONFIG_HAP_MEM_OPTIM
@ -91,4 +91,4 @@
#define DEFAULT_MAXCONN SYSTEM_MAXCONN
#endif
#endif /* _HAPROXY_DEFAULTS_H */
#endif /* _COMMON_DEFAULTS_H */

View File

@ -1,5 +1,5 @@
/*
include/haproxy/epoll.h
include/common/epoll.h
epoll definitions for older libc.
Copyright (C) 2000-2006 Willy Tarreau - w@1wt.eu
@ -26,8 +26,8 @@
* just a basic definition.
*/
#ifndef _HAPROXY_EPOLL_H
#define _HAPROXY_EPOLL_H
#ifndef _COMMON_EPOLL_H
#define _COMMON_EPOLL_H
#include <linux/unistd.h>
#include <stdint.h>
@ -92,7 +92,7 @@ extern int epoll_create(int size);
extern int epoll_ctl(int epfd, int op, int fd, struct epoll_event * event);
extern int epoll_wait(int epfd, struct epoll_event * events, int maxevents, int timeout);
#endif /* _HAPROXY_EPOLL_H */
#endif /* _COMMON_EPOLL_H */
/*

View File

@ -16,8 +16,8 @@
* *
*****************************************************************************/
#ifndef _HAPROXY_HASHPJW_H
#define _HAPROXY_HASHPJW_H
#ifndef _COMMON_HASHPJW_H
#define _COMMON_HASHPJW_H
/*****************************************************************************
* *
@ -35,4 +35,4 @@
int hashpjw(const void *key);
#endif /* _HAPROXY_HASHPJW_H */
#endif /* _COMMON_HASHPJW_H */

View File

@ -15,8 +15,8 @@
* *
*****************************************************************************/
#ifndef _HAPROXY_LIST_H
#define _HAPROXY_LIST_H
#ifndef _COMMON_LIST_H
#define _COMMON_LIST_H
#include <stdlib.h>
@ -74,7 +74,7 @@ int list_rem_next(List *list, ListElmt *element, void **data);
#define list_next(element) ((element)->next)
#endif /* _HAPROXY_LIST_H */
#endif /* _COMMON_LIST_H */
/*
* Local variables:

View File

@ -1,5 +1,5 @@
/*
include/haproxy/memory.h
include/common/memory.h
Memory management definitions..
Copyright (C) 2000-2006 Willy Tarreau - w@1wt.eu
@ -19,12 +19,12 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _HAPROXY_MEMORY_H
#define _HAPROXY_MEMORY_H
#ifndef _COMMON_MEMORY_H
#define _COMMON_MEMORY_H
#include <stdlib.h>
#include <haproxy/config.h>
#include <common/config.h>
#define sizeof_requri REQURI_LEN
#define sizeof_capture CAPTURE_LEN
@ -112,7 +112,7 @@ static inline void pool_destroy(void **pool)
}
}
#endif /* _HAPROXY_MEMORY_H */
#endif /* _COMMON_MEMORY_H */
/*
* Local variables:

View File

@ -4,8 +4,8 @@
*
*/
#ifndef _HAPROXY_MINI_CLIST_H
#define _HAPROXY_MINI_CLIST_H
#ifndef _COMMON_MINI_CLIST_H
#define _COMMON_MINI_CLIST_H
/* these are circular or bidirectionnal lists only. Each list pointer points to
* another list pointer in a structure, and not the structure itself. The
@ -91,4 +91,4 @@ struct list {
for ( ; (iterator) != (end_item); (iterator) = (backup), \
backup = LIST_ELEM((iterator)->struct_member.n, struct_type, struct_member))
#endif /* _HAPROXY_MINI_CLIST_H */
#endif /* _COMMON_MINI_CLIST_H */

View File

@ -1,5 +1,5 @@
/*
include/haproxy/regex.h
include/common/regex.h
This file defines everything related to regular expressions.
Copyright (C) 2000-2006 Willy Tarreau - w@1wt.eu
@ -19,10 +19,10 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _HAPROXY_REGEX_H
#define _HAPROXY_REGEX_H
#ifndef _COMMON_REGEX_H
#define _COMMON_REGEX_H
#include <haproxy/defaults.h>
#include <common/defaults.h>
#ifdef USE_PCRE
#include <pcre.h>
@ -51,7 +51,7 @@ int exp_replace(char *dst, char *src, char *str, regmatch_t *matches);
char *check_replace_string(char *str);
char *chain_regex(struct hdr_exp **head, regex_t *preg, int action, char *replace);
#endif /* _HAPROXY_REGEX_H */
#endif /* _COMMON_REGEX_H */
/*
* Local variables:

View File

@ -1,5 +1,5 @@
/*
include/haproxy/standard.h
include/common/standard.h
This files contains some general purpose functions and macros.
Copyright (C) 2000-2006 Willy Tarreau - w@1wt.eu
@ -19,12 +19,12 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _HAPROXY_STANDARD_H
#define _HAPROXY_STANDARD_H
#ifndef _COMMON_STANDARD_H
#define _COMMON_STANDARD_H
#include <netinet/in.h>
#include <haproxy/defaults.h>
#include <haproxy/compat.h>
#include <common/defaults.h>
#include <common/compat.h>
/****** string-specific macros and functions ******/
@ -89,4 +89,4 @@ char *encode_string(char *start, char *stop,
const char escape, const fd_set *map,
const char *string);
#endif /* _HAPROXY_STANDARD_H */
#endif /* _COMMON_STANDARD_H */

View File

@ -1,5 +1,5 @@
/*
include/haproxy/template.h
include/common/template.h
This file serves as a template for future include files.
Copyright (C) 2000-2006 Willy Tarreau - w@1wt.eu
@ -19,11 +19,11 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _HAPROXY_TEMPLATE_H
#define _HAPROXY_TEMPLATE_H
#ifndef _COMMON_TEMPLATE_H
#define _COMMON_TEMPLATE_H
#endif /* _HAPROXY_TEMPLATE_H */
#endif /* _COMMON_TEMPLATE_H */
/*
* Local variables:

View File

@ -1,5 +1,5 @@
/*
include/haproxy/time.h
include/common/time.h
Time calculation functions and macros.
Copyright (C) 2000-2006 Willy Tarreau - w@1wt.eu
@ -19,8 +19,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _HAPROXY_TIME_H
#define _HAPROXY_TIME_H
#ifndef _COMMON_TIME_H
#define _COMMON_TIME_H
#include <stdlib.h>
#include <sys/time.h>
@ -166,7 +166,7 @@ static inline struct timeval *tv_min(struct timeval *tvmin,
}
#endif /* _HAPROXY_TIME_H */
#endif /* _COMMON_TIME_H */
/*
* Local variables:

View File

@ -10,8 +10,8 @@
*
*/
#ifndef _HAPROXY_URI_AUTH_H
#define _HAPROXY_URI_AUTH_H
#ifndef _COMMON_URI_AUTH_H
#define _COMMON_URI_AUTH_H
/* here we find a very basic list of base64-encoded 'user:passwd' strings */
struct user_auth {
struct user_auth *next; /* next entry, NULL if none */
@ -65,4 +65,4 @@ struct uri_auth *stats_set_realm(struct uri_auth **root, char *realm);
struct uri_auth *stats_add_auth(struct uri_auth **root, char *user);
struct uri_auth *stats_add_scope(struct uri_auth **root, char *scope);
#endif /* _HAPROXY_URI_AUTH_H */
#endif /* _COMMON_URI_AUTH_H */

View File

@ -1,5 +1,5 @@
/*
include/haproxy/version.h
include/common/version.h
This file serves as a template for future include files.
Copyright (C) 2000-2006 Willy Tarreau - w@1wt.eu
@ -19,8 +19,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _HAPROXY_VERSION_H
#define _HAPROXY_VERSION_H
#ifndef _COMMON_VERSION_H
#define _COMMON_VERSION_H
#ifdef CONFIG_PRODUCT_NAME
#define PRODUCT_NAME CONFIG_PRODUCT_NAME
@ -36,4 +36,4 @@
#define HAPROXY_DATE "2006/06/26"
#endif
#endif /* _HAPROXY_VERSION_H */
#endif /* _COMMON_VERSION_H */

View File

@ -22,7 +22,7 @@
#ifndef _PROTO_BUFFERS_H
#define _PROTO_BUFFERS_H
#include <haproxy/defaults.h>
#include <common/defaults.h>
#include <types/buffers.h>
/* returns 1 if the buffer is empty, 0 otherwise */

View File

@ -22,8 +22,8 @@
#ifndef _PROTO_QUEUE_H
#define _PROTO_QUEUE_H
#include <haproxy/memory.h>
#include <haproxy/mini-clist.h>
#include <common/memory.h>
#include <common/mini-clist.h>
#include <types/proxy.h>
#include <types/queue.h>

View File

@ -26,8 +26,8 @@
#include <sys/socket.h>
#include <sys/types.h>
#include <haproxy/defaults.h>
#include <haproxy/config.h>
#include <common/defaults.h>
#include <common/config.h>
/* FIXME: merge those ones together */

View File

@ -25,7 +25,7 @@
#include <sys/time.h>
#include <types/task.h>
#include <haproxy/memory.h>
#include <common/memory.h>
/* puts the task <t> in run queue <q>, and returns <t> */

View File

@ -22,8 +22,8 @@
#ifndef _TYPES_BUFFERS_H
#define _TYPES_BUFFERS_H
#include <haproxy/defaults.h>
#include <haproxy/memory.h>
#include <common/defaults.h>
#include <common/memory.h>
/* describes a chunk of string */
struct chunk {

View File

@ -26,7 +26,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <haproxy/config.h>
#include <common/config.h>
#include <types/task.h>
/* different possible states for the fd */

View File

@ -27,7 +27,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <haproxy/config.h>
#include <common/config.h>
/* for POLL_* */
#if defined(ENABLE_POLL)
@ -39,7 +39,7 @@
#if !defined(USE_MY_EPOLL)
#include <sys/epoll.h>
#else
#include <haproxy/epoll.h>
#include <common/epoll.h>
#endif
#endif

View File

@ -26,10 +26,10 @@
#include <arpa/inet.h>
#include <sys/socket.h>
#include <haproxy/appsession.h>
#include <haproxy/chtbl.h>
#include <haproxy/mini-clist.h>
#include <haproxy/regex.h>
#include <common/appsession.h>
#include <common/chtbl.h>
#include <common/mini-clist.h>
#include <common/regex.h>
#include <types/buffers.h>
#include <types/session.h>

View File

@ -22,7 +22,7 @@
#ifndef _TYPES_QUEUE_H
#define _TYPES_QUEUE_H
#include <haproxy/mini-clist.h>
#include <common/mini-clist.h>
#include <types/server.h>
#include <types/session.h>

View File

@ -25,7 +25,7 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <haproxy/mini-clist.h>
#include <common/mini-clist.h>
#include <types/buffers.h>
#include <types/proxy.h>

View File

@ -28,7 +28,7 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <haproxy/mini-clist.h>
#include <common/mini-clist.h>
#include <types/buffers.h>
#include <types/proxy.h>

View File

@ -11,11 +11,12 @@
*/
#include <stdio.h>
#include <string.h>
#include <haproxy/appsession.h>
#include <haproxy/chtbl.h>
#include <haproxy/list.h>
#include <haproxy/time.h>
#include <common/appsession.h>
#include <common/chtbl.h>
#include <common/list.h>
#include <common/time.h>
#include <types/buffers.h>
#include <types/global.h>

View File

@ -16,8 +16,8 @@
#include <stdlib.h>
#include <syslog.h>
#include <haproxy/compat.h>
#include <haproxy/time.h>
#include <common/compat.h>
#include <common/time.h>
#include <types/buffers.h>
#include <types/global.h>

View File

@ -10,7 +10,7 @@
*
*/
#include <haproxy/base64.h>
#include <common/base64.h>
const char base64tab[64]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

View File

@ -16,12 +16,12 @@
#include <netdb.h>
#include <ctype.h>
#include <haproxy/cfgparse.h>
#include <haproxy/config.h>
#include <haproxy/memory.h>
#include <haproxy/standard.h>
#include <haproxy/time.h>
#include <haproxy/uri_auth.h>
#include <common/cfgparse.h>
#include <common/config.h>
#include <common/memory.h>
#include <common/standard.h>
#include <common/time.h>
#include <common/uri_auth.h>
#include <types/capture.h>
#include <types/global.h>

View File

@ -13,15 +13,16 @@
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <haproxy/compat.h>
#include <haproxy/config.h>
#include <haproxy/mini-clist.h>
#include <haproxy/time.h>
#include <common/compat.h>
#include <common/config.h>
#include <common/mini-clist.h>
#include <common/time.h>
#include <types/global.h>
#include <types/polling.h>

View File

@ -18,8 +18,8 @@
#include <stdlib.h>
#include <string.h>
#include <haproxy/list.h>
#include <haproxy/chtbl.h>
#include <common/list.h>
#include <common/chtbl.h>
/*****************************************************************************
* *

View File

@ -14,13 +14,14 @@
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <haproxy/compat.h>
#include <haproxy/time.h>
#include <common/compat.h>
#include <common/time.h>
#include <types/backend.h>
#include <types/buffers.h>

View File

@ -29,9 +29,9 @@
#include <sys/time.h>
#include <sys/types.h>
#include <haproxy/compat.h>
#include <haproxy/config.h>
#include <haproxy/time.h>
#include <common/compat.h>
#include <common/config.h>
#include <common/time.h>
#include <types/fd.h>
#include <types/global.h>
@ -64,6 +64,8 @@ int cfg_polling_mechanism = 0; /* POLL_USE_{SELECT|POLL|EPOLL} */
fd_set *PrevReadEvent = NULL, *PrevWriteEvent = NULL;
#if defined(USE_MY_EPOLL)
#include <errno.h>
#include <sys/syscall.h>
_syscall1 (int, epoll_create, int, size);
_syscall4 (int, epoll_ctl, int, epfd, int, op, int, fd, struct epoll_event *, event);
_syscall4 (int, epoll_wait, int, epfd, struct epoll_event *, events, int, maxevents, int, timeout);

View File

@ -58,19 +58,19 @@
#include <assert.h>
#endif
#include <haproxy/appsession.h>
#include <haproxy/base64.h>
#include <haproxy/cfgparse.h>
#include <haproxy/compat.h>
#include <haproxy/config.h>
#include <haproxy/defaults.h>
#include <haproxy/memory.h>
#include <haproxy/mini-clist.h>
#include <haproxy/regex.h>
#include <haproxy/standard.h>
#include <haproxy/time.h>
#include <haproxy/uri_auth.h>
#include <haproxy/version.h>
#include <common/appsession.h>
#include <common/base64.h>
#include <common/cfgparse.h>
#include <common/compat.h>
#include <common/config.h>
#include <common/defaults.h>
#include <common/memory.h>
#include <common/mini-clist.h>
#include <common/regex.h>
#include <common/standard.h>
#include <common/time.h>
#include <common/uri_auth.h>
#include <common/version.h>
#include <types/capture.h>
#include <types/global.h>

View File

@ -16,8 +16,8 @@
* *
*****************************************************************************/
#include <haproxy/hashpjw.h>
#include <haproxy/appsession.h>
#include <common/hashpjw.h>
#include <common/appsession.h>
/*****************************************************************************
* *

View File

@ -18,7 +18,7 @@
#include <stdlib.h>
#include <string.h>
#include <haproxy/list.h>
#include <common/list.h>
/*****************************************************************************
* *

View File

@ -20,7 +20,7 @@
#include <sys/time.h>
#include <haproxy/standard.h>
#include <common/standard.h>
#include <types/backend.h>
#include <types/global.h>

View File

@ -14,9 +14,9 @@
#include <sys/time.h>
#include <sys/types.h>
#include <haproxy/compat.h>
#include <haproxy/config.h>
#include <haproxy/time.h>
#include <common/compat.h>
#include <common/config.h>
#include <common/time.h>
#include <types/fd.h>
#include <types/global.h>

View File

@ -22,15 +22,15 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <haproxy/appsession.h>
#include <haproxy/compat.h>
#include <haproxy/config.h>
#include <haproxy/memory.h>
#include <haproxy/mini-clist.h>
#include <haproxy/standard.h>
#include <haproxy/time.h>
#include <haproxy/uri_auth.h>
#include <haproxy/version.h>
#include <common/appsession.h>
#include <common/compat.h>
#include <common/config.h>
#include <common/memory.h>
#include <common/mini-clist.h>
#include <common/standard.h>
#include <common/time.h>
#include <common/uri_auth.h>
#include <common/version.h>
#include <types/capture.h>
#include <types/client.h>

View File

@ -16,9 +16,9 @@
#include <sys/socket.h>
#include <sys/stat.h>
#include <haproxy/defaults.h>
#include <haproxy/compat.h>
#include <haproxy/time.h>
#include <common/defaults.h>
#include <common/compat.h>
#include <common/time.h>
#include <types/global.h>
#include <types/polling.h>

View File

@ -10,7 +10,7 @@
*
*/
#include <haproxy/time.h>
#include <common/time.h>
#include <types/proxy.h>
#include <types/session.h>

View File

@ -14,8 +14,8 @@
#include <stdlib.h>
#include <string.h>
#include <haproxy/regex.h>
#include <haproxy/standard.h>
#include <common/regex.h>
#include <common/standard.h>
#include <proto/log.h>
/* regex trash buffer used by various regex tests */

View File

@ -11,7 +11,7 @@
*/
#include <stdlib.h>
#include <haproxy/memory.h>
#include <common/memory.h>
#include <types/backend.h>
#include <types/capture.h>

View File

@ -16,7 +16,7 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <haproxy/standard.h>
#include <common/standard.h>
#include <proto/log.h>
/* enough to store 2^63=18446744073709551615 */

View File

@ -19,8 +19,8 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <haproxy/compat.h>
#include <haproxy/time.h>
#include <common/compat.h>
#include <common/time.h>
#include <types/backend.h>
#include <types/buffers.h>

View File

@ -10,9 +10,9 @@
*
*/
#include <haproxy/config.h>
#include <haproxy/mini-clist.h>
#include <haproxy/time.h>
#include <common/config.h>
#include <common/mini-clist.h>
#include <common/time.h>
#include <proto/task.h>

View File

@ -11,7 +11,7 @@
*/
#include <sys/time.h>
#include <haproxy/time.h>
#include <common/time.h>
struct timeval now; /* the current date at any moment */
struct timeval start_date; /* the process's start date */

View File

@ -13,8 +13,8 @@
#include <stdlib.h>
#include <string.h>
#include <haproxy/base64.h>
#include <haproxy/uri_auth.h>
#include <common/base64.h>
#include <common/uri_auth.h>
/*