67 lines
2.2 KiB
C
67 lines
2.2 KiB
C
/****************************************************************************
|
|
|
|
|
| (C) Copyright 2001 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: taysom $
|
|
| $Date: 2004-12-31 01:10:58 +0530 (Fri, 31 Dec 2004) $
|
|
|
|
|
| $RCSfile$
|
|
| $Revision: 465 $
|
|
|
|
|
|---------------------------------------------------------------------------
|
|
| This module is used to:
|
|
| This defines globals and prototypes for the background checker.
|
|
+-------------------------------------------------------------------------*/
|
|
#ifndef _CHECKER_H_
|
|
#define _CHECKER_H_
|
|
|
|
#if NSS_DEBUG IS_ENABLED
|
|
#define CHK_RetryMax_DEFAULT (4)
|
|
#define CHK_TimeThreshold_DEFAULT (6 * 60 * 60)
|
|
#define CHK_StartupWaitSeconds_DEFAULT (60 * 60)
|
|
#define CHK_WaitSeconds_DEFAULT (60 * 60)
|
|
#else
|
|
#define CHK_RetryMax_DEFAULT (4)
|
|
#define CHK_TimeThreshold_DEFAULT (90 * 24 * 60 * 60) /* 90 days */
|
|
#define CHK_StartupWaitSeconds_DEFAULT (5 * 24 * 60 * 60) /* 5 days */
|
|
#define CHK_WaitSeconds_DEFAULT (14 * 24 * 60 * 60 + 113) /* 14 days + some */
|
|
#endif
|
|
|
|
extern void CHK_StartProcess(void);
|
|
extern void CHK_StopProcess(void);
|
|
|
|
extern STATUS CHK_VerifyID(
|
|
struct GeneralMsg_s *genMsg,
|
|
struct Volume_s *volume,
|
|
UserID_t *objectID,
|
|
BOOL *found);
|
|
|
|
extern void CHK_Wakeup();
|
|
|
|
extern STATUS CHK_GetContext(
|
|
int *context);
|
|
|
|
#endif /* _CHECKER_H_ */
|