1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-11 08:23:49 +03:00

r14668: Set the FILE_STATUS_OFFLINE bit by observing the events a DMAPI-based

HSM is interested in. Tested on both IRIX and SLES9.
This commit is contained in:
James Peach
2006-03-22 23:49:09 +00:00
committed by Gerald (Jerry) Carter
parent 203b4911c1
commit 514a767c57
13 changed files with 677 additions and 7 deletions

View File

@@ -76,6 +76,10 @@
(DEBUG(0,("PANIC: assert failed at %s(%d)\n", __FILE__, __LINE__))))
#endif
#define SMB_WARN(condition, message) \
((condition) ? (void)0 : \
DEBUG(0, ("WARNING: %s: %s\n", #condition, message)))
#define SMB_ASSERT_ARRAY(a,n) SMB_ASSERT((sizeof(a)/sizeof((a)[0])) >= (n))
/* these are useful macros for checking validity of handles */