/*
 MySecureShell permit to add restriction to modified sftp-server
 when using MySecureShell as shell.
 Copyright (C) 2007-2014 MySecureShell Team

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
 as published by the Free Software Foundation (version 2)

 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, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */

#include "../config.h"

#ifndef _FILESYSTEMACL_H_
#define _FILESYSTEMACL_H_

#define FS_ENUM_USER		1
#define FS_ENUM_GROUP		2
#define FS_ENUM_USER_OBJ	3
#define FS_ENUM_GROUP_OBJ	4
#define FS_ENUM_OTHER		5

#if(MSS_ACL)

int FSEnumAcl(const char *file, int resolvePath, void (*callback)(void *data, int type, u_int32_t id, u_int32_t mode), void *data, u_int32_t *nbEntries);

#else

#define FSEnumAcl(_A, _B, _C, _D, _E)	SSH2_FX_OK

#endif //MSS_ACL


#endif /* _FILESYSTEMACL_H_ */
