One header always exists and is followed by one or more elements. If data is associated with an element, it may either be included with the element or pointed to by the element. More than one extension may be chained together.
Level should be set to 2.
A structure DBCACNX is defined in the dbcacnx.h file with the above format.
DBCACNX Element Fields when Level is set to 2.
Structures 'D8XCELEM' and ‘D8XCED’ are defined in the dbcacnx.h file with the above format.
The sections that follow describe each of the fields, in alphabetical order.
Data-length is a four-byte unsigned integer field into which the length of the data is placed. If no data is associated with this type, the field is zero.
Data-pointer is a four-byte field into which the pointer to the data is placed. If either there is no data associated with this type or the data is included in the element, the field is zero or null.
Data-type is a two-byte unsigned integer field into which the type of data is placed.
- 1, for Client Userid (mnemonic DBXCEDTU)
- 2, for Client Password (mnemonic DBXCEDTP)
- 3, for Client Domain (mnemonic DBXCEDTD)
Element-length is a two-byte unsigned integer field into which the length of the element is placed.
Element-type is a two-byte unsigned integer field into which the type of element is placed. Currently, there is only one type of element, a data element with a type of 0.
Eyecatcher is a four-byte field into which the ASCII characters 'CNX ' must be placed.
Length is a four-byte unsigned integer field into which the total length of the extension is placed. The length includes the header fields, the fields of all elements, and any in-line data for the elements.
The Level field specifies the format of the extension.
The current level is 2. New development should use only the level 2 form. The level 1 form is deprecated.
Next-pointer is a four-byte (32-bit) or an eight-byte (64-bit) field into which the pointer to the next Connect-extension is placed. If another Connect-extension does not exist, the field is zero or null.