ANSI INCITS ISO IEC 14365-1996 Information technology - MHS-based electronic messaging C language interfaces - Binding for Application Program Interface (API) (Adopted by INCITS).pdf
《ANSI INCITS ISO IEC 14365-1996 Information technology - MHS-based electronic messaging C language interfaces - Binding for Application Program Interface (API) (Adopted by INCITS).pdf》由会员分享,可在线阅读,更多相关《ANSI INCITS ISO IEC 14365-1996 Information technology - MHS-based electronic messaging C language interfaces - Binding for Application Program Interface (API) (Adopted by INCITS).pdf(60页珍藏版)》请在麦多课文档分享上搜索。
1、INTERNATIONAL STANDARD ISO/IEC 14365 First edition 1996-06-o 1 Information technology - MHS-based electronic messaging C language interfaces - Binding for Application Program Interface (API) Technologies de /information - Interfaces de langage C en messagerie klectronique ba Telephone: +1202 371-010
2、1; FAX: +1202 728-9614. Introduction vii INTERNATIONAL STANDARD OISO/IEC ISO/IEC 14365:1996(E) 1 Information technology-MHS-based 2 electronic messaging C language 3 interfaces-Binding for Application Program 4 Interface (API) Section 1: General 6 7 This International Standard defines an ISO/IEC 998
3、9 I C language binding to 8 the language-independent API defined in ISO/IEC 14361 I3l.l It is intended to 9 support application portability at the source-code level and to be used by applica- 10 tion developers, system implementors, test method writers, and users. 11 12 13 14 15 1.2 Normative Refere
4、nces 16 The following standards contain provisions which, through reference in this text, 17 constitute provisions of this International Standard. At the time of publication, 18 the editions indicated were valid. All standards are subject to revision, and parties 19 to agreements based on this Inter
5、national Standard are encouraged to investigate 20 the possibility of applying the most recent editions of the standards indicated 1.1 Scope The interface is oriented towards the needs of gateways and applications that require full access to the features of the protocols. NOTE: There are industry-st
6、andard and proprietary AFIs that can be used by simple applications that only require the main features of the protocols. 21 1) The numbers in curly brackets correspond to those of the normative references in 1.2. 1.2 Normative References 1 22 Iso/IEC 14365:1996(E) OISO/IEC below. Members of IEC and
7、 IS0 maintain registers of currently valid Interna- tional Standards. 23 24 25 26 27 28 29 30 31 32 33 34 ISO/IEC 9989: 19902), Programming languages-C. ISO/IEC 14360: 1996, Information technology-Open Systems Interconnec- tion (OSI) abstract data manipulation-Application Program Interface (API) Lan
8、guage independent. ISO/IEC 14361: 1996, I f n ormation technology-MHS-based electronic messaging-Application Program Interface (API) Language independent. ISOIIEC 14363: 1996, Information technology-Test methods for measuring conformance to MHS-based electronic messaging-Application Program Interfac
9、e (API Language independent. ISOIIEC 14367: 1996, Information technology-Test methods for measuring conformance to MHS-based electronic messaging C language interfaces-Binding for Application Program Interface (API). 35 1.3 Conformance 36 1.3.1 Implementation Conformance 37 1.3.1.1 Requirements 38 A
10、 conforming implementation for this International Standard shall be a conform- 39 ing implementation, as defined in ISO/IEC 14361 3, for the programming 40 language binding specification that is contained in this International Standard. 41 1.3.1.2 Documentation 42 43 44 45 46 47 48 49 50 A conforman
11、ce document shall be available for an implementation claiming confor- mance to this International Standard. It shall satisfy the requirements that are defined in ISO/IEC 14361 3) for a conformance document for a programming language binding specification. The phrases “shall document” or “shall be do
12、cumented” in this International Stan- dard mean that documentation of the feature shall appear in the conformance document, unless the system documentation is explicitly mentioned. The system documentation should also contain the information found in the confor- mance document. 51 2) ISO/IEC documen
13、ts can be obtained from the IS0 Central Secretariat, 1 Rue de VarembB, Case 52 Postale 56, CH-1211, Gen 10 OM-boolean activated; 11 1 MH-feature; 12 13 14 15 16 3.2.2 Interval 17 18 19 20 21 Section 3: Message Handling Interfaces 3.1 Introduction This section defines the C language binding to the me
14、ssage handling interfaces in ISOAEC 14361 (3). 3.2.1.2 Description This single datatype, used for negotiating the features of a session, corresponds to both the mh-feature_listJype and mh-activated-list-type datatypes defined in ISO/IEC 14361 3. 3.2.2.1 C Declaration typedef OM-uint32 MH-interval; 3
15、.2.2.2 Description This datatype, used to denote an interval of time in milliseconds, corresponds to the mh-feature-type datatype defined in ISO/lEC 14361 (3). 3.2 Datatypes 9 ISO/DX! 14365:1996(E) OISOKIEC 3.2.3 Object Count 22 3.2.3.1 C Declaration 23 typedef OM-uint32 MH-object-count; 24 3.2.3.2
16、Description 25 This datatype, an integer that denotes a number of objects, corresponds to the mh- 26 object-count-type datatype defined in ISOLIEC 14361 (31. 27 3.2.4 Sequence Number 28 3.2.4.1 C Declaration 29 typedef OM-uint32 MH-sequence-number; 30 3.2.4.2 Description 31 This datatype, used to de
17、note the sequence number of an object in a retrieval 32 queue, corresponds to the mh-sequence-number-type datatype defined in ISO/IEC 33 14361 (3). 34 3.3 Access Functions 35 The C language functions defined in this section correspond directly to the 36 language-independent operations of ISOLIEC 143
18、61 (3). They are therefore not 37 described further in this International Standard, except where there is some 38 feature of the C language binding that is not present in the language-independent 39 specification. 40 41 42 OM-return-code 43 ma-cancel-submission ( 44 OM_private-object 45 OM-object 46
19、 1; 47 48 This function, used to cancel a submitted message with the deferred delivery 49 option, corresponds to the ma-cancel-submission operation defined in ISOAEC 50 14361 3. 3.3.1 Cancel Submission 3.3.1.1 C Declaration session, mts-identifier 3.3.1.2 Description 10 3 Message Handling Interfaces
20、 OISOLIEC ISO/IEX 14366:1996(E) 51 OMPOINTERINVALIDl 52 3.3.2 Close 53 3.3.2.1 C Declaration 54 OM-return-code 55 ma-close ( 56 OMqrivate-object 57 1; 58 3.3.2.2 Description 59 This function, used to terminate an MA session between the client and the service, 60 corresponds to the ma-close operation
21、 defined in ISO/IEC 1436113). 61 3.3.2.3 Errors 62 OMPOINTER.JNVALIDl 63 3.3.3 Finish Delivery 64 3.3.3.1 C Declaration 65 OM-return-code 66 ma-finish-delivery ( 67 OMqrivate-object 68 OM-object 69 OM-object 70 1; 71 3.3.3.2 Description 72 This function, used to conclude the delivery in progress in
22、a session, corresponds to 73 the ma-finish-delivery operation defined in ISO/IEC 14361 13). 74 75 76 77 78 79 80 3.3.1.3 Errors session session, delivery-confirmations, non-delivery-reports 3.3.3.3 Arguments delivery-confirmations When the argument delivery-confirmations is omitted, its absence is s
23、ignaled by the null pointer. non-delivery-reports When the argument non-delivery-reports is omitted, its absence is signaled by the null pointer. 3.3 Access Functions 11 ISO/IEC 14365:1996(E) OISO/IEC 81 OMPOINTERINVALID 82 83 84 OM-return-code 85 ma-finish-retrieval ( 86 OMqrivate-object 87 OM-bool
24、ean 88 ); 89 3.3.4.2 Description 90 This function, used to conclude the retrieval in progress in a session, corresponds to 91 the ma-finish-retrieval operation defined in ISO/IEC 14361 13). 92 3.3.4.3 Errors 93 OMPOINTERINVALIDl 94 95 96 OM-return-code 97 ma-open ( 98 OM_public-object 99 OM-string 1
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ANSIINCITSISOIEC143651996INFORMATIONTECHNOLOGYMHSBASEDELECTRONICMESSAGINGCLANGUAGEINTERFACESBINDINGFORAPPLICATIONPROGRAMINTERFACEAPIADOPTEDBYINCITSPDF

链接地址:http://www.mydoc123.com/p-436130.html