xref: /freebsd/contrib/sendmail/libsm/xtrap.c (revision 2a4a1db342263067035ce69a4017c645da63455d)
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 #include <sm/gen.h>
11 SM_RCSID("@(#)$Id: xtrap.c,v 1.1.1.1 2002/02/17 21:56:43 gshapiro Exp $")
12 
13 #include <sm/xtrap.h>
14 
15 SM_ATOMIC_UINT_T SmXtrapCount;
16 
17 SM_DEBUG_T SmXtrapDebug = SM_DEBUG_INITIALIZER("sm_xtrap",
18 	"@(#)$Debug: sm_xtrap - raise exception at N'th xtrap point $");
19 
20 SM_DEBUG_T SmXtrapReport = SM_DEBUG_INITIALIZER("sm_xtrap_report",
21 	"@(#)$Debug: sm_xtrap_report - report xtrap count on exit $");
22