xtrap.c revision 266692
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>
11SM_RCSID("@(#)$Id: xtrap.c,v 1.6 2013-11-22 20:51:44 ca Exp $")
12
13#include <sm/xtrap.h>
14
15SM_ATOMIC_UINT_T SmXtrapCount;
16
17SM_DEBUG_T SmXtrapDebug = SM_DEBUG_INITIALIZER("sm_xtrap",
18	"@(#)$Debug: sm_xtrap - raise exception at N'th xtrap point $");
19
20SM_DEBUG_T SmXtrapReport = SM_DEBUG_INITIALIZER("sm_xtrap_report",
21	"@(#)$Debug: sm_xtrap_report - report xtrap count on exit $");
22