summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-10-02 16:15:20 +0200
committerGravatar Martin Szulecki2014-10-02 16:15:20 +0200
commit3b1e983a519d0b4d820109e953d62bebd181c47c (patch)
treed30dea10a146d9e3ec2e26d89aba43b2767c2f8d
parent0a1672d77890637697dbc6484fcec70ee95b3d10 (diff)
downloadlibimobiledevice-3b1e983a519d0b4d820109e953d62bebd181c47c.tar.gz
libimobiledevice-3b1e983a519d0b4d820109e953d62bebd181c47c.tar.bz2
afc: Add documentation for afc_dictionary_free()
-rw-r--r--include/libimobiledevice/afc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libimobiledevice/afc.h b/include/libimobiledevice/afc.h
index 4b92fa0..667fd63 100644
--- a/include/libimobiledevice/afc.h
+++ b/include/libimobiledevice/afc.h
@@ -353,6 +353,13 @@ afc_error_t afc_set_file_time(afc_client_t client, const char *path, uint64_t mt
*/
afc_error_t afc_get_device_info_key(afc_client_t client, const char *key, char **value);
+/**
+ * Frees up a char dictionary as returned by some AFC functions.
+ *
+ * @param dictionary The char array terminated by an empty string.
+ *
+ * @return AFC_E_SUCCESS on success or an AFC_E_* error value.
+ */
afc_error_t afc_dictionary_free(char **dictionary);
#ifdef __cplusplus