2
0
Fork 0

Forgot updated header in previous commit

personal/stbuehler/wip
Thomas Porzelt 2009-10-18 20:11:35 +02:00
parent 323dcfa9dc
commit 09779e6a04
1 changed files with 6 additions and 0 deletions

View File

@ -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);