OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-c-cpp message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [sca-c-cpp] NEW ISSUE: Minor C API changes



This issue has been assigned id CCPP-91 in the Jira system
See http://www.osoa.org/jira/browse/CCPP-91

Andrew

____________________________________________________________

Andrew Borley
Websphere ESB Development
Tel: 245393 Ext: +44 (0) 1962 815393 Mob: +44 (0) 7971 805547
E-mail: borley@uk.ibm.com
Mailpoint 211, IBM (UK) Ltd, Hursley Park, Winchester, Hants, SO21 2JN
____________________________________________________________



From: Bryan Aupperle <aupperle@us.ibm.com>
To: sca-c-cpp@lists.oasis-open.org
Date: 28/07/2009 21:21
Subject: [sca-c-cpp] NEW ISSUE: Minor C API changes






Target: C C&I Specification (CD03 Rev 2)


Description:

While working on the test cases for the C API, I noticed an error and some signatures that could be improved.  Specifically


void SCAPropertyStruct(wchar_t *propertyName,

                          void **value,                                                  <- should be a single level pointer:  void *value

                          int *compCode,

                          int *reason);


void SCAGetReplyMessage(SCAREF token,

                       int *bufferLen,

                       char *buffer,                                                    <- should be a void *

                       int *compCode,

                       int *reason);


void SCAGetFaultMessage(SCAREF token,

                       int *bufferLen,

                       wchar_t **faultName,

                       char *buffer,                                                    <- should be a void *

                       int *compCode,

                       int *reason);


void SCASetFaultMessage(wchar_t *serviceName,

                       wchar_t *operationName,

                       wchar_t *faultName,

                       int bufferLen,

                       char *buffer,                                                    <- should be a void *

                       int *compCode,

                       int *reason);


Proposal:

See above


Bryan Aupperle, Ph.D.
STSM, WebSphere Enterprise Platform Software Solution Architect

Research Triangle Park,  NC
+1 919-254-7508 (T/L 444-7508)
Internet Address: aupperle@us.ibm.com








Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU








[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]