Files
mars-nwe/include/nwnss/lsa/lsaPrivate.h
2026-06-19 08:08:26 +02:00

72 lines
2.2 KiB
C

/****************************************************************************
|
| (C) Copyright 1995 - 2000 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
|
|***************************************************************************
|
| Novell Storage Services (NSS) support module
|
|---------------------------------------------------------------------------
|
| $Author: taysom $
| $Date: 2008-05-08 21:52:15 +0530 (Thu, 08 May 2008) $
|
| $RCSfile$
| $Revision: 2335 $
|
|---------------------------------------------------------------------------
| This module is used to:
| Define common functions that are private to lsa (should move most
| of lsa.h to here).
+-------------------------------------------------------------------------*/
#ifndef _LSAPRIVATE_H_
#define _LSAPRIVATE_H_ 1
#include <sys/types.h>
struct dentry;
extern BOOL LSASendfile;
extern BOOL LSACtimeIsMetadataModTime;
extern BOOL LSAReturnNWmetadata;
extern BOOL LSAUpdateDirAccessTime;
extern LONG LSAPosixPermissionMask;
extern LONG getMode (LONG attr);
extern LONG getUid (UserID_t *ownerGuid);
extern ssize_t netware_setxattr (
struct dentry *dentry,
const char *name,
const void *value,
size_t size);
extern ssize_t netware_getxattr (
struct dentry *dentry,
const char *name,
void *value,
size_t size);
extern int netware_removexattr (
struct dentry *dentry,
const char *name);
#endif