diff options
| -rw-r--r-- | src/afc.c | 22 |
1 files changed, 11 insertions, 11 deletions
| @@ -522,7 +522,7 @@ afc_error_t afc_read_directory(afc_client_t client, const char *dir, char ***lis | |||
| 522 | } | 522 | } |
| 523 | 523 | ||
| 524 | /** | 524 | /** |
| 525 | * Get device info for a client connection to phone. The device information | 525 | * Get device information for a connected client. The device information |
| 526 | * returned is the device model as well as the free space, the total capacity | 526 | * returned is the device model as well as the free space, the total capacity |
| 527 | * and blocksize on the accessed disk partition. | 527 | * and blocksize on the accessed disk partition. |
| 528 | * | 528 | * |
| @@ -649,7 +649,7 @@ afc_error_t afc_remove_path(afc_client_t client, const char *path) | |||
| 649 | } | 649 | } |
| 650 | 650 | ||
| 651 | /** | 651 | /** |
| 652 | * Renames a file or directory on the phone. | 652 | * Renames a file or directory on the device. |
| 653 | * | 653 | * |
| 654 | * @param client The client to have rename. | 654 | * @param client The client to have rename. |
| 655 | * @param from The name to rename from. (must be a fully-qualified path) | 655 | * @param from The name to rename from. (must be a fully-qualified path) |
| @@ -691,7 +691,7 @@ afc_error_t afc_rename_path(afc_client_t client, const char *from, const char *t | |||
| 691 | } | 691 | } |
| 692 | 692 | ||
| 693 | /** | 693 | /** |
| 694 | * Creates a directory on the phone. | 694 | * Creates a directory on the device. |
| 695 | * | 695 | * |
| 696 | * @param client The client to use to make a directory. | 696 | * @param client The client to use to make a directory. |
| 697 | * @param dir The directory's path. (must be a fully-qualified path, I assume | 697 | * @param dir The directory's path. (must be a fully-qualified path, I assume |
| @@ -772,7 +772,7 @@ afc_error_t afc_get_file_info(afc_client_t client, const char *path, char ***inf | |||
| 772 | } | 772 | } |
| 773 | 773 | ||
| 774 | /** | 774 | /** |
| 775 | * Opens a file on the phone. | 775 | * Opens a file on the device. |
| 776 | * | 776 | * |
| 777 | * @param client The client to use to open the file. | 777 | * @param client The client to use to open the file. |
| 778 | * @param filename The file to open. (must be a fully-qualified path) | 778 | * @param filename The file to open. (must be a fully-qualified path) |
| @@ -1002,7 +1002,7 @@ afc_file_write(afc_client_t client, uint64_t handle, const char *data, uint32_t | |||
| 1002 | } | 1002 | } |
| 1003 | 1003 | ||
| 1004 | /** | 1004 | /** |
| 1005 | * Closes a file on the phone. | 1005 | * Closes a file on the device. |
| 1006 | * | 1006 | * |
| 1007 | * @param client The client to close the file with. | 1007 | * @param client The client to close the file with. |
| 1008 | * @param handle File handle of a previously opened file. | 1008 | * @param handle File handle of a previously opened file. |
| @@ -1044,7 +1044,7 @@ afc_error_t afc_file_close(afc_client_t client, uint64_t handle) | |||
| 1044 | } | 1044 | } |
| 1045 | 1045 | ||
| 1046 | /** | 1046 | /** |
| 1047 | * Locks or unlocks a file on the phone. | 1047 | * Locks or unlocks a file on the device. |
| 1048 | * | 1048 | * |
| 1049 | * makes use of flock on the device, see | 1049 | * makes use of flock on the device, see |
| 1050 | * http://developer.apple.com/documentation/Darwin/Reference/ManPages/man2/flock.2.html | 1050 | * http://developer.apple.com/documentation/Darwin/Reference/ManPages/man2/flock.2.html |
| @@ -1096,7 +1096,7 @@ afc_error_t afc_file_lock(afc_client_t client, uint64_t handle, afc_lock_op_t op | |||
| 1096 | } | 1096 | } |
| 1097 | 1097 | ||
| 1098 | /** | 1098 | /** |
| 1099 | * Seeks to a given position of a pre-opened file on the phone. | 1099 | * Seeks to a given position of a pre-opened file on the device. |
| 1100 | * | 1100 | * |
| 1101 | * @param client The client to use to seek to the position. | 1101 | * @param client The client to use to seek to the position. |
| 1102 | * @param handle File handle of a previously opened. | 1102 | * @param handle File handle of a previously opened. |
| @@ -1143,7 +1143,7 @@ afc_error_t afc_file_seek(afc_client_t client, uint64_t handle, int64_t offset, | |||
| 1143 | } | 1143 | } |
| 1144 | 1144 | ||
| 1145 | /** | 1145 | /** |
| 1146 | * Returns current position in a pre-opened file on the phone. | 1146 | * Returns current position in a pre-opened file on the device. |
| 1147 | * | 1147 | * |
| 1148 | * @param client The client to use. | 1148 | * @param client The client to use. |
| 1149 | * @param handle File handle of a previously opened file. | 1149 | * @param handle File handle of a previously opened file. |
| @@ -1191,7 +1191,7 @@ afc_error_t afc_file_tell(afc_client_t client, uint64_t handle, uint64_t *positi | |||
| 1191 | } | 1191 | } |
| 1192 | 1192 | ||
| 1193 | /** | 1193 | /** |
| 1194 | * Sets the size of a file on the phone. | 1194 | * Sets the size of a file on the device. |
| 1195 | * | 1195 | * |
| 1196 | * @param client The client to use to set the file size. | 1196 | * @param client The client to use to set the file size. |
| 1197 | * @param handle File handle of a previously opened file. | 1197 | * @param handle File handle of a previously opened file. |
| @@ -1238,7 +1238,7 @@ afc_error_t afc_file_truncate(afc_client_t client, uint64_t handle, uint64_t new | |||
| 1238 | } | 1238 | } |
| 1239 | 1239 | ||
| 1240 | /** | 1240 | /** |
| 1241 | * Sets the size of a file on the phone without prior opening it. | 1241 | * Sets the size of a file on the device without prior opening it. |
| 1242 | * | 1242 | * |
| 1243 | * @param client The client to use to set the file size. | 1243 | * @param client The client to use to set the file size. |
| 1244 | * @param path The path of the file to be truncated. | 1244 | * @param path The path of the file to be truncated. |
| @@ -1330,7 +1330,7 @@ afc_error_t afc_make_link(afc_client_t client, afc_link_type_t linktype, const c | |||
| 1330 | } | 1330 | } |
| 1331 | 1331 | ||
| 1332 | /** | 1332 | /** |
| 1333 | * Sets the modification time of a file on the phone. | 1333 | * Sets the modification time of a file on the device. |
| 1334 | * | 1334 | * |
| 1335 | * @param client The client to use to set the file size. | 1335 | * @param client The client to use to set the file size. |
| 1336 | * @param path Path of the file for which the modification time should be set. | 1336 | * @param path Path of the file for which the modification time should be set. |
