/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2009 Index Data
+ * Copyright (C) 1995-2013 Index Data
* See the file LICENSE for details.
*/
-
/** \file
* \brief Little toy-thing to genearate an OPAC record with some values
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
-#include <ctype.h>
#include <yaz/wrbuf.h>
#include <yaz/marcdisp.h>
#include <yaz/odr.h>
odr_malloc(odr, sizeof(*hr));
Z_HoldingsAndCircData *hc = (Z_HoldingsAndCircData *)
odr_malloc(odr, sizeof(*hc));
-
+
rec->holdingsData[i] = hr;
hr->which = Z_HoldingsRecord_holdingsAndCirc;
hr->u.holdingsAndCirc = hc;
-
+
hc->typeOfRecord = "u";
hc->encodingLevel = "u";
hc->completeness = 0; /* OPT */
hc->dateOfReport = "000000";
hc->nucCode = "s-FM/GC";
- hc->localLocation =
+ hc->localLocation =
"Main or Science/Business Reading Rms - STORED OFFSITE";
hc->shelvingLocation = 0; /* OPT */
hc->callNumber = "MLCM 89/00602 (N)";