1*712b2f30Ssthen /* 2*712b2f30Ssthen * cachedb/redis.h - cachedb redis module 3*712b2f30Ssthen * 4*712b2f30Ssthen * Copyright (c) 2018, NLnet Labs. All rights reserved. 5*712b2f30Ssthen * 6*712b2f30Ssthen * This software is open source. 7*712b2f30Ssthen * 8*712b2f30Ssthen * Redistribution and use in source and binary forms, with or without 9*712b2f30Ssthen * modification, are permitted provided that the following conditions 10*712b2f30Ssthen * are met: 11*712b2f30Ssthen * 12*712b2f30Ssthen * Redistributions of source code must retain the above copyright notice, 13*712b2f30Ssthen * this list of conditions and the following disclaimer. 14*712b2f30Ssthen * 15*712b2f30Ssthen * Redistributions in binary form must reproduce the above copyright notice, 16*712b2f30Ssthen * this list of conditions and the following disclaimer in the documentation 17*712b2f30Ssthen * and/or other materials provided with the distribution. 18*712b2f30Ssthen * 19*712b2f30Ssthen * Neither the name of the NLNET LABS nor the names of its contributors may 20*712b2f30Ssthen * be used to endorse or promote products derived from this software without 21*712b2f30Ssthen * specific prior written permission. 22*712b2f30Ssthen * 23*712b2f30Ssthen * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 24*712b2f30Ssthen * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 25*712b2f30Ssthen * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 26*712b2f30Ssthen * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 27*712b2f30Ssthen * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 28*712b2f30Ssthen * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 29*712b2f30Ssthen * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 30*712b2f30Ssthen * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 31*712b2f30Ssthen * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 32*712b2f30Ssthen * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 33*712b2f30Ssthen * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34*712b2f30Ssthen */ 35*712b2f30Ssthen 36*712b2f30Ssthen /** 37*712b2f30Ssthen * \file 38*712b2f30Ssthen * 39*712b2f30Ssthen * This file contains a module that uses the redis database to cache 40*712b2f30Ssthen * dns responses. 41*712b2f30Ssthen */ 42*712b2f30Ssthen 43*712b2f30Ssthen /** the redis backend definition, contains callable functions 44*712b2f30Ssthen * and name string */ 45*712b2f30Ssthen extern struct cachedb_backend redis_backend; 46