-/* $Id: t13.c,v 1.10 2006-11-21 22:17:50 adam Exp $
- Copyright (C) 1995-2006
+/* $Id: t13.c,v 1.14 2007-03-14 11:48:32 adam Exp $
+ Copyright (C) 1995-2007
Index Data ApS
This file is part of the Zebra server.
zebra_set_resource(zh, "profilePath", "${srcdir:-.}/../../tab");
- YAZ_CHECK_EQ(zebra_insert_record(zh /* handle */,
+ YAZ_CHECK_EQ(zebra_update_record(zh /* handle */,
+ action_insert,
"grs.sgml" /* record type */,
&sysno, 0 /* match */,
0 /* fname */,
- xml_buf, strlen(xml_buf),
- 0 /* force_update */),
+ xml_buf, strlen(xml_buf)),
ZEBRA_OK);
zebra_close(zh);
static void tst(int argc, char **argv)
{
- tl_start_log(argc, argv);
tst_res();
tst_no_config();
}