Added startup and shutdown options to admin extended service
authorian <ian>
Thu, 16 Mar 2000 13:30:11 +0000 (13:30 +0000)
committerian <ian>
Thu, 16 Mar 2000 13:30:11 +0000 (13:30 +0000)
z39.50/esadmin.asn
z39.50/zes-admin.c

index 15efff3..655e854 100644 (file)
@@ -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{
index 0f177fe..0e9a8f4 100644 (file)
@@ -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))