mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-17 12:35:37 +00:00
REORG: include: move common/ticks.h to haproxy/ticks.h
Nothing needed to be changed, there are no exported types.
This commit is contained in:
parent
374b442cbc
commit
c2f7c5895c
@ -1,23 +1,23 @@
|
||||
/*
|
||||
include/common/ticks.h
|
||||
Functions and macros for manipulation of expiration timers
|
||||
|
||||
Copyright (C) 2000-2009 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
|
||||
*/
|
||||
* include/haproxy/ticks.h
|
||||
* Functions and macros for manipulation of expiration timers
|
||||
*
|
||||
* Copyright (C) 2000-2020 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
|
||||
*/
|
||||
|
||||
/*
|
||||
* Using a mix of milliseconds and timeval for internal timers is expensive and
|
||||
@ -49,8 +49,8 @@
|
||||
* the dedicated tick_add() function.
|
||||
*/
|
||||
|
||||
#ifndef _COMMON_TICKS_H
|
||||
#define _COMMON_TICKS_H
|
||||
#ifndef _HAPROXY_TICKS_H
|
||||
#define _HAPROXY_TICKS_H
|
||||
|
||||
#include <haproxy/api.h>
|
||||
|
||||
@ -143,7 +143,7 @@ static inline int tick_remain(int now, int exp)
|
||||
return exp - now;
|
||||
}
|
||||
|
||||
#endif /* _COMMON_TICKS_H */
|
||||
#endif /* _HAPROXY_TICKS_H */
|
||||
|
||||
/*
|
||||
* Local variables:
|
@ -31,7 +31,7 @@
|
||||
#include <haproxy/chunk.h>
|
||||
#include <haproxy/dynbuf.h>
|
||||
#include <common/htx.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/time.h>
|
||||
|
||||
#include <types/channel.h>
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include <haproxy/api.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/time.h>
|
||||
#include <types/fd.h>
|
||||
#include <haproxy/activity.h>
|
||||
|
@ -23,7 +23,7 @@
|
||||
#define _PROTO_PEERS_H
|
||||
|
||||
#include <haproxy/api.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/time.h>
|
||||
#include <proto/connection.h>
|
||||
#include <types/stream.h>
|
||||
|
@ -23,7 +23,7 @@
|
||||
#define _PROTO_PROXY_H
|
||||
|
||||
#include <haproxy/api.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/time.h>
|
||||
#include <types/applet.h>
|
||||
#include <types/global.h>
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
#include <haproxy/errors.h>
|
||||
#include <common/standard.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/time.h>
|
||||
#include <types/stick_table.h>
|
||||
#include <types/dict.h>
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <haproxy/pool.h>
|
||||
#include <haproxy/intops.h>
|
||||
#include <haproxy/list.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/thread.h>
|
||||
|
||||
#include <import/eb32sctree.h>
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <haproxy/api.h>
|
||||
#include <haproxy/hash.h>
|
||||
#include <common/htx.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/time.h>
|
||||
#include <haproxy/namespace.h>
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include <common/cfgparse.h>
|
||||
#include <haproxy/list.h>
|
||||
#include <common/standard.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/time.h>
|
||||
#include <common/uri_auth.h>
|
||||
#include <haproxy/version.h>
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <common/cfgparse.h>
|
||||
#include <haproxy/errors.h>
|
||||
#include <haproxy/time.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/net_helper.h>
|
||||
|
||||
#include <types/action.h>
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include <haproxy/api.h>
|
||||
#include <haproxy/thread-t.h>
|
||||
#include <common/standard.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/time.h>
|
||||
|
||||
#include <types/global.h>
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include <haproxy/api.h>
|
||||
#include <haproxy/thread-t.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/time.h>
|
||||
|
||||
#include <types/global.h>
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include <haproxy/api.h>
|
||||
#include <haproxy/thread-t.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/time.h>
|
||||
|
||||
#include <types/global.h>
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include <haproxy/api.h>
|
||||
#include <haproxy/thread-t.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/time.h>
|
||||
|
||||
#include <types/global.h>
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
#include <haproxy/api.h>
|
||||
#include <haproxy/thread-t.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/time.h>
|
||||
|
||||
#include <types/global.h>
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <haproxy/api.h>
|
||||
#include <haproxy/buf.h>
|
||||
#include <common/standard.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/time.h>
|
||||
|
||||
#include <proto/connection.h>
|
||||
|
@ -49,7 +49,7 @@
|
||||
#include <haproxy/errors.h>
|
||||
#include <haproxy/openssl-compat.h>
|
||||
#include <common/standard.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/time.h>
|
||||
#include <haproxy/base64.h>
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include <haproxy/pool.h>
|
||||
#include <haproxy/list.h>
|
||||
#include <common/standard.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/time.h>
|
||||
#include <common/uri_auth.h>
|
||||
#include <haproxy/version.h>
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <haproxy/api.h>
|
||||
#include <haproxy/dynbuf.h>
|
||||
#include <common/standard.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/time.h>
|
||||
|
||||
#include <proto/applet.h>
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <common/cfgparse.h>
|
||||
#include <haproxy/list.h>
|
||||
#include <common/standard.h>
|
||||
#include <common/ticks.h>
|
||||
#include <haproxy/ticks.h>
|
||||
#include <haproxy/time.h>
|
||||
|
||||
#include <types/arg.h>
|
||||
|
Loading…
Reference in New Issue
Block a user