X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fcql.h;h=64c1266ffe9f9b55bb9a1d33026ca62ba21f5a6a;hp=148a9e0c7552dcd5ac117628a986e569025f001a;hb=b0be69c0a676f1702f12b2ea17cd73f9ebb08ea2;hpb=02d2f2409c58ab49ab535758d85d70fae0f651f4 diff --git a/include/yaz/cql.h b/include/yaz/cql.h index 148a9e0..64c1266 100644 --- a/include/yaz/cql.h +++ b/include/yaz/cql.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data. + * Copyright (C) 1995-2012 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: @@ -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);