summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Bastien Nocera2009-08-01 15:04:27 +0100
committerGravatar Matt Colyer2009-08-03 08:58:33 -0700
commitd5da1a93f977688d621f3f3650ee0a7a51e2b373 (patch)
tree34bfbb67f40d0f58f900201e88d110124f2009d6 /include
parenteb5d285ed474f0cc20b968e4a5d590a3b35e52a7 (diff)
downloadlibimobiledevice-d5da1a93f977688d621f3f3650ee0a7a51e2b373.tar.gz
libimobiledevice-d5da1a93f977688d621f3f3650ee0a7a51e2b373.tar.bz2
Add afc_get_device_info_field() helper function
For use in front-end applications, also serves to document the available keys.
Diffstat (limited to 'include')
-rw-r--r--include/libiphone/afc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libiphone/afc.h b/include/libiphone/afc.h
index 651621e..77b6f0e 100644
--- a/include/libiphone/afc.h
+++ b/include/libiphone/afc.h
@@ -106,6 +106,9 @@ afc_error_t afc_make_directory(afc_client_t client, const char *dir);
afc_error_t afc_truncate(afc_client_t client, const char *path, off_t newsize);
afc_error_t afc_make_link(afc_client_t client, afc_link_type_t linktype, const char *target, const char *linkname);
+/* Helper functions */
+char * afc_get_device_info_field(afc_client_t client, const char *field);
+
#ifdef __cplusplus
}
#endif