Resync patch with contrib.
[dragonfly.git] / contrib / sendmail-8.14 / libsm / xtrap.c
blob7495e0994d06ea3ca7fa01ae69a936cae96074ad
1 /*
2 * Copyright (c) 2000 Sendmail, Inc. and its suppliers.
3 * All rights reserved.
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 */
10 #include <sm/gen.h>
11 SM_RCSID("@(#)$Id: xtrap.c,v 1.5 2001/09/11 04:04:49 gshapiro Exp $")
13 #include <sm/xtrap.h>
15 SM_ATOMIC_UINT_T SmXtrapCount;
17 SM_DEBUG_T SmXtrapDebug = SM_DEBUG_INITIALIZER("sm_xtrap",
18 "@(#)$Debug: sm_xtrap - raise exception at N'th xtrap point $");
20 SM_DEBUG_T SmXtrapReport = SM_DEBUG_INITIALIZER("sm_xtrap_report",
21 "@(#)$Debug: sm_xtrap_report - report xtrap count on exit $");