2020-09-08 08:34:21 +00:00
|
|
|
#ifndef _RAR_EXTINFO_
|
|
|
|
#define _RAR_EXTINFO_
|
|
|
|
|
2023-05-19 19:24:23 +00:00
|
|
|
bool LinksToDirs(const wchar *SrcName,const wchar *SkipPart,std::wstring &LastChecked);
|
2020-09-08 08:34:21 +00:00
|
|
|
bool IsRelativeSymlinkSafe(CommandData *Cmd,const wchar *SrcName,const wchar *PrepSrcName,const wchar *TargetName);
|
2023-05-19 19:24:23 +00:00
|
|
|
bool ExtractSymlink(CommandData *Cmd,ComprDataIO &DataIO,Archive &Arc,const wchar *LinkName,bool &UpLink);
|
2020-09-08 08:34:21 +00:00
|
|
|
#ifdef _UNIX
|
|
|
|
void SetUnixOwner(Archive &Arc,const wchar *FileName);
|
|
|
|
#endif
|
|
|
|
|
2021-05-15 09:31:42 +00:00
|
|
|
bool ExtractHardlink(CommandData *Cmd,wchar *NameNew,wchar *NameExisting,size_t NameExistingSize);
|
2020-09-08 08:34:21 +00:00
|
|
|
|
|
|
|
void GetStreamNameNTFS(Archive &Arc,wchar *StreamName,size_t MaxSize);
|
|
|
|
|
|
|
|
#ifdef _WIN_ALL
|
|
|
|
bool SetPrivilege(LPCTSTR PrivName);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
void SetExtraInfo20(CommandData *Cmd,Archive &Arc,wchar *Name);
|
|
|
|
void SetExtraInfo(CommandData *Cmd,Archive &Arc,wchar *Name);
|
|
|
|
void SetFileHeaderExtra(CommandData *Cmd,Archive &Arc,wchar *Name);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|