diff options
| author | 2008-08-10 23:18:28 +0200 | |
|---|---|---|
| committer | 2008-08-11 09:37:49 -0700 | |
| commit | 323459826aeea8b88872e14af9839a0912a80503 (patch) | |
| tree | 23ca98bede4326ade3c1b92ffd5491bd6c7c076f /src/AFC.h | |
| parent | 7d4b4ede547dd2e63642b2b87d800ec875a97ef1 (diff) | |
| download | libimobiledevice-323459826aeea8b88872e14af9839a0912a80503.tar.gz libimobiledevice-323459826aeea8b88872e14af9839a0912a80503.tar.bz2 | |
Add missing functions to afc.h
Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'src/AFC.h')
| -rw-r--r-- | src/AFC.h | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -87,11 +87,15 @@ enum { | |||
| 87 | AFClient *afc_connect(iPhone *phone, int s_port, int d_port); | 87 | AFClient *afc_connect(iPhone *phone, int s_port, int d_port); |
| 88 | void afc_disconnect(AFClient *client); | 88 | void afc_disconnect(AFClient *client); |
| 89 | 89 | ||
| 90 | char **afc_get_devinfo(AFClient *client); | ||
| 90 | char **afc_get_dir_list(AFClient *client, const char *dir); | 91 | char **afc_get_dir_list(AFClient *client, const char *dir); |
| 91 | AFCFile *afc_get_file_info(AFClient *client, const char *path); | 92 | AFCFile *afc_get_file_info(AFClient *client, const char *path); |
| 92 | AFCFile *afc_open_file(AFClient *client, const char *filename, uint32 file_mode); | 93 | AFCFile *afc_open_file(AFClient *client, const char *filename, uint32 file_mode); |
| 93 | void afc_close_file(AFClient *client, AFCFile *file); | 94 | void afc_close_file(AFClient *client, AFCFile *file); |
| 94 | int afc_read_file(AFClient *client, AFCFile *file, char *data, int length); | 95 | int afc_read_file(AFClient *client, AFCFile *file, char *data, int length); |
| 95 | int afc_write_file(AFClient *client, AFCFile *file, const char *data, int length); | 96 | int afc_write_file(AFClient *client, AFCFile *file, const char *data, int length); |
| 97 | int afc_seek_file(AFClient *client, AFCFile *file, int seekpos); | ||
| 98 | int afc_truncate_file(AFClient *client, AFCFile *file, uint32 newsize); | ||
| 96 | int afc_delete_file(AFClient *client, const char *path); | 99 | int afc_delete_file(AFClient *client, const char *path); |
| 97 | int afc_rename_file(AFClient *client, const char *from, const char *to); | 100 | int afc_rename_file(AFClient *client, const char *from, const char *to); |
| 101 | int afc_mkdir(AFClient *client, const char *dir); | ||
