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
YAZ Build date for WIN32.
[yaz-moved-to-github.git]
/
zutil
/
prt-ext.c
diff --git
a/zutil/prt-ext.c
b/zutil/prt-ext.c
index
2349fbc
..
099155a
100644
(file)
--- a/
zutil/prt-ext.c
+++ b/
zutil/prt-ext.c
@@
-1,10
+1,15
@@
/*
/*
- * Copyright (c) 1995-1999, Index Data.
+ * Copyright (c) 1995-2001, Index Data.
* See the file LICENSE for details.
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
* $Log: prt-ext.c,v $
*
* $Log: prt-ext.c,v $
- * Revision 1.4 2000-03-14 15:22:04 ian
+ * Revision 1.6 2001-05-17 14:16:15 adam
+ * Added EXTERNAL handling for item update0 (1.0).
+ *
+ * Revision 1.5 2001/03/25 21:55:13 adam
+ * Added odr_intdup. Ztest server returns TaskPackage for ItemUpdate.
+ *
+ * Revision 1.4 2000/03/14 15:22:04 ian
* Added Admin external to choice table.
*
* Revision 1.3 2000/03/14 13:52:32 ian
* Added Admin external to choice table.
*
* Revision 1.3 2000/03/14 13:52:32 ian
@@
-186,8
+191,9
@@
int z_External(ODR o, Z_External **p, int opt, const char *name)
#ifdef ASN_COMPILED
{ODR_EXPLICIT, ODR_CONTEXT, 0, Z_External_ESAdmin,
(Odr_fun)z_Admin, 0},
#ifdef ASN_COMPILED
{ODR_EXPLICIT, ODR_CONTEXT, 0, Z_External_ESAdmin,
(Odr_fun)z_Admin, 0},
-#endif
- {-1, -1, -1, -1, 0, 0}
+ {ODR_EXPLICIT, ODR_CONTEXT, 0, Z_External_update0,
+ (Odr_fun)z_IU0Update, 0},
+#endif {-1, -1, -1, -1, 0, 0}
};
odr_implicit_settag(o, ODR_UNIVERSAL, ODR_EXTERNAL);
};
odr_implicit_settag(o, ODR_UNIVERSAL, ODR_EXTERNAL);
@@
-255,6
+261,9
@@
Z_External *z_ext_record(ODR o, int format, const char *buf, int len)
case VAL_OPAC:
thisext->which = Z_External_OPAC;
break;
case VAL_OPAC:
thisext->which = Z_External_OPAC;
break;
+ case VAL_EXTENDED:
+ thisext->which = Z_External_extendedService;
+ break;
default:
return 0;
}
default:
return 0;
}