#include <yaz/yconfig.h>
#include <yaz/oid.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+
+YAZ_BEGIN_CDECL
/*
* Used to keep track of known External definitions (a loose approach
#define Z_External_update 16
#define Z_External_dateTime 17
#define Z_External_universeReport 18
+#define Z_External_ESAdmin 19
union
{
/* Generic types */
Z_SearchInfoReport *searchResult1;
Z_IUUpdate *update;
Z_DateTime *dateTime;
- Z_UniverseReport *universeReport;
+ Z_UniverseReport *universeReport;
+#ifdef ASN_COMPILED
+ Z_Admin *adminService;
+#endif
} u;
};
+
YAZ_EXPORT int z_External(ODR o, Z_External **p, int opt, const char *name);
YAZ_EXPORT Z_ext_typeent *z_ext_getentbyref(oid_value val);
YAZ_EXPORT Z_External *z_ext_record(ODR o, int format, const char *buf,
int len);
-#ifdef __cplusplus
-}
-#endif
+YAZ_END_CDECL
#endif