Copyright (C) 2000-2012 |
GNU Info (gpgme.info)Destroying Data BuffersDestroying Data Buffers ======================= - Function: void gpgme_data_release (GpgmeData DH) The function `gpgme_data_release' destroys the data object with the handle DH. It releases all associated resources that were not provided by the user in the first place. - Function: char * gpgme_data_release_and_get_mem (GpgmeData DH, size_t *LENGTH) The function `gpgme_data_release_and_get_mem' is like `gpgme_data_release', except that it returns the data buffer and its length that was provided by the object. The user has to release the buffer with `free'. In case the user provided the data buffer in non-copy mode, a copy will be made for this purpose. In case an error returns, or there is no suitable data buffer that can be returned to the user, the function will return `NULL'. automatically generated by info2www version 1.2.2.9 |