From 9e92c884f129f66b829fdb3069b09e669fc7aa56 Mon Sep 17 00:00:00 2001 From: ian Date: Thu, 16 Mar 2000 13:30:11 +0000 Subject: [PATCH] Added startup and shutdown options to admin extended service --- z39.50/esadmin.asn | 4 +++- z39.50/zes-admin.c | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/z39.50/esadmin.asn b/z39.50/esadmin.asn index 15efff3..655e854 100644 --- a/z39.50/esadmin.asn +++ b/z39.50/esadmin.asn @@ -22,7 +22,9 @@ action [1] CHOICE{ import [5] ImportParameters, refresh [6] NULL, -- Review internal representation of records against source files on disk to -- see if they have been updated. - commit [7] NULL}, + commit [7] NULL, + shutdown [8] NULL, + start [9] NULL}, databaseName [2] IMPLICIT InternationalString OPTIONAL} OriginPartNotToKeep ::= CHOICE{ diff --git a/z39.50/zes-admin.c b/z39.50/zes-admin.c index 0f177fe..0e9a8f4 100644 --- a/z39.50/zes-admin.c +++ b/z39.50/zes-admin.c @@ -61,6 +61,10 @@ int z_ESAdminOriginPartToKeep (ODR o, Z_ESAdminOriginPartToKeep **p, int opt, co (Odr_fun) odr_null, "refresh"}, {ODR_EXPLICIT, ODR_CONTEXT, 7, Z_ESAdminOriginPartToKeep_commit, (Odr_fun) odr_null, "commit"}, + {ODR_EXPLICIT, ODR_CONTEXT, 8, Z_ESAdminOriginPartToKeep_shutdown, + (Odr_fun) odr_null, "shutdown"}, + {ODR_EXPLICIT, ODR_CONTEXT, 9, Z_ESAdminOriginPartToKeep_start, + (Odr_fun) odr_null, "start"}, {-1, -1, -1, -1, (Odr_fun) 0, 0} }; if (!odr_sequence_begin (o, p, sizeof(**p), name)) -- 1.7.10.4