xref: /freebsd/contrib/sendmail/libsm/xtrap.c (revision a90b9d0159070121c221b966469c3e36d912bf82)
1 /*
2  * Copyright (c) 2000 Proofpoint, 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.6 2013-11-22 20:51:44 ca 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