Work around error with zlib library compressor
[memstore.git] / memcache / package.lisp
1 ;;; -*- Mode: Common-Lisp -*-
2
3 ;;; Copyright (c) 2005-2006, quasi. All rights reserved.
4 ;;; Copyright (c) 2011 Kevin Rosenberg
5
6 ;;; Redistribution and use in source and binary forms, with or without
7 ;;; modification, are permitted provided that the following conditions
8 ;;; are met:
9
10 ;;;   * Redistributions of source code must retain the above copyright
11 ;;;     notice, this list of conditions and the following disclaimer.
12
13 ;;;   * Redistributions in binary form must reproduce the above
14 ;;;     copyright notice, this list of conditions and the following
15 ;;;     disclaimer in the documentation and/or other materials
16 ;;;     provided with the distribution.
17
18 ;;; THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESSED
19 ;;; OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20 ;;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 ;;; ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
22 ;;; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 ;;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
24 ;;; GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 ;;; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26 ;;; WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27 ;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28 ;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
30 (in-package #:cl-user)
31
32 (defpackage #:memcache
33   (:use #:cl)
34   (:nicknames #:mc)
35   (:shadowing-import-from #:kmrcl #:get-alist #:defconstant*
36                           #:delimited-string-to-list #:ensure-keyword
37                           #:parse-float #:make-lock #:with-lock-held
38                           #:process-sleep)
39   (:export #:*memcache*
40            #:memcache
41            #:mc-store
42            #:mc-get
43            #:mc-del
44            #:mc-incr
45            #:mc-decr
46            #:mc-stats
47            #:mc-get-stat
48            #:mc-version
49            #:mc-verbosity
50            #:mc-flush-all
51            #:memcache-stats
52            #:make-memcache-instance
53            #:mc-server-check
54            #:mc-pool-init
55            #:*use-pool*))
56