Changeset 13809
- Timestamp:
- Jan 19, 2013, 8:50:57 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/transmission.h
r13807 r13809 1112 1112 * EXAMPLES 1113 1113 * 1114 * Consider a t orrent where1115 * files[0].pathis "frobnitz-linux/checksum" and1116 * files[1].pathis "frobnitz-linux/frobnitz.iso".1114 * Consider a tr_torrent where its 1115 * info.files[0].name is "frobnitz-linux/checksum" and 1116 * info.files[1].name is "frobnitz-linux/frobnitz.iso". 1117 1117 * 1118 1118 * 1. tr_torrentRenamePath (tor, "frobnitz-linux", "foo") will rename 1119 * the "frotbnitz-linux" folder as "foo" and update files[*]. path.1119 * the "frotbnitz-linux" folder as "foo" and update files[*].name. 1120 1120 * 1121 1121 * 2. tr_torrentRenamePath (tor, "frobnitz-linux/checksum", "foo") will 1122 1122 * rename the "frobnitz-linux/checksum" file as "foo" and update 1123 * files[0]. pathto "frobnitz-linux/foo".1123 * files[0].name to "frobnitz-linux/foo". 1124 1124 * 1125 1125 * RETURN … … 1131 1131 * On success, the callback's error argument will be 0. 1132 1132 * 1133 * If oldpath can't be found in files[*]. path, or if newname is already1134 * in files[*]. path, or contains a directory separator, or is NULL, "",1133 * If oldpath can't be found in files[*].name, or if newname is already 1134 * in files[*].name, or contains a directory separator, or is NULL, "", 1135 1135 * ".", or "..", the error argument will be EINVAL. 1136 1136 *
Note: See TracChangeset
for help on using the changeset viewer.