X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Frpn2cql.h;fp=include%2Fyaz%2Frpn2cql.h;h=26c72f7c0c946bc890971b0a747f50fa5efc2d52;hp=8491cee52a1ff770ce61162658c81649f8f22776;hb=8e9d2cec97def1cd8b89b1fe427f1a232661ec6f;hpb=6aa3a97ba632e1507ca00a98b8e45567e51e51e6 diff --git a/include/yaz/rpn2cql.h b/include/yaz/rpn2cql.h index 8491cee..26c72f7 100644 --- a/include/yaz/rpn2cql.h +++ b/include/yaz/rpn2cql.h @@ -64,6 +64,16 @@ int cql_transform_rpn2cql_wrbuf(cql_transform_t ct, WRBUF w, Z_RPNQuery *q); +/** \brief find a pattern that has a subset of attributes + \param ct CQL transform handle + \param category pattern category + \param attributes RPN attributes + \returns pattern value or NULL if not found + */ +const char *cql_lookup_reverse(cql_transform_t ct, + const char *category, + Z_AttributeList *attributes); + YAZ_END_CDECL #endif