190792Sgshapiro/*
2261194Sgshapiro * Copyright (c) 2000 Proofpoint, Inc. and its suppliers.
390792Sgshapiro *	All rights reserved.
490792Sgshapiro *
590792Sgshapiro * By using this file, you agree to the terms and conditions set
690792Sgshapiro * forth in the LICENSE file which can be found at the top level of
790792Sgshapiro * the sendmail distribution.
890792Sgshapiro */
990792Sgshapiro
1090792Sgshapiro#include <sm/gen.h>
11266527SgshapiroSM_RCSID("@(#)$Id: xtrap.c,v 1.6 2013-11-22 20:51:44 ca Exp $")
1290792Sgshapiro
1390792Sgshapiro#include <sm/xtrap.h>
1490792Sgshapiro
1590792SgshapiroSM_ATOMIC_UINT_T SmXtrapCount;
1690792Sgshapiro
1790792SgshapiroSM_DEBUG_T SmXtrapDebug = SM_DEBUG_INITIALIZER("sm_xtrap",
1890792Sgshapiro	"@(#)$Debug: sm_xtrap - raise exception at N'th xtrap point $");
1990792Sgshapiro
2090792SgshapiroSM_DEBUG_T SmXtrapReport = SM_DEBUG_INITIALIZER("sm_xtrap_report",
2190792Sgshapiro	"@(#)$Debug: sm_xtrap_report - report xtrap count on exit $");
22