]> git.ipfire.org Git - thirdparty/squid.git/blob - lib/Splay.cc
Merged from trunk
[thirdparty/squid.git] / lib / Splay.cc
1 /*
2 * based on ftp://ftp.cs.cmu.edu/user/sleator/splaying/top-down-splay.c
3 * http://bobo.link.cs.cmu.edu/cgi-bin/splay/splay-cgi.pl
4 */
5
6 #include "squid.h"
7
8 #if HAVE_STDIO_H
9 #include <stdio.h>
10 #endif
11 #if HAVE_STDLIB_H
12 #include <stdlib.h>
13 #endif
14 #if HAVE_UNISTD_H
15 #include <unistd.h>
16 #endif
17
18 #include "splay.h"
19 #include "util.h"
20
21 int splayLastResult = 0;