X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fccl.h;h=5b9ac5cffc6746ed9e3befcdd647818393f60573;hp=88deaedfdb92414133e30d53d01d6491f1982ea0;hb=d606d0d7c6015414a1d5ba065d09b507679be5a3;hpb=5242cb5a8634bfa38b9333ff7f903e718ac6e292 diff --git a/include/yaz/ccl.h b/include/yaz/ccl.h index 88deaed..5b9ac5c 100644 --- a/include/yaz/ccl.h +++ b/include/yaz/ccl.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2012 Index Data. + * Copyright (C) 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: @@ -223,6 +223,9 @@ void ccl_qual_line(CCL_bibset bibset, char *line); YAZ_EXPORT void ccl_qual_fitem(CCL_bibset bibset, const char *value, const char *qual_name); +YAZ_EXPORT +int ccl_qual_fitem2(CCL_bibset bibset, const char *value, + const char *qual_name, const char **addinfo); /** Make CCL qualifier set */ YAZ_EXPORT @@ -302,6 +305,11 @@ YAZ_EXPORT int ccl_stop_words_info(ccl_stop_words_t csw, int idx, const char **qualname, const char **term); +YAZ_EXPORT +struct ccl_rpn_attr *ccl_parser_qual_search(CCL_parser cclp, const char *name, + size_t name_len); + + #ifndef ccl_assert #define ccl_assert(x) ; #endif