* Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: tstodr.c,v 1.9 2007-01-03 08:42:16 adam Exp $
+ * $Id: tstodr.c,v 1.12 2007-08-13 16:23:30 mike Exp $
*
*/
#include <stdlib.h>
#include <stdio.h>
-#include <yaz/odr.h>
-#include <yaz/oid.h>
+#include <yaz/oid_util.h>
#include "tstodrcodec.h"
#include <yaz/test.h>
YAZ_CHECK(t->myoid);
if (t->myoid)
{
- int *myoid = odr_getoidbystr(decode, MYOID);
+ Odr_oid *myoid = odr_getoidbystr(decode, MYOID);
YAZ_CHECK(oid_oidcmp(myoid, t->myoid) == 0);
}