125 lines
3.0 KiB
C
125 lines
3.0 KiB
C
#ifndef __MODIFY_H__
|
|
#define __MODIFY_H__
|
|
/*****************************************************************************
|
|
*
|
|
* (C) Copyright 1988-1994 Novell, Inc.
|
|
* All Rights Reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of version 2 of the GNU General Public
|
|
* License as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, contact Novell, Inc.
|
|
*
|
|
* To contact Novell about this file by physical or electronic mail,
|
|
* you may find current contact information at www.novell.com
|
|
*
|
|
* $RCSfile$
|
|
* $Date: 2004-12-31 01:10:58 +0530 (Fri, 31 Dec 2004) $
|
|
* $Revision: 465 $
|
|
*
|
|
****************************************************************************/
|
|
|
|
struct ModifyStructure
|
|
{
|
|
BYTE *MModifyName;
|
|
LONG MFileAttributes;
|
|
LONG MFileAttributesMask;
|
|
WORD MCreateDate;
|
|
WORD MCreateTime;
|
|
LONG MOwnerID;
|
|
WORD MLastArchivedDate;
|
|
WORD MLastArchivedTime;
|
|
LONG MLastArchivedID;
|
|
WORD MLastUpdatedDate; /* also last modified date and time. */
|
|
WORD MLastUpdatedTime;
|
|
LONG MLastUpdatedID;
|
|
WORD MLastAccessedDate;
|
|
WORD MInheritanceGrantMask;
|
|
WORD MInheritanceRevokeMask;
|
|
int MMaximumSpace;
|
|
LONG MLastUpdatedInSeconds;
|
|
};
|
|
|
|
#define MModifyNameBit 1
|
|
#define MFileAttributesBit 2
|
|
#define MCreateDateBit 4
|
|
#define MCreateTimeBit 8
|
|
#define MOwnerIDBit 0x10
|
|
#define MLastArchivedDateBit 0x20
|
|
#define MLastArchivedTimeBit 0x40
|
|
#define MLastArchivedIDBit 0x80
|
|
#define MLastUpdatedDateBit 0x100
|
|
#define MLastUpdatedTimeBit 0x200
|
|
#define MLastUpdatedIDBit 0x400
|
|
#define MLastAccessedDateBit 0x800
|
|
#define MInheritanceRestrictionMaskBit 0x1000
|
|
#define MMaximumSpaceBit 0x2000
|
|
#define MLastUpdatedInSecondsBit 0x4000
|
|
|
|
struct MACModifyStructure
|
|
{
|
|
BYTE *MACModifyName;
|
|
BYTE *MACFinderInfo;
|
|
BYTE *MACProDosInfo;
|
|
/* BYTE *MACDirRightsMask; */
|
|
LONG MACDirRightsMask;
|
|
LONG MACCreateTime;
|
|
LONG MACBackupTime;
|
|
};
|
|
|
|
#define MACModifyNameBit 1
|
|
#define MACFinderInfoBit 2
|
|
#define MACProDosInfoBit 4
|
|
#define MACDirRightsMaskBit 8
|
|
#define MACCreateTimeBit 0x10
|
|
#define MACBackupTimeBit 0x20
|
|
|
|
/* define the GetStructure (used by GetExtendedInfo) */
|
|
|
|
struct GetStructure
|
|
{
|
|
BYTE *OS2GetFullName;
|
|
};
|
|
|
|
#define OS2GetFullNameBit 1
|
|
|
|
|
|
struct OS2ModifyStructure
|
|
{
|
|
BYTE *OS2ModifyName;
|
|
};
|
|
|
|
#define OS2ModifyNameBit 1
|
|
|
|
/****************************************************************************/
|
|
/****************************************************************************/
|
|
|
|
struct NTGetStructure
|
|
{
|
|
BYTE *NTGetFullName;
|
|
LONG NTSignature[2];
|
|
};
|
|
|
|
#define NTGetFullNameBit 1
|
|
#define NTGetSignatureBit 2
|
|
|
|
struct NTModifyStructure
|
|
{
|
|
BYTE *NTModifyName;
|
|
LONG NTNewSignature[2];
|
|
};
|
|
|
|
#define NTModifyNameBit 1
|
|
#define NTModifySignatureBit 2
|
|
|
|
|
|
|
|
#endif /* __MODIFY_H__ */
|