Changeset 67253 in vbox for trunk/include
- Timestamp:
- Jun 2, 2017 5:16:05 PM (8 years ago)
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/mangling.h
r67228 r67253 2448 2448 # define RTZipTarFsStreamFromIoStream RT_MANGLER(RTZipTarFsStreamFromIoStream) 2449 2449 # define RTZipTarFsStreamToIoStream RT_MANGLER(RTZipTarFsStreamToIoStream) 2450 # define RTZipTarFsStreamSetOwner RT_MANGLER(RTZipTarFsStreamSetOwner) 2451 # define RTZipTarFsStreamSetGroup RT_MANGLER(RTZipTarFsStreamSetGroup) 2452 # define RTZipTarFsStreamSetPrefix RT_MANGLER(RTZipTarFsStreamSetPrefix) 2453 # define RTZipTarFsStreamSetFileMode RT_MANGLER(RTZipTarFsStreamSetFileMode) 2454 # define RTZipTarFsStreamSetDirMode RT_MANGLER(RTZipTarFsStreamSetDirMode) 2455 # define RTZipTarFsStreamSetModTime RT_MANGLER(RTZipTarFsStreamSetModTime) 2450 2456 # define RTZipXarFsStreamFromIoStream RT_MANGLER(RTZipXarFsStreamFromIoStream) 2451 2457 -
trunk/include/iprt/zip.h
r67134 r67253 315 315 316 316 /** 317 * Set the owner to store the archive entries with. 318 * 319 * @returns IPRT status code. 320 * @param hVfsFss The handle to a TAR creator. 321 * @param uid The UID value to set. Passing NIL_RTUID makes 322 * it use the value found in RTFSOBJINFO. 323 * @param pszOwner The owner name to store. Passing NULL makes it 324 * use the value found in RTFSOBJINFO. 325 */ 326 RTDECL(int) RTZipTarFsStreamSetOwner(RTVFSFSSTREAM hVfsFss, RTUID uid, const char *pszOwner); 327 328 /** 329 * Set the group to store the archive entries with. 330 * 331 * @returns IPRT status code. 332 * @param hVfsFss The handle to a TAR creator. 333 * @param gid The GID value to set. Passing NIL_RTUID makes 334 * it use the value found in RTFSOBJINFO. 335 * @param pszGroup The group name to store. Passing NULL makes it 336 * use the value found in RTFSOBJINFO. 337 */ 338 RTDECL(int) RTZipTarFsStreamSetGroup(RTVFSFSSTREAM hVfsFss, RTGID gid, const char *pszGroup); 339 340 /** 341 * Set path prefix to store the archive entries with. 342 * 343 * @returns IPRT status code. 344 * @param hVfsFss The handle to a TAR creator. 345 * @param pszPrefix The path prefix to join the names with. Pass 346 * NULL for no prefix. 347 */ 348 RTDECL(int) RTZipTarFsStreamSetPrefix(RTVFSFSSTREAM hVfsFss, const char *pszPrefix); 349 350 /** 351 * Set the AND and OR masks to apply to file (non-dir) modes in the archive. 352 * 353 * @returns IPRT status code. 354 * @param hVfsFss The handle to a TAR creator. 355 * @param fAndMode The bits to keep 356 * @param fOrMode The bits to set. 357 */ 358 RTDECL(int) RTZipTarFsStreamSetFileMode(RTVFSFSSTREAM hVfsFss, RTFMODE fAndMode, RTFMODE fOrMode); 359 360 /** 361 * Set the AND and OR masks to apply to directory modes in the archive. 362 * 363 * @returns IPRT status code. 364 * @param hVfsFss The handle to a TAR creator. 365 * @param fAndMode The bits to keep 366 * @param fOrMode The bits to set. 367 */ 368 RTDECL(int) RTZipTarFsStreamSetDirMode(RTVFSFSSTREAM hVfsFss, RTFMODE fAndMode, RTFMODE fOrMode); 369 370 /** 371 * Set the modification time to store the archive entires with. 372 * 373 * @returns IPRT status code. 374 * @param hVfsFss The handle to a TAR creator. 375 * @param pModificationTime The modification time to use. Pass NULL to use 376 * the value found in RTFSOBJINFO. 377 */ 378 RTDECL(int) RTZipTarFsStreamSetMTime(RTVFSFSSTREAM hVfsFss, PCRTTIMESPEC pModificationTime); 379 380 381 /** 317 382 * A mini TAR program. 318 383 *
Note:
See TracChangeset
for help on using the changeset viewer.