X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fcclp.h;h=85864e272af7293a81e4f1572cb93379d80d55df;hb=0edd22d3d3fb9bafa8795815517e9ad51d51641f;hp=a3b1e90724915f3b4a48236ac47b93852c8b1eb9;hpb=fdb80724c17104b31f80527cca19b433f6c2fc33;p=yaz-moved-to-github.git diff --git a/src/cclp.h b/src/cclp.h index a3b1e90..85864e2 100644 --- a/src/cclp.h +++ b/src/cclp.h @@ -1,8 +1,28 @@ -/* - * Copyright (C) 1995-2005, Index Data ApS - * See the file LICENSE for details. +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2009 Index Data. + * All rights reserved. + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of Index Data nor the names of its contributors + * may be used to endorse or promote products derived from this + * software without specific prior written permission. * - * $Id: cclp.h,v 1.4 2007-04-30 19:55:40 adam Exp $ + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /** @@ -99,10 +119,6 @@ struct ccl_rpn_attr *ccl_qual_get_attr(ccl_qualifier_t q); YAZ_EXPORT const char *ccl_qual_get_name(ccl_qualifier_t q); -YAZ_EXPORT -int ccl_qual_match_stop(CCL_bibset bibset, ccl_qualifier_t *qa, - const char *src_str, size_t src_len); - /* * Local variables: * c-basic-offset: 4