projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ee171c3
)
Added startup and shutdown options to admin extended service
author
ian
<ian>
Thu, 16 Mar 2000 13:30:11 +0000
(13:30 +0000)
committer
ian
<ian>
Thu, 16 Mar 2000 13:30:11 +0000
(13:30 +0000)
z39.50/esadmin.asn
patch
|
blob
|
history
z39.50/zes-admin.c
patch
|
blob
|
history
diff --git
a/z39.50/esadmin.asn
b/z39.50/esadmin.asn
index
15efff3
..
655e854
100644
(file)
--- 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.
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{
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
(file)
--- 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_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, -1, -1, -1, (Odr_fun) 0, 0}
};
if (!odr_sequence_begin (o, p, sizeof(**p), name))