+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2010 Index Data
+ * See the file LICENSE for details.
+ */
+/**
+ * \file facet.c
+ * \brief Facet utilities
+ */
+
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/facet.h>
#include <yaz/diagbib1.h>
/* TODO - check numeric first, then value! */
if ( ae->which == Z_AttributeValue_numeric ) {
av->limit = *ae->value.numeric;
+ yaz_log(YLOG_DEBUG, "limitattr %d ", av->limit);
} else {
av->errcode = YAZ_BIB1_UNSUPP_ATTRIBUTE;
av->errstring = "non-numeric limit attribute";
list->elements[index] = field;
}
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+