Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

MQeStorageAdapterNew_in_st_ Struct Reference


Detailed Description

New adapter function input structure.

Prototype: new_function_name( MQeStorageAdapterNew_in_ * pInput , MQeStorageAdapterNew_out_ * pOutput);

Required actions: The function pointers to the read(), write(), list(), erase() and free() functions must be set. Any errors must be reported in the error structure

Optional actions: MQe passes to the adapter a string containing a location to be used as a root location for all subsequent read and write operations to the adapter. The adapter should keep this for future reference. The adapter may also create a structure for its own use, by putting a pointer cast to MQEVOID * in the output structure variable pPrivateData - this information is then passed to the adapter in subsequent function calls.


Data Fields

MQEVERSION version
MQeStringHndl hLocation


Field Documentation

MQEVERSION MQeStorageAdapterNew_in_st_::version
 

MQEVERSION containing the version of this structure.

MQeStringHndl MQeStorageAdapterNew_in_st_::hLocation
 

MQeString containing the location to be used as the root for all subsequent read and write calls. The string is held in the format x:\DIR\DIR\etc. This format conforms to a standard PC style directory structure but may need 'mangling' for other platforms.


The documentation for this struct was generated from the following file:
Generated Thu Aug 11 23:27:18 2005 for Websphere MQ Everyplace for Multiplatforms C Programming Reference