X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=z39.50%2Fz.tcl;h=a1dc994afeb86eb07cbe40c69afd508370677b32;hb=929d26653d54a64c12dff06cbb470c22667d79f1;hp=7100253bdbaa7c3e3fd009c5f19a71684e505e74;hpb=c34d71d35aceed27cf7e30e6b329a235b48b9ccd;p=yaz-moved-to-github.git diff --git a/z39.50/z.tcl b/z39.50/z.tcl index 7100253..a1dc994 100644 --- a/z39.50/z.tcl +++ b/z39.50/z.tcl @@ -1,5 +1,5 @@ # YC Sample Config File for Z39.50 -# $Id: z.tcl,v 1.6 2002-02-11 23:25:27 adam Exp $ +# $Id: z.tcl,v 1.8 2002-08-28 19:12:30 adam Exp $ # ---------------------------------------------------------- # Prefix Specifications # @@ -205,7 +205,7 @@ set m RecordSyntax-SUTRS set filename($m) z-sutrs #set map($m,SutrsRecord) SUTRS set body($m,c) { -int z_SUTRS (ODR o, Odr_oct **p, int opt) +int z_SUTRS (ODR o, Odr_oct **p, int opt, const char *name) { return odr_implicit(o, odr_octetstring, p, ODR_UNIVERSAL, ODR_GENERALSTRING, opt); @@ -214,7 +214,7 @@ int z_SUTRS (ODR o, Odr_oct **p, int opt) set init($m,h) { typedef Odr_oct Z_SUTRS; -YAZ_EXPORT int z_SUTRS (ODR o, Odr_oct **p, int opt); +YAZ_EXPORT int z_SUTRS (ODR o, Odr_oct **p, int opt, const char *name); } # ---- set m RecordSyntax-opac @@ -334,7 +334,8 @@ set map($m,TargetPart) ESAdminTargetPart # ---- set m NegotiationRecordDefinition-charSetandLanguageNegotiation-3 set filename($m) z-charneg - +set membermap($m,OriginProposal_0,private) {OriginProposal_0_private zprivate} +set membermap($m,TargetResponse,private) {TargetResponse_private zprivate} # ---------------------------------------------------------- # "Constructed" types defined by means of C-types are declared here. # Each function returns the C-handler and the C-type.