Files
mars-nwe/include/nwnss/include/avolSimpleDir.h

122 lines
3.4 KiB
C

/****************************************************************************
|
| (C) Copyright 1985, 1991, 1993, 1996 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
|
|***************************************************************************
|
| NetWare Advance File Services (NSS) module
|
|---------------------------------------------------------------------------
|
| $Author: blarsen $
| $Date: 2006-01-21 04:09:53 +0530 (Sat, 21 Jan 2006) $
|
| $RCSfile$
| $Revision: 1315 $
|
|---------------------------------------------------------------------------
| This module is used to:
| This defines all of the primitive BEASTS inside of PSS
+-------------------------------------------------------------------------*/
#ifndef _AVOLSIMPLEDIR_H_
#define _AVOLSIMPLEDIR_H_
#ifndef _OMNI_H_
#include <library/omni.h>
#endif
extern Zid_t AVOL_LookupByNameInDirectory(
struct GeneralMsg_s *genMsg,
struct NamedBeast_s *directory,
struct NameSpace_s *nameSpace,
NINT nameType,
unicode_t *name,
// cnt NINT nameUniquifier,
// cnt NINT *retNameUniquifier,
struct FullDirectoryInfo_s *retInfo);
//extern STATUS AVOL_InitDirectory(
// struct GeneralMsg_s *genMsg,
// struct NamedBeast_s *directory);
extern NINT AVOL_IsDirectoryEmpty(
struct GeneralMsg_s *genMsg,
struct NamedBeast_s *directory,
NINT nameType);
extern STATUS AVOL_AddNameToDirectory(
struct GeneralMsg_s *genMsg,
struct NamedBeast_s *beast,
struct NamedBeast_s *directory,
NINT nameSpaceMask,
NINT nameType,
unicode_t *name,
NINT nsFlags,
// cnt NINT nameUniquifier,
NINT addNameFlags,
NINT matchAttributes,
Xaction_s *xaction,
TypeSpecificPersistentParentEntry_s *nameTypeInfo);
extern STATUS AVOL_RemoveNameFromDirectory(
struct GeneralMsg_s *genMsg,
Zid_t beastZid,
struct NamedBeast_s *directory,
NINT nameSpaceMask,
NINT nameType,
unicode_t *name,
// cnt NINT nameUniquifier,
NINT removeNameFlags,
Xaction_s *xaction,
TypeSpecificPersistentParentEntry_s *nameTypeInfo);
extern STATUS AVOL_ModifyNameSpaceMaskInDirectory(
struct GeneralMsg_s *genMsg,
struct NamedBeast_s *beast,
struct NamedBeast_s *directory,
NINT curNameSpaceMask,
NINT nameType,
unicode_t *curName,
// cnt NINT nameUniquifier,
NINT newNameSpaceMask,
Xaction_s *xaction);
extern STATUS AVOL_SetMatchAttributesInDirectory(
struct GeneralMsg_s *genMsg,
struct NamedBeast_s *beast,
struct NamedBeast_s *directory,
NINT nameSpaceMask,
NINT nameType,
unicode_t *name,
// cnt NINT nameUniquifier,
NINT newMatchAttributes,
Xaction_s *xact);
extern Zid_t AVOL_WildcardLookup(
struct GeneralMsg_s *genMsg,
struct NamedBeast_s *directory,
struct NameSpace_s *nameSpace,
NINT nameType,
unicode_t *pattern,
struct SearchMap_s *smap,
// cnt NINT *retNameUniquifier,
struct FullDirectoryInfo_s *retInfo);
#endif