X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcqlstrer.c;h=f45a769e2e4abb249ac643120e0b27f412a6ceaa;hp=46b8a4e4ce245a2411311c34bea770f203a17e80;hb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35;hpb=0698a93c2bb1b8e7fa7a63d906bb863ffdac40e9 diff --git a/src/cqlstrer.c b/src/cqlstrer.c index 46b8a4e..f45a769 100644 --- a/src/cqlstrer.c +++ b/src/cqlstrer.c @@ -1,18 +1,21 @@ -/* $Id: cqlstrer.c,v 1.2 2003-12-18 17:05:01 mike Exp $ - Copyright (C) 2002-2003 - Index Data Aps - -This file is part of the YAZ toolkit. - -See the file LICENSE. -*/ +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2011 Index Data + * See the file LICENSE for details. + */ +/** + * \file cqlstrer.c + * \brief Implements CQL error code map to description string. + */ +#if HAVE_CONFIG_H +#include +#endif #include /* * The error-messages associated with these codes are taken from * the SRW diagnostic specifications at - * http://www.loc.gov/srw/diagnostic-list.html + * http://www.loc.gov/standards/sru/diagnostics-list.html */ const char *cql_strerror(int code) { static char buf[80]; @@ -59,3 +62,12 @@ const char *cql_strerror(int code) { sprintf(buf, "Unknown CQL error #%d", code); return buf; } +/* + * Local variables: + * c-basic-offset: 4 + * c-file-style: "Stroustrup" + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +