xref: /illumos-gate/usr/src/cmd/sendmail/libsm/xtrap.c (revision 2a8bcb4e)
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.3 2000/12/08 08:03:09 rodney 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