From d5da1a93f977688d621f3f3650ee0a7a51e2b373 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Sat, 1 Aug 2009 15:04:27 +0100 Subject: Add afc_get_device_info_field() helper function For use in front-end applications, also serves to document the available keys. --- include/libiphone/afc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 -- cgit v1.1-32-gdbae