2.3.1 EntryList Structure
An EntryList structure specifies a set of data used in search folder criteria to serialize a list of EntryID structures. EntryList structures contain three parts:
The count of entries in the list
COUNT structures (section 2.11.1.1) giving the length of individual entries
Data for each of the individual entries
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EntryCount |
|||||||||||||||||||||||||||||||
Pad |
|||||||||||||||||||||||||||||||
EntryLength (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
EntryIDs (variable) |
|||||||||||||||||||||||||||||||
... |
EntryCount (4 bytes): An unsigned integer giving the number of EntryID structures in the list. It MUST be followed by that many EntryLength and that many EntryID structures.
Pad (4 bytes): This field can be any value; clients and servers MUST ignore the value.
EntryLength (variable): A series of EntryCount field pairs: an unsigned integer giving the size of one EntryID field, followed by 4-byte pad that can have any value.
EntryIDs (variable): A series of EntryID fields. The number of EntryID fields is specified by the EntryCount field. The length of the first EntryID field is specified by the first 32 bits of the first element of the EntryID field is specified by the first 32 bits of the second element of the EntryLength field.