/*
- * Copyright (c) 1995-1999, Index Data.
+ * Copyright (c) 1995-2002, Index Data.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
#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
+#define Z_External_update0 20
+#define Z_External_userInfo1 21
+#define Z_External_charSetandLanguageNegotiation 22
+#define Z_External_acfPrompt1 23
+#define Z_External_acfDes1 24
+#define Z_External_acfKrb1 25
union
{
/* Generic types */
Z_DiagnosticFormat *diag1;
Z_Espec1 *espec1;
Z_BriefBib *summary;
+ Z_OPACRecord *opac;
Z_SearchInfoReport *searchResult1;
Z_IUUpdate *update;
Z_DateTime *dateTime;
- Z_UniverseReport *universeReport;
+ Z_UniverseReport *universeReport;
+ Z_Admin *adminService;
+ Z_IU0Update *update0;
+ Z_OtherInformation *userInfo1;
+ Z_CharSetandLanguageNegotiation *charNeg3;
+ Z_PromptObject1 *acfPrompt1;
+ Z_DES_RN_Object *acfDes1;
+ Z_KRBObject *acfKrb1;
} 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