X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcclp.h;h=a3b1e90724915f3b4a48236ac47b93852c8b1eb9;hp=1f59728f9f797e67dcd95a37240b19ad38c33de8;hb=fdb80724c17104b31f80527cca19b433f6c2fc33;hpb=f6ae71f4b4a45b3989700f5e1a73c40ccd53040a diff --git a/src/cclp.h b/src/cclp.h index 1f59728..a3b1e90 100644 --- a/src/cclp.h +++ b/src/cclp.h @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: cclp.h,v 1.3 2007-04-30 11:33:49 adam Exp $ + * $Id: cclp.h,v 1.4 2007-04-30 19:55:40 adam Exp $ */ /** @@ -53,13 +53,13 @@ struct ccl_parser { CCL_bibset bibset; /** names of and operator */ - char *ccl_token_and; + const char **ccl_token_and; /** names of or operator */ - char *ccl_token_or; + const char **ccl_token_or; /** names of not operator */ - char *ccl_token_not; + const char **ccl_token_not; /** names of set operator */ - char *ccl_token_set; + const char **ccl_token_set; /** 1=CCL parser is case sensitive, 0=case insensitive */ int ccl_case_sensitive; }; @@ -99,6 +99,10 @@ 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