ANSI INCITS ISO IEC 14367-1996 Information technology - Test methods for measuring conformance to MHS-based electronic messaging C language interfaces - Binding for Application Pro.pdf
《ANSI INCITS ISO IEC 14367-1996 Information technology - Test methods for measuring conformance to MHS-based electronic messaging C language interfaces - Binding for Application Pro.pdf》由会员分享,可在线阅读,更多相关《ANSI INCITS ISO IEC 14367-1996 Information technology - Test methods for measuring conformance to MHS-based electronic messaging C language interfaces - Binding for Application Pro.pdf(64页珍藏版)》请在麦多课文档分享上搜索。
1、INTERNATIONAL STANDARD ISO/IEC 14367 First edition 1996-06-01 Information technology - Test methods for measuring conformance to MHS-based electronic messaging C language interfaces - Binding for Application Program Interface (API) Technologies de /information - MBthodes dessai pour mesurer la confo
2、rmit aux interfaces de langage C en messagerie 4ectronique bas FAX: +1202 728-9614. . . . Vlll Introduction INTERNATIONAL STANDARD OISO/IEC ISO/IEC 14367:1996(E) 1 Information technology-Test methods for 2 measuring conformance to MHS-based 3 electronic messaging C language 4 interfaces-Binding for
3、Application Program 5 Interface (API) 6 7 8 This International Standard defines requirements for test methods for measuring 9 conformance to ISO/IEC 14365 (5). 10 ISO/IEC 14365 (5 contains a programming language binding specification for 11 ISO/IEC 14361 (3), using the C programming language. ISO/IE
4、C 14363 (4) con- 12 tains language-independent requirements for test methods for measuring confor- 13 mance to programming language binding specifications for ISO/IEC 14361 (3), 14 such as that contained in IEEE Std ISOAEC 14365 (5). This International Stan- 15 dard contains C language specific requ
5、irements for the test methods. Taken in 16 conjunction with the requirements imposed by ISOLIEC 14363 (4), they constitute 17 the requirements that shall be satisfied by test methods used for measuring confor- 18 mance to ISO/IEC 14365 (5j. Section 1: General 1.1 Scope 1.1 Scope 1 19 The following s
6、tandards contain provisions which, through reference in this text, 20 constitute provisions of this International Standard. At the time of publication, 21 the editions indicated were valid. AI1 standards are subject to revision, and parties 22 to agreements based on this International Standard are e
7、ncouraged to investigate 23 the possibility of applying the most recent editions of the standards indicated 24 below. Members of IEC and IS0 maintain registers of currently valid Interna- 25 tional Standards. 26 ISOIIEC 9899: 1990,” Programming languages-C. 27 28 29 ISO/IEC 14360: 1996, Information
8、technology-Open Systems Interconnec- tion (022.) abstract data manipulation-Application Program Interface (API) Language independent. 30 31 ISO/IEC 14361: 1996, I f n ormation technology-MHS-based electronic messaging-Application Program Interface (API) Language independent. 32 33 34 ISOIIEC 14363:
9、1996, Information technology-Test methods for measuring conformance to MHS-based electronic messaging-Application Program Interface (API.) Language independent. 35 36 37 ISOIIEC 14365: 1996, Information technology-MHS-based electronic mes- saging C language interfaces-Binding for Application Program
10、 Interface (API). 38 39 IEEE Std 1003.3-1991,2 IEEE Standard for Information Technology-Test Methods for Measuring Conformance to POSIX. ISO/IEC 14367:1996(E) OISO/IEC 1.2 Normative References 40 1.3 Conformance 41 A set of test methods that conforms to this International Standard shall conform to 4
11、2 IEEE Std 1003.3-1991 (61, with references to the “P0SIX.n test method 43 specification” being interpreted as references to this International Standard, and 44 references to “the POSIX standard for which conformance is being measured” being 45 interpreted as references to ISO/IEC 14365 5). 46 1) IS
12、O/IEC documents can be obtained from the IS0 Central Secretariat, 1 Rue de Varembb, Case 47 Postale 56, CH-1211, Gen OM-boolean activated; MI-I-feature; 5.2.2 Interval 5.2.2.1 Synopsis 13 R02 The type MH-interval is declared as follows: 14 typedef OM-uint32 MI-I-interval; 5.2 Datatypes 11 ISO/JEC 14
13、367:1996(E) OISO/IEC 5.2.3 Object Count 15 5.2.3.1 Synopsis 16 17 R03 The type MH-object-count is declared as follows: typedef OM-uint32 MH-object-count; 18 5.2.4 Sequence Number 19 5.2.4.1 Synopsis 20 R04 The type MH-sequence-number is declared as follows: 21 typedef OM-uint32 MH-sequence-number; 2
14、2 5.3 Access Functions 23 5.3.1 Cancel Submission 24 25 26 27 R05 If the Submission FU is supported: When the header file is included, then the function ma-cancel-submission 0 is declared as follows: 28 OM-return-code 29 ma-cancel-submission ( 30 OMqrivate-object session, 31 OM-object mts-identifier
15、 32 1; 5.3.1.1 Synopsis 12 5 Test Methods for MessageHandling Interfaces OISOLIEC ISOLIEC 14367:1996(E) 5.3.1.2 Results 33 001(D) If the Submission FU is supported: 34 When macanceZsubmission ( ) is called and an invalid pointer 35 was supplied as a function argument or as the receptacle for a 36 fu
16、nction result and no other error condition applies, 37 then it will return either OM-SUCCESS or the 38 OMPOINTERINVALID return code. (See GAO1 in 5.5.) 39 5.3.2 Close 40 5.3.2.1 Synopsis 41 42 43 44 OM-return-code 45 ma-close ( 46 OM_private-object session 47 1; R06 If the Basic Access FU is support
17、ed: When the header file is included, then the function ma-close ( is declared as follows: 48 5.3.2.2 Results 49 002(D) If the Basic Access FU is supported: 50 When ma-close ( is called and an invalid pointer was supplied 51 as a function argument or as the receptacle for a function result 52 and no
18、 other error condition applies, then it will return either - 53 OM-SUCCESS or the OM-POINTER-INVALID return code 54 (See GAO1 in 5.5). 5.3 Access Functions 13 55 ISOKEC 14367:1996(E) OISO/IEC 5.3.3 Finish Delivery0 5.3.3.1 Synopsis 56 57 58 R07 If the Delivery FU is supported: When the header file i
19、s included, then the function mufinish-delivery ( is declared as follows: 59 OM-return-code 60 ma-finish-delivery ( 61 OM_private-object session, 62 OM-object delivery-confirmations, 63 OM-object non-delivery-reports 64 1; 65 5.3.3.2 Description 66 003(C) If the Delivery FU is supported: 67 When mu-
20、finish-deZivery(,deZiveryconfirmutions,) is called and 68 completes successfully, then the absence of 69 delivery-confirmations is signaled by the null pointer. 70 004(C) If the Delivery FU is supported: 71 When mu-finish-deZivery(,non-delivery-reports) is called and 72 completes successfully, then
21、the absence of 73 non-delivery-reports is signaled by the null pointer. 74 5.3.3.3 Results 75 005(D) If the Delivery FU is supported: 76 When mu-finish-delivery () is called and an invalid pointer was 77 supplied as a function argument or as the receptacle for a func- 78 tion result and no other err
22、or condition applies, 79 then it will return either OM-SUCCESS or the 80 OM-POINTER-INVALID return code. (See GAO1 in 5.5.) 14 5 Test Methods for Message Handling Interfaces 81 OISO/IEC ISO/IEC 14367:1996(E) 5.3.4 Finish Retrieval0 5.3.4.1 Synopsis 82 83 84 R08 Ifthe Retrieval FU is supported: When
23、the header file is included, then the function mufinish-retrievuZ( is declared as follows: 85 OM-return-code 86 ma-finish-retrieval ( 87 OM_private-object session, 88 OM-boolean remove 89 1; 90 5.3.4.2 Results 91 006(D) If the Retrieval FU is supported: 92 When mufinish-retrieval0 is called and an i
24、nvalid pointer 93 was supplied as a function argument or as the receptacle for a 94 function result and no other error condition applies, 95 then it will return either OM-SUCCESS or the 96 OMPOINTERINVALID return code. (See GAO1 in 5.5.) 97 5.3.5 Open0 98 5.3.5.1 Synopsis 99 100 101 102 OM-return-co
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ANSIINCITSISOIEC143671996INFORMATIONTECHNOLOGYTESTMETHODSFORMEASURINGCONFORMANCETOMHSBASEDELECTRONICMESSAGINGCLANGUAGEINTERFACESBINDINGFORAPPLICATIONPROPDF

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