-/* $Id: d1_absyn.c,v 1.33 2007-01-15 15:10:14 adam Exp $
+/* $Id: d1_absyn.c,v 1.34 2007-01-22 18:15:02 adam Exp $
Copyright (C) 1995-2007
Index Data ApS
res->reference = VAL_NONE;
res->tagset = 0;
res->encoding = 0;
- res->staticrank = 0;
res->xpath_indexing =
(f ? DATA1_XPATH_INDEXING_DISABLE : default_xpath);
res->systags = 0;
(*systagsp)->value = nmem_strdup(data1_nmem_get(dh), argv[2]);
systagsp = &(*systagsp)->next;
}
- else if (!strcmp(cmd, "staticrank"))
- {
- if (argc != 2)
- {
- yaz_log(YLOG_WARN, "%s:%d: Bad # or args for staticrank",
- file, lineno);
- }
- else
- {
- res->staticrank = nmem_strdup(data1_nmem_get(dh), argv[1]);
- }
- }
else
{
yaz_log(YLOG_WARN, "%s:%d: Unknown directive '%s'", file,
return res;
}
-YAZ_EXPORT const char *data1_absyn_get_staticrank(data1_absyn *absyn)
-{
- return absyn ? absyn->staticrank : 0;
-}
-
/*
* Local variables:
* c-basic-offset: 4