diff options
-rw-r--r-- | source3/include/smb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index e88737f046..9d6c8d7e29 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1563,6 +1563,9 @@ extern int unix_ERR_code; #define CMD_REPLY 0x8000 +/* useful macros */ +#define ZERO_STRUCT(x) memset((char *)&(x), 0, sizeof(x)) + #endif /* _SMB_H */ #include "ntdomain.h" |