YAZ  5.34.0
cqlstrer.c
Go to the documentation of this file.
1 /* This file is part of the YAZ toolkit.
2  * Copyright (C) Index Data
3  * See the file LICENSE for details.
4  */
9 #if HAVE_CONFIG_H
10 #include <config.h>
11 #endif
12 
13 #include <yaz/cql.h>
14 #include <yaz/diagsrw.h>
15 
16 const char *cql_strerror(int code)
17 {
18  return yaz_diag_srw_str(code);
19 }
20 /*
21  * Local variables:
22  * c-basic-offset: 4
23  * c-file-style: "Stroustrup"
24  * indent-tabs-mode: nil
25  * End:
26  * vim: shiftwidth=4 tabstop=8 expandtab
27  */
28 
Header with public definitions about CQL.
const char * cql_strerror(int code)
returns the CQL message corresponding to a given error code.
Definition: cqlstrer.c:16
const char * yaz_diag_srw_str(int code)
Definition: diagsrw.c:110
Diagnostics: Generated by csvtodiag.tcl from ./srw.csv.