X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fcql.h;h=60d9d5cb264ef8c05137301a74c0bb711f4e0682;hp=148a9e0c7552dcd5ac117628a986e569025f001a;hb=211fa151f2239cfecd08a212e00be8d27f7a35a7;hpb=02d2f2409c58ab49ab535758d85d70fae0f651f4 diff --git a/include/yaz/cql.h b/include/yaz/cql.h index 148a9e0..60d9d5c 100644 --- a/include/yaz/cql.h +++ b/include/yaz/cql.h @@ -264,7 +264,9 @@ void cql_to_ccl_stdio(struct cql_node *cn, FILE *f); \param cn CQL node (tree) \param out buffer \param max size of buffer (max chars to write) - \returns length of resulting buffer + \retval 0 OK + \retval -1 conversion error + \retval -2 buffer too small (truncated) */ YAZ_EXPORT int cql_to_ccl_buf(struct cql_node *cn, char *out, int max);