MAPIStore 1.0 backend.properties structure¶
- MAPIStore 1.0 backend.properties structure
- properties.get_available_properties
- properties.get_properties
- properties.set_properties
properties.get_available_properties¶
Similarly to table.get_available_properties, this function returns the set of possible properties that can be set on the specified object. In this case the specified object is generic and it is up to the backend to detect which one it is referring to.
The function takes in parameter:- void *object: generic object which can be folder, message etc.
- TALLOC_CTX *: the memory context to use to allocate the returned set of properties
- struct SPropTagArray **properties: pointer on pointer to the set of properties to return
properties.get_properties¶
This function retrieves the request properties value for the specific generic object. Similarly to properties.get_available_properties, it is up to the backend to detect which object is passed along.
The function takes in parameter:- void *object: generic object to retrieve properties value from
- TALLOC_CTX *: the memory context to use to allocate returned properties data
- uint16_t count: the number of property tags requested
- enum MAPITAGS *: the list of property tags requested
- struct mapistore_property_data *: the set of property data to return (see table.get_row for information on mapistore_property_data)
properties.set_properties¶
This function sets properties on the generic specified object.
The function takes in parameter:- void *object: generic object to set properties on
- struct SRow *aRow: pointer on a SRow structure holding properties to apply