extinfo.hpp 767 B

1234567891011121314151617181920212223
  1. #ifndef _RAR_EXTINFO_
  2. #define _RAR_EXTINFO_
  3. bool IsRelativeSymlinkSafe(CommandData *Cmd,const wchar *SrcName,const wchar *PrepSrcName,const wchar *TargetName);
  4. bool ExtractSymlink(CommandData *Cmd,ComprDataIO &DataIO,Archive &Arc,const wchar *LinkName);
  5. #ifdef _UNIX
  6. void SetUnixOwner(Archive &Arc,const wchar *FileName);
  7. #endif
  8. bool ExtractHardlink(CommandData *Cmd,wchar *NameNew,wchar *NameExisting,size_t NameExistingSize);
  9. void GetStreamNameNTFS(Archive &Arc,wchar *StreamName,size_t MaxSize);
  10. #ifdef _WIN_ALL
  11. bool SetPrivilege(LPCTSTR PrivName);
  12. #endif
  13. void SetExtraInfo20(CommandData *Cmd,Archive &Arc,wchar *Name);
  14. void SetExtraInfo(CommandData *Cmd,Archive &Arc,wchar *Name);
  15. void SetFileHeaderExtra(CommandData *Cmd,Archive &Arc,wchar *Name);
  16. #endif