xref: /titanic_50/usr/src/cmd/sendmail/libsm/xtrap.c (revision 174bc6499d233e329ecd3d98a880a7b07df16bfa)
1 /*
2  * Copyright (c) 2000 Sendmail, Inc. and its suppliers.
3  *	All rights reserved.
4  *
5  * By using this file, you agree to the terms and conditions set
6  * forth in the LICENSE file which can be found at the top level of
7  * the sendmail distribution.
8  */
9 
10 #pragma ident	"%Z%%M%	%I%	%E% SMI"
11 
12 #include <sm/gen.h>
13 SM_RCSID("@(#)$Id: xtrap.c,v 1.3 2000/12/08 08:03:09 rodney Exp $")
14 
15 #include <sm/xtrap.h>
16 
17 SM_ATOMIC_UINT_T SmXtrapCount;
18 
19 SM_DEBUG_T SmXtrapDebug = SM_DEBUG_INITIALIZER("sm_xtrap",
20 	"@(#)$Debug: sm_xtrap - raise exception at N'th xtrap point $");
21 
22 SM_DEBUG_T SmXtrapReport = SM_DEBUG_INITIALIZER("sm_xtrap_report",
23 	"@(#)$Debug: sm_xtrap_report - report xtrap count on exit $");
24