org.filesys.smb.Capability Maven / Gradle / Ivy
Show all versions of jfileserver Show documentation
/*
* Copyright (C) 2006-2010 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Alfresco 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see .
*/
package org.filesys.smb;
/**
* SMB Capabilities Class
*
* Contains the capability flags for the client/server during a session setup.
*
* @author gkspencer
*/
public class Capability {
// SMB v1 capabilities flags
public static final int V1RawMode = 0x00000001;
public static final int V1MpxMode = 0x00000002;
public static final int V1Unicode = 0x00000004;
public static final int V1LargeFiles = 0x00000008;
public static final int V1NTSMBs = 0x00000010;
public static final int V1RemoteAPIs = 0x00000020;
public static final int V1NTStatus = 0x00000040;
public static final int V1Level2Oplocks = 0x00000080;
public static final int V1LockAndRead = 0x00000100;
public static final int V1NTFind = 0x00000200;
public static final int V1DFS = 0x00001000;
public static final int V1InfoPassthru = 0x00002000;
public static final int V1LargeRead = 0x00004000;
public static final int V1LargeWrite = 0x00008000;
public static final int V1UnixExtensions = 0x00800000;
public static final int V1BulkTransfer = 0x20000000;
public static final int V1CompressedData = 0x40000000;
public static final int V1ExtendedSecurity = 0x80000000;
}