From 09779e6a04b9475c1cf1a27eb1a905c3efc412ba Mon Sep 17 00:00:00 2001 From: Thomas Porzelt Date: Sun, 18 Oct 2009 20:11:35 +0200 Subject: [PATCH] Forgot updated header in previous commit --- include/lighttpd/throttle.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/lighttpd/throttle.h b/include/lighttpd/throttle.h index a330d25..31efabd 100644 --- a/include/lighttpd/throttle.h +++ b/include/lighttpd/throttle.h @@ -17,6 +17,12 @@ struct liThrottlePool { ev_tstamp *last_con_rearm; }; +typedef struct liThrottleParam liThrottleParam; +struct liThrottleParam { + guint rate; + guint burst; +}; + LI_API void li_throttle_cb(struct ev_loop *loop, ev_timer *w, int revents); LI_API liThrottlePool *li_throttle_pool_new(liServer *srv, GString *name, guint rate);