Happy new year
[yaz-moved-to-github.git] / src / cqlstrer.c
index 46b8a4e..f45a769 100644 (file)
@@ -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 <config.h>
+#endif
 
 #include <yaz/cql.h>
 
 /*
  * 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
+ */
+