summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christophe Fergeau2008-08-10 23:18:28 +0200
committerGravatar Matt Colyer2008-08-11 09:37:49 -0700
commit323459826aeea8b88872e14af9839a0912a80503 (patch)
tree23ca98bede4326ade3c1b92ffd5491bd6c7c076f
parent7d4b4ede547dd2e63642b2b87d800ec875a97ef1 (diff)
downloadlibplist-323459826aeea8b88872e14af9839a0912a80503.tar.gz
libplist-323459826aeea8b88872e14af9839a0912a80503.tar.bz2
Add missing functions to afc.h
Signed-off-by: Matt Colyer <matt@colyer.name>
-rw-r--r--src/AFC.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/AFC.h b/src/AFC.h
index 8d2fea4..5d4ed49 100644
--- a/src/AFC.h
+++ b/src/AFC.h
@@ -87,11 +87,15 @@ enum {
AFClient *afc_connect(iPhone *phone, int s_port, int d_port);
void afc_disconnect(AFClient *client);
+char **afc_get_devinfo(AFClient *client);
char **afc_get_dir_list(AFClient *client, const char *dir);
AFCFile *afc_get_file_info(AFClient *client, const char *path);
AFCFile *afc_open_file(AFClient *client, const char *filename, uint32 file_mode);
void afc_close_file(AFClient *client, AFCFile *file);
int afc_read_file(AFClient *client, AFCFile *file, char *data, int length);
int afc_write_file(AFClient *client, AFCFile *file, const char *data, int length);
+int afc_seek_file(AFClient *client, AFCFile *file, int seekpos);
+int afc_truncate_file(AFClient *client, AFCFile *file, uint32 newsize);
int afc_delete_file(AFClient *client, const char *path);
int afc_rename_file(AFClient *client, const char *from, const char *to);
+int afc_mkdir(AFClient *client, const char *dir);