103 lines
3.3 KiB
C
103 lines
3.3 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) Initialization module
|
|
|
|
|
|---------------------------------------------------------------------------
|
|
|
|
|
| $Author: taysom $
|
|
| $Date: 2004-12-31 01:10:58 +0530 (Fri, 31 Dec 2004) $
|
|
|
|
|
| $RCSfile$
|
|
| $Revision: 465 $
|
|
|
|
|
|---------------------------------------------------------------------------
|
|
| This module is used to:
|
|
| Definitions used by caching.
|
|
|
|
|
| WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING!
|
|
|
|
|
| This header file should ONLY be used for NSS internal development.
|
|
| This includes Semantic Agents (SA) and Loadable Storage Services (LSS).
|
|
| Any other use may cause conflicts which NSS will NOT fix.
|
|
+-------------------------------------------------------------------------*/
|
|
#ifndef _NCACHE_H_
|
|
#define _NCACHE_H_
|
|
|
|
#ifndef _XCACHE_H_
|
|
# include <include/xCache.h>
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*-------------------------------------------------------------------------
|
|
* Initialization routines
|
|
*-------------------------------------------------------------------------*/
|
|
extern STATUS CACHE_Startup(void);
|
|
extern void CACHE_Shutdown(void);
|
|
|
|
extern STATUS fsmStart(void);
|
|
extern void fsmStop(void);
|
|
|
|
extern STATUS SLAB_Startup(void);
|
|
extern void SLAB_Shutdown(void);
|
|
|
|
extern STATUS MSG_Startup(void);
|
|
extern void MSG_Shutdown(void);
|
|
|
|
extern STATUS BOND_Startup(void);
|
|
extern void BOND_Shutdown(void);
|
|
|
|
extern STATUS ASYNCIO_Startup(void);
|
|
extern void ASYNCIO_Shutdown(void);
|
|
|
|
extern STATUS WORK_Startup(void);
|
|
extern void WORK_Shutdown(void);
|
|
|
|
|
|
/*-------------------------------------------------------------------------
|
|
* Macros for translating INTERNAL names to EXTERNAL names
|
|
*-------------------------------------------------------------------------*/
|
|
#define defaultSignal LB_defaultSignal
|
|
#define defaultFlush(a1) LB_defaultFlush(a1)
|
|
#define defaultFlushWait(a1) LB_defaultFlushWait(a1)
|
|
#define lazyFlush(a1) LB_lazyFlush(a1)
|
|
#define continueFlush(f1) LB_continueFlush(f1)
|
|
|
|
#define initBind(p1,p2,p3) LB_initBind(p1,p2,p3)
|
|
#define bind(p1,p2) LB_bind(p1,p2)
|
|
#define freeBond(p1) LB_freeBond(p1)
|
|
|
|
#define freeAsyncio(p1) LB_freeAsyncio(p1)
|
|
#define freeAsyncioRA(p1) LB_freeAsyncioRA(p1)
|
|
#define getAsyncio() LB_getAsyncio()
|
|
#define getAsyncioNoWait() LB_getAsyncioNoWait()
|
|
#define getAsyncioNoWaitRA() LB_getAsyncioNoWaitRA()
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|