unrar/extinfo.cpp
// RAR3 and RAR5 service header extra records.
RAR3 and RAR5 service header extra records.
RAR3 and RAR5 service header extra records .
void SetExtraInfo(CommandData *Cmd,Archive &Arc,wchar *Name)
{
#ifdef _UNIX
  if (!Cmd->Test && Cmd->ProcessOwners && Arc.Format==RARFMT15 &&
      Arc.SubHead.CmpName(SUBHEAD_TYPE_UOWNER))
    ExtractUnixOwner30(Arc,Name);
#endif
#ifdef _WIN_ALL
  if (!Cmd->Test && Cmd->ProcessOwners && Arc.SubHead.CmpName(SUBHEAD_TYPE_ACL))
    ExtractACL(Arc,Name);
  if (Arc.SubHead.CmpName(SUBHEAD_TYPE_STREAM))
    ExtractStreams(Arc,Name,Cmd->Test);
#endif
}
void SetExtraInfo ( CommandData * Cmd , Archive & Arc , wchar * Name ) { #ifdef _UNIX if ( ! Cmd -> Test && Cmd -> ProcessOwners && Arc . Format == RARFMT15 && Arc . SubHead . CmpName ( SUBHEAD_TYPE_UOWNER ) ) ExtractUnixOwner30 ( Arc , Name ) ; #endif #ifdef _WIN_ALL if ( ! Cmd -> Test && Cmd -> ProcessOwners && Arc . SubHead . CmpName ( SUBHEAD_TYPE_ACL ) ) ExtractACL ( Arc , Name ) ; if ( Arc . SubHead . CmpName ( SUBHEAD_TYPE_STREAM ) ) ExtractStreams ( Arc , Name , Cmd -> Test ) ; #endif }
RAR3 and RAR5 service header extra records.
RAR3 and RAR5 service header extra records .