campo-sirio/cb/source/c4hook.c
alex af15e0698b Codebase
git-svn-id: svn://10.65.10.50/trunk@4679 c028cbd2-c16b-5b4b-a496-9718f37d4682
1997-06-16 13:01:08 +00:00

36 lines
889 B
C
Executable File

/* c4hook.c (c)Copyright Sequiter Software Inc., 1988-1996. All rights reserved. */
#include "d4all.h"
#ifndef S4UNIX
#ifdef __TURBOC__
#pragma hdrstop
#endif /* __TUROBC__ */
#endif /* S4UNIX */
#ifdef S4TIMEOUT_HOOK
int code4timeoutHook( CODE4 *c4, int numAttempts, long elapsedTime )
{
return 0 ;
}
#endif
#ifdef S4LOCK_HOOK
int code4lockHook( CODE4 *c4, const char *fileName, const char *userId, const char *networkId, long item, int numAttempts )
{
return 0 ;
}
#endif
#ifndef S4TEST
#ifdef E4HOOK
/* Uncomment and add alternative error display code here.
Function error4hook() may be placed in your own separate source code
file, but ensure that the same function prototype as below is used.
void S4FUNCTION error4hook( CODE4 *c4, int errCode, long errCode2, const char *desc1, const char *desc2, const char *desc3 )
{
return ;
}
*/
#endif
#endif