Remove old startup code
All checks were successful
Source release / source-package (push) Successful in 1m27s

This commit is contained in:
Mario Fetka
2026-06-20 13:18:08 +02:00
parent 494cd0e32f
commit 16c308aef4
2 changed files with 0 additions and 38 deletions

View File

@@ -64,7 +64,6 @@ if(NOT MARS_NWE_UUID_LIBRARY)
endif()
set(NWNSS_ROOT_SOURCES
nssStartupNameGlobals.c
nssUserspaceProvider.c
nssUserspaceQuota.c
utcUserland.c

View File

@@ -1,37 +0,0 @@
/****************************************************************************
| Selected NSS startup name globals for userspace NSS.
|
| These definitions are copied from public_core/nss/nssStartup.c. The full
| startup module owns NetWare/kernel module lifecycle, event registration and
| command-line machinery that is not part of the default userspace library
| boundary. Keep only the data globals required by the real COMN/AdminVolume
| imports until the full NSS startup block is imported deliberately.
+-------------------------------------------------------------------------*/
#include <string.h>
#include <public/zParams.h>
#include <public/nssPubs.h>
#include <include/opLock.h>
#include "comn/pssStartup.h"
unicode_t *AdminVolUnicodeName = AVOL_ADMIN_VOLUME_UNICODE;
unicode_t *PersistAdminVolUnicodeName = (unicode_t *)L"_ADMIN_P";
BYTE *AdminVolAsciiName = AVOL_ADMIN_VOLUME;
NINT AdminVolNameLen = 0;
BYTE AVFileMgmtDir[MAX_MGMTDIR_LEN] = AVOL_MANGEMENT_PATH;
NINT AVFileMgmtDirLen = sizeof(AVOL_MANGEMENT_PATH) - 1;
BYTE AVFileOSMgmtDir[MAX_MGMTDIR_LEN] = AVOL_ADMIN_VOLUME ":\\" AVOL_OS_MANAGEMENT_DIRECTORY "\\";
NINT AVFileOSMgmtDirLen = sizeof(AVOL_ADMIN_VOLUME ":\\" AVOL_OS_MANAGEMENT_DIRECTORY "\\") - 1;
NINT CMN_StartupCompleted = FALSE;
LONG NW_ClientFileCachingEnabledFlag = TRUE;
LONG NW_Level2OpLocksEnabledFlag = TRUE;
BOOL NW_PurgeImmediateFlag = FALSE;
NINT NW_MinimumFileDeleteWaitTime = 0;
void NSS_ResetTimeCaches(void)
{
AdminVolNameLen = strlen((char *)AdminVolAsciiName);
AVFileMgmtDirLen = strlen((char *)AVFileMgmtDir);
AVFileOSMgmtDirLen = strlen((char *)AVFileOSMgmtDir);
}