003 File Manager
Current Path:
/usr/src/contrib/sendmail/include/sm
usr
/
src
/
contrib
/
sendmail
/
include
/
sm
/
📁
..
📄
assert.h
(2.88 KB)
📄
bdb.h
(1.29 KB)
📄
bitops.h
(1.78 KB)
📄
cdefs.h
(3.8 KB)
📄
cf.h
(533 B)
📄
clock.h
(2.16 KB)
📄
conf.h
(91.52 KB)
📄
config.h
(4.08 KB)
📄
debug.h
(3.06 KB)
📄
errstring.h
(3.27 KB)
📄
exc.h
(3.54 KB)
📄
fdset.h
(690 B)
📄
gen.h
(1.78 KB)
📄
heap.h
(3.19 KB)
📄
io.h
(11.73 KB)
📄
ldap.h
(3.44 KB)
📄
limits.h
(1.26 KB)
📄
mbdb.h
(1.05 KB)
📄
misc.h
(489 B)
📄
notify.h
(520 B)
📁
os
📄
path.h
(824 B)
📄
rpool.h
(4.07 KB)
📄
sem.h
(1.37 KB)
📄
sendmail.h
(662 B)
📄
setjmp.h
(1.33 KB)
📄
shm.h
(1 KB)
📄
signal.h
(2.01 KB)
📄
string.h
(2.65 KB)
📄
sysexits.h
(4.24 KB)
📄
tailq.h
(5.77 KB)
📄
test.h
(912 B)
📄
time.h
(1.32 KB)
📄
types.h
(1.62 KB)
📄
varargs.h
(1.29 KB)
📄
xtrap.h
(833 B)
Editing: assert.h
/* * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set * forth in the LICENSE file which can be found at the top level of * the sendmail distribution. * * $Id: assert.h,v 1.11 2013-11-22 20:51:31 ca Exp $ */ /* ** libsm abnormal program termination and assertion checking ** See libsm/assert.html for documentation. */ #ifndef SM_ASSERT_H # define SM_ASSERT_H # include <sm/gen.h> # include <sm/debug.h> /* ** abnormal program termination */ typedef void (*SM_ABORT_HANDLER_T) __P((const char *, int, const char *)); extern SM_DEAD(void sm_abort_at __P(( const char *, int, const char *))); extern void sm_abort_sethandler __P(( SM_ABORT_HANDLER_T)); extern SM_DEAD(void PRINTFLIKE(1, 2) sm_abort __P(( char *, ...))); /* ** assertion checking */ # ifndef SM_CHECK_ALL # define SM_CHECK_ALL 1 # endif # ifndef SM_CHECK_REQUIRE # define SM_CHECK_REQUIRE SM_CHECK_ALL # endif # ifndef SM_CHECK_ENSURE # define SM_CHECK_ENSURE SM_CHECK_ALL # endif # ifndef SM_CHECK_ASSERT # define SM_CHECK_ASSERT SM_CHECK_ALL # endif # if SM_CHECK_REQUIRE # if defined(__STDC__) || defined(__cplusplus) # define SM_REQUIRE(cond) \ ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ "SM_REQUIRE(" #cond ") failed"), 0))) # else /* defined(__STDC__) || defined(__cplusplus) */ # define SM_REQUIRE(cond) \ ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ "SM_REQUIRE(cond) failed"), 0))) # endif /* defined(__STDC__) || defined(__cplusplus) */ # else /* SM_CHECK_REQUIRE */ # define SM_REQUIRE(cond) ((void) 0) # endif /* SM_CHECK_REQUIRE */ # define SM_REQUIRE_ISA(obj, magic) \ SM_REQUIRE((obj) != NULL && (obj)->sm_magic == (magic)) # if SM_CHECK_ENSURE # if defined(__STDC__) || defined(__cplusplus) # define SM_ENSURE(cond) \ ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ "SM_ENSURE(" #cond ") failed"), 0))) # else /* defined(__STDC__) || defined(__cplusplus) */ # define SM_ENSURE(cond) \ ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ "SM_ENSURE(cond) failed"), 0))) # endif /* defined(__STDC__) || defined(__cplusplus) */ # else /* SM_CHECK_ENSURE */ # define SM_ENSURE(cond) ((void) 0) # endif /* SM_CHECK_ENSURE */ # if SM_CHECK_ASSERT # if defined(__STDC__) || defined(__cplusplus) # define SM_ASSERT(cond) \ ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ "SM_ASSERT(" #cond ") failed"), 0))) # else /* defined(__STDC__) || defined(__cplusplus) */ # define SM_ASSERT(cond) \ ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ "SM_ASSERT(cond) failed"), 0))) # endif /* defined(__STDC__) || defined(__cplusplus) */ # else /* SM_CHECK_ASSERT */ # define SM_ASSERT(cond) ((void) 0) # endif /* SM_CHECK_ASSERT */ extern SM_DEBUG_T SmExpensiveRequire; extern SM_DEBUG_T SmExpensiveEnsure; extern SM_DEBUG_T SmExpensiveAssert; #endif /* ! SM_ASSERT_H */
Upload File
Create Folder