ec_message_blobject_get — Retrieve a blobject tag
ec_blobject * **ec_message_blobject_get** ( | msg, | |
| | key
); | |
Retrieve a blobject tag using the key. If the object is found, it adds a reference to it and returns the ec_blobject address to the caller. The caller is responsible for delrefing it when done.
A pointer to an ec_message struct. For documentation of this data structure see “ec_message”.
Identifies the blobject to retrieve.
A pointer to an ec_blobject struct. For documentation of this data structure see “ec_blobject” Returns the address of the blobject if found, or NULL otherwise. If an object is returned, you own a reference to it and must delete the reference when you are finished using it.
It is legal to call this function in any thread.