* Sebastian Hammer, Adam Dickmeiss
*
* $Log: d1_read.c,v $
- * Revision 1.26 1999-07-13 13:23:48 adam
+ * Revision 1.27 1999-08-27 09:40:32 adam
+ * Renamed logf function to yaz_log. Removed VC++ project files.
+ *
+ * Revision 1.26 1999/07/13 13:23:48 adam
* Non-recursive version of data1_read_node. data1_read_nodex reads
* stream of bytes (instead of buffer in memory).
*
args[i] = '\0';
if (c != '>')
{
- logf(LOG_WARN, "d1: %d: Malformed tag", line);
+ yaz_log(LOG_WARN, "d1: %d: Malformed tag", line);
return 0;
}
else
}
if (i != level)
{
- logf (LOG_WARN, "%d: no begin tag for %s",
- line, tag);
+ yaz_log (LOG_WARN, "%d: no begin tag for %s",
+ line, tag);
break;
}
}
{
if (!(absyn = data1_get_absyn (dh, tag)))
{
- logf(LOG_WARN, "Unable to acquire abstract syntax "
- "for '%s'", tag);
+ yaz_log(LOG_WARN, "Unable to acquire abstract syntax "
+ "for '%s'", tag);
return 0;
}
res = data1_mk_node (dh, m);
if (sscanf(args, "%s %s %n", tclass, type, &val_offset) != 2)
{
- logf(LOG_WARN, "Malformed variant triple at '%s'", tag);
+ yaz_log(LOG_WARN, "Malformed variant triple at '%s'", tag);
continue;
}
if (!(tp =