projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Beginnings for RPN to CQL transform.
[yaz-moved-to-github.git]
/
src
/
odr_oid.c
diff --git
a/src/odr_oid.c
b/src/odr_oid.c
index
be45098
..
cb725e2
100644
(file)
--- a/
src/odr_oid.c
+++ b/
src/odr_oid.c
@@
-1,8
+1,6
@@
-/*
- * Copyright (C) 1995-2007, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
* See the file LICENSE for details.
* See the file LICENSE for details.
- *
- * $Id: odr_oid.c,v 1.9 2007-03-19 21:08:13 adam Exp $
*/
/**
* \file odr_oid.c
*/
/**
* \file odr_oid.c
@@
-12,8
+10,8
@@
#include <config.h>
#endif
#include <config.h>
#endif
+#include <yaz/oid_util.h>
#include "odr-priv.h"
#include "odr-priv.h"
-#include <yaz/oid.h>
/*
* Top level oid en/decoder.
/*
* Top level oid en/decoder.
@@
-52,7
+50,7
@@
int odr_oid(ODR o, Odr_oid **p, int opt, const char *name)
return 1;
}
if (o->direction == ODR_DECODE)
return 1;
}
if (o->direction == ODR_DECODE)
- *p = (int *)odr_malloc(o, OID_SIZE * sizeof(**p));
+ *p = (Odr_oid *)odr_malloc(o, OID_SIZE * sizeof(**p));
return ber_oidc(o, *p, OID_SIZE);
}
/*
return ber_oidc(o, *p, OID_SIZE);
}
/*