]> git.ipfire.org Git - thirdparty/squid.git/blob - lib/Splay.cc
SourceFormat Enforcement
[thirdparty/squid.git] / lib / Splay.cc
1 /*
2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9 /*
10 * based on ftp://ftp.cs.cmu.edu/user/sleator/splaying/top-down-splay.c
11 * http://bobo.link.cs.cmu.edu/cgi-bin/splay/splay-cgi.pl
12 */
13
14 #include "squid.h"
15
16 #include <cstdlib>
17 #if HAVE_UNISTD_H
18 #include <unistd.h>
19 #endif
20
21 #include "splay.h"
22 #include "util.h"
23
24 int splayLastResult = 0;
25