Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
46
cde/lib/tt/mini_isam/isamhooks.c
Normal file
46
cde/lib/tt/mini_isam/isamhooks.c
Normal file
@@ -0,0 +1,46 @@
|
||||
/*%% (c) Copyright 1993, 1994 Hewlett-Packard Company */
|
||||
/*%% (c) Copyright 1993, 1994 International Business Machines Corp. */
|
||||
/*%% (c) Copyright 1993, 1994 Sun Microsystems, Inc. */
|
||||
/*%% (c) Copyright 1993, 1994 Novell, Inc. */
|
||||
/*%% $XConsortium: isamhooks.c /main/3 1995/10/23 11:34:48 rswiston $ */
|
||||
#ifndef lint
|
||||
static char sccsid[] = "@(#)isamhooks.c 1.7 89/07/17 Copyr 1988 Sun Micro";
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 1988 by Sun Microsystems, Inc.
|
||||
*/
|
||||
|
||||
/*
|
||||
* isamhooks.c
|
||||
*
|
||||
* Description:
|
||||
* Entry and exit hooks that are called upon every entry (and exit)
|
||||
* to any Access Module Function.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include "isam_impl.h"
|
||||
extern struct dlink *pavail;
|
||||
/*
|
||||
* _isam_entryhook()
|
||||
*
|
||||
*/
|
||||
|
||||
void
|
||||
_isam_entryhook()
|
||||
{
|
||||
isdupl = 0; /* Reset duplicate indicator */
|
||||
_setiserrno2(0, '0', '0');
|
||||
}
|
||||
|
||||
/*
|
||||
* _isam_exithook()
|
||||
*
|
||||
*/
|
||||
|
||||
void
|
||||
_isam_exithook()
|
||||
{
|
||||
_isdisk_inval(); /* Invalidate all buffers */
|
||||
}
|
||||
Reference in New Issue
Block a user