-## $Id: Makefile.am,v 1.7 2000-03-01 11:06:09 adam Exp $
+## $Id: Makefile.am,v 1.8 2000-03-14 09:19:49 ian Exp $
pkginclude_HEADERS= backend.h ccl.h comstack.h \
d1_attset.h d1_map.h data1.h diagbib1.h \
ill.h ill-core.h item-req.h z-accdes1.h z-accform1.h \
z-acckrb1.h z-core.h z-date.h z-diag1.h z-espec1.h z-estask.h z-exp.h \
z-grs.h z-opac.h z-proto.h z-rrf1.h z-rrf2.h z-sum.h z-sutrs.h z-uifr1.h \
- z-univ.h zes-expi.h zes-exps.h zes-order.h zes-pquery.h zes-psched.h \
+ z-univ.h zes-expi.h zes-exps.h zes-order.h zes-pquery.h zes-psched.h zes-admin.h \
\
zes-pset.h zes-update.h zes-update0.h \
prt-acc.h prt-add.h prt-arc.h prt-dat.h prt-dia.h prt-esp.h \
SUBDIRS_VAR = @SUBDIRS_VAR@
VERSION = @VERSION@
-pkginclude_HEADERS = backend.h ccl.h comstack.h d1_attset.h d1_map.h data1.h diagbib1.h log.h logrpn.h marcdisp.h nmem.h odr.h oid.h options.h otherinfo.h pquery.h prt-ext.h readconf.h statserv.h tcpip.h tpath.h wrbuf.h xmalloc.h yaz-ccl.h yaz-util.h yaz-version.h yconfig.h proto.h ill.h ill-core.h item-req.h z-accdes1.h z-accform1.h z-acckrb1.h z-core.h z-date.h z-diag1.h z-espec1.h z-estask.h z-exp.h z-grs.h z-opac.h z-proto.h z-rrf1.h z-rrf2.h z-sum.h z-sutrs.h z-uifr1.h z-univ.h zes-expi.h zes-exps.h zes-order.h zes-pquery.h zes-psched.h zes-pset.h zes-update.h zes-update0.h prt-acc.h prt-add.h prt-arc.h prt-dat.h prt-dia.h prt-esp.h prt-exd.h prt-exp.h prt-grs.h prt-proto.h prt-rsc.h prt-univ.h
+pkginclude_HEADERS = backend.h ccl.h comstack.h d1_attset.h d1_map.h data1.h diagbib1.h log.h logrpn.h marcdisp.h nmem.h odr.h oid.h options.h otherinfo.h pquery.h prt-ext.h readconf.h statserv.h tcpip.h tpath.h wrbuf.h xmalloc.h yaz-ccl.h yaz-util.h yaz-version.h yconfig.h proto.h ill.h ill-core.h item-req.h z-accdes1.h z-accform1.h z-acckrb1.h z-core.h z-date.h z-diag1.h z-espec1.h z-estask.h z-exp.h z-grs.h z-opac.h z-proto.h z-rrf1.h z-rrf2.h z-sum.h z-sutrs.h z-uifr1.h z-univ.h zes-expi.h zes-exps.h zes-order.h zes-pquery.h zes-psched.h zes-admin.h zes-pset.h zes-update.h zes-update0.h prt-acc.h prt-add.h prt-arc.h prt-dat.h prt-dia.h prt-esp.h prt-exd.h prt-exp.h prt-grs.h prt-proto.h prt-rsc.h prt-univ.h
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
- cp -pr $$/$$file $(distdir)/$$file; \
+ cp -pr $$d/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: z-proto.h,v $
- * Revision 1.3 2000-02-28 11:20:06 adam
+ * Revision 1.4 2000-03-14 09:19:49 ian
+ * Added admin extended service encoders & decoders.
+ *
+ * Revision 1.3 2000/02/28 11:20:06 adam
* Using autoconf. New definitions: YAZ_BEGIN_CDECL/YAZ_END_CDECL.
*
* Revision 1.2 1999/12/16 23:36:19 adam
#include <yaz/zes-psched.h>
#include <yaz/zes-pset.h>
#include <yaz/zes-update.h>
+#include <yaz/zes-admin.h>
#include <yaz/z-date.h>
#include <yaz/z-univ.h>
--- /dev/null
+/* Generated automatically by the YAZ ASN.1 Compiler 0.3 */
+/* Module-H ESFormat-Admin */
+
+#ifndef zes_admin_H
+#define zes_admin_H
+
+#include <yaz/odr.h>
+#include <yaz/z-core.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct Z_AdminEsRequest Z_AdminEsRequest;
+YAZ_EXPORT int z_AdminEsRequest (ODR o, Z_AdminEsRequest **p, int opt, const char *name);
+
+typedef struct Z_AdminTaskPackage Z_AdminTaskPackage;
+YAZ_EXPORT int z_AdminTaskPackage (ODR o, Z_AdminTaskPackage **p, int opt, const char *name);
+
+typedef struct Z_Admin Z_Admin;
+YAZ_EXPORT int z_Admin (ODR o, Z_Admin **p, int opt, const char *name);
+
+typedef struct Z_ESAdminOriginPartToKeep Z_ESAdminOriginPartToKeep;
+YAZ_EXPORT int z_ESAdminOriginPartToKeep (ODR o, Z_ESAdminOriginPartToKeep **p, int opt, const char *name);
+
+typedef struct Z_ESAdminOriginPartNotToKeep Z_ESAdminOriginPartNotToKeep;
+YAZ_EXPORT int z_ESAdminOriginPartNotToKeep (ODR o, Z_ESAdminOriginPartNotToKeep **p, int opt, const char *name);
+
+typedef struct Z_ESAdminTargetPart Z_ESAdminTargetPart;
+YAZ_EXPORT int z_ESAdminTargetPart (ODR o, Z_ESAdminTargetPart **p, int opt, const char *name);
+
+typedef struct Z_ImportParameters Z_ImportParameters;
+YAZ_EXPORT int z_ImportParameters (ODR o, Z_ImportParameters **p, int opt, const char *name);
+#ifdef __cplusplus
+}
+#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+struct Z_AdminEsRequest {
+ Z_ESAdminOriginPartToKeep *toKeep;
+ Z_ESAdminOriginPartNotToKeep *notToKeep;
+};
+
+struct Z_AdminTaskPackage {
+ Z_ESAdminOriginPartToKeep *originPart;
+ Z_ESAdminTargetPart *targetPart;
+};
+
+struct Z_Admin {
+ int which;
+ union {
+ Z_AdminEsRequest *esRequest;
+ Z_AdminTaskPackage *taskPackage;
+#define Z_Admin_esRequest 1
+#define Z_Admin_taskPackage 2
+ } u;
+};
+
+struct Z_ESAdminOriginPartToKeep {
+ int which;
+ union {
+ Odr_null *reIndex;
+ Odr_null *truncate;
+ Odr_null *delete;
+ Odr_null *create;
+ Z_ImportParameters *import;
+ Odr_null *refresh;
+ Odr_null *commit;
+#define Z_ESAdminOriginPartToKeep_reIndex 1
+#define Z_ESAdminOriginPartToKeep_truncate 2
+#define Z_ESAdminOriginPartToKeep_delete 3
+#define Z_ESAdminOriginPartToKeep_create 4
+#define Z_ESAdminOriginPartToKeep_import 5
+#define Z_ESAdminOriginPartToKeep_refresh 6
+#define Z_ESAdminOriginPartToKeep_commit 7
+ } u;
+ Z_InternationalString *databaseName; /* OPT */
+};
+
+struct Z_ESAdminOriginPartNotToKeep {
+ int which;
+ union {
+ Z_Segment *records;
+ Odr_null *recordsWillFollow;
+#define Z_ESAdminOriginPartNotToKeep_records 1
+#define Z_ESAdminOriginPartNotToKeep_recordsWillFollow 2
+ } u;
+};
+
+struct Z_ESAdminTargetPart {
+#define Z_ESAdminTargetPart_success 1
+#define Z_ESAdminTargetPart_partial 2
+#define Z_ESAdminTargetPart_failure 3
+ int *updateStatus;
+ int num_globalDiagnostics;
+ Z_DiagRec **globalDiagnostics; /* OPT */
+};
+
+struct Z_ImportParameters {
+ Z_InternationalString *recordType;
+};
+
+#ifdef __cplusplus
+}
+#endif
+#endif