X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zutil%2Fprt-ext.c;h=2349fbc39d1eeb058c8b48db288a560ccfd1abc9;hb=03c1d6e9c2c2c0bb2ee01e38d7f464a311bfe9e9;hp=0c30124b72820061211529c57087016776993ff4;hpb=161ec45b40a3ab08e08946c9654ab6fea4604760;p=yaz-moved-to-github.git diff --git a/zutil/prt-ext.c b/zutil/prt-ext.c index 0c30124..2349fbc 100644 --- a/zutil/prt-ext.c +++ b/zutil/prt-ext.c @@ -4,7 +4,16 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: prt-ext.c,v $ - * Revision 1.1 1999-06-08 10:10:16 adam + * 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 Extended Service to External Choice + * + * Revision 1.2 1999/11/30 13:47:12 adam + * Improved installation. Moved header files to include/yaz. + * + * Revision 1.1 1999/06/08 10:10:16 adam * New sub directory zutil. Moved YAZ Compiler to be part of YAZ tree. * * Revision 1.22 1999/05/26 15:24:26 adam @@ -79,7 +88,7 @@ * */ -#include +#include /* * The table below should be moved to the ODR structure itself and @@ -108,6 +117,9 @@ static Z_ext_typeent type_table[] = {VAL_DBUPDATE, Z_External_update, (Odr_fun)z_IUUpdate}, {VAL_DATETIME, Z_External_dateTime, (Odr_fun)z_DateTime}, {VAL_UNIVERSE_REPORT, Z_External_universeReport, (Odr_fun)z_UniverseReport}, +#ifdef ASN_COMPILED + {VAL_ADMINSERVICE, Z_External_ESAdmin, (Odr_fun)z_Admin}, +#endif {VAL_NONE, 0, 0} }; @@ -171,6 +183,10 @@ int z_External(ODR o, Z_External **p, int opt, const char *name) (Odr_fun)z_DateTime, 0}, {ODR_EXPLICIT, ODR_CONTEXT, 0, Z_External_universeReport, (Odr_fun)z_UniverseReport, 0}, +#ifdef ASN_COMPILED + {ODR_EXPLICIT, ODR_CONTEXT, 0, Z_External_ESAdmin, + (Odr_fun)z_Admin, 0}, +#endif {-1, -1, -1, -1, 0, 0} };