GEOS SDK TechDocs
|
|
|
3 Mailbox Structures & Utilities
|
5 Data Drivers
An application is largely insulated from the details of transmitting a message. It needs merely to write the message's data in a format which the chosen data driver can understand; the data driver will then translate this into an appropriate format for transmission.
GEOS provides two data drivers. These drivers use the data transport formats "File Data" and "VM tree data". Each data-format type provided by GEOS is built on top of one of these formats.
There are a few concerns in common to each data driver.
Every data driver will have its own format for accepting the data. In each case, the data driver is passed a pointer to a "data block" which tells it where the rest of the message is. Thus, every data driver is called in the same way: it is passed a single far pointer to some data block. How that data block stores the location of the message will vary from one data storage format to another.
GEOS will almost certainly define the following different data format types. An application should, if possible, support as many of these data types as is feasible. Each format is uniquely identified by a member of the
GeoworksMailboxDataFormatID
enumerated type. (The following sections will be expanded when the Inbox/Outbox suite is completed.)
GEOS SDK TechDocs
|
|
|
3 Mailbox Structures & Utilities
|
5 Data Drivers