⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 yaz-asncomp.1

📁 harvest是一个下载html网页得机器人
💻 1
字号:
.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document.  This tool can be found at:.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng <steve@ggi-project.org>..TH "YAZ-ASNCOMP" "1" "04 September 2003" "" "".SH NAMEyaz-asncomp \- YAZ ASN.1 compiler.SH SYNOPSIS\fByaz-asncomp\fR [ \fB-v\fR]  [ \fB-c \fIcfile\fB\fR]  [ \fB-h \fIhfile\fB\fR]  [ \fB-p \fIpfile\fB\fR]  [ \fB-d \fIconfig\fB\fR]  [ \fB-I \fIincludeout\fB\fR]  [ \fB-i \fIincludedir\fB\fR]  [ \fB-m \fImodule\fB\fR]  [ \fBfilename\fR] .SH "DESCRIPTION".PP\fByaz-asncomp\fR is an ASN.1 compiler thatreads an ASN.1 specification in \fIfilename\fRand produces C/C++ definitions and BER encoders/decoders for it..PPThe produced C/C++ code and header files uses the ODR module of YAZwhich is a library that encodes/decodes/prints BER packages.\fByaz-asncomp\fR allows you to specify name ofresulting source via options. Alternatively, you can specifya DEFINISIONS file, which provides customized output tomany output files - if the ASN.1 specification file consistsof many modules..PPThis utility is written in Tcl. Any version of Tcl should work..SH "OPTIONS".TP\fB-v  \fRMakes the ASN.1 compiler print more verbose about thevarious stages of operations. .TP\fB-c  \fIcfile\fB\fRSpecifies the name of the C/C++ file with encoders/decoders..TP\fB-h  \fIhfile\fB\fRSpecifies the name of header file with definitions..TP\fB-p  \fIpfile\fB\fRSpecifies the name of the a private header file withdefinitions. By default all definitions are putin header file (option -h)..TP\fB-d  \fIdfile\fB\fRSpecifies the name of a definitions file..TP\fB-I  \fIiout\fB\fRSpecifies first part of directory in which header filesare written..TP\fB-i  \fIidir\fB\fRSpecifies second part of directory in which header filesare written..TP\fB-m  \fImodule\fB\fRSpecifies that ASN.1 compiler should only process themodule given. If this option is not specified,all modules in the ASN.1 file are processed..SH "DEFINITIONS FILE".PPThe definitions file is really a Tcl script but followstraditional rules for Shell like configuration files.That is # denotes the beginning of a comment. Definitionsare line oriented. The definitions files usually consists ofa series of variable assignments of the form:.PPset \fIname\fR \fIvalue\fR.PPAvailable variables are:.TP\fBdefault-prefix\fRSets prefix for names in the produced output.The value consists of three tokens: C function prefix,C typedef prefix and preprocessor prefix respectively..TP\fBprefix(\fImodule\fB)\fRThis value sets prefix values for module\fImodule\fR.The value has same form as default-prefix..TP\fBfilename(\fImodule\fB)\fRSpecifies filename for C/header file for module\fImodule\fR..TP\fBinit(\fImodule\fB,h)\fRCode fragment to be put in first part of public header for module \fImodule\fR..TP\fBbody(\fImodule\fB,h)\fRCode fragment to be put in last part of public header for module \fImodule\fR (trailer)..TP\fBinit(\fImodule\fB,c)\fRCode fragment to be put in first part of C based encoder/decoder formodule \fImodule\fR..TP\fBbody(\fImodule\fB,c)\fRCode fragment to be put in last part of C based encoder/decoder formodule \fImodule\fR (trailer)..TP\fBmap(\fImodule\fB,\fIname\fB)\fRMaps ASN.1 type in module \fImodule\fR of \fIname\fR to value..TP\fBmembermap(\fImodule\fB,\fIname\fB,\fImember\fB)\fRMaps member \fImember\fR in SEQUENCE/CHOICE of\fIname\fR in module\fImodule\fR to value.The value consists of one or two tokens.First token is name of C preprocessor part. Second tokenis resulting C member name. If second token is omittedthe value (one token) is both preprocessor part andC struct,union..TP\fBunionmap(\fImodule\fB,\fIname\fB,\fImember\fB)\fRMaps member \fImember\fR in CHOICE of\fIname\fR in module\fImodule\fR to value.Value consists of to or three tokens. The first tokenis name of the integer in the union thatis used as selector for the union itself.The second token is name of the union.The third token overrides the name of the CHOICE member;if omitted the member name is used..SH "FILES".PP\fI/usr/share/yaz/z39.50/z.tcl\fR.PP\fI/usr/share/yaz/z39.50/*.asn\fR.SH "SEE ALSO".PP\fByaz\fR(7).PPSection "The ODR Module" in the YAZ manual.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -