From d2b40a7de259377d937492acedd39988ddd108a4 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 7 Jul 2000 06:20:46 +0000 Subject: More rpcclient merge issues: * fixes some readline bugs from the merge * first attempt at commands (spoolenum almost works) * no changes to existing functions in HEAD; only additions of new functions. I'll weed out what I can as I go. --jerry (This used to be commit 61d2aad5dc2b212b11c981f1eca47efa627e9fc8) --- source3/include/ntdomain.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'source3/include/ntdomain.h') diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index 08c8163cda..ebd24c9dd6 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -37,6 +37,18 @@ * A bunch of stuff that was put into smb.h * in the NTDOM branch - it didn't belong there. */ + +#define CHECK_STRUCT(data) \ +{ \ + if ((data)->struct_start != 0xfefefefe || \ + (data)->struct_end != 0xdcdcdcdc) \ + { \ + DEBUG(0,("uninitialised structure (%s, %d)\n", \ + FUNCTION_MACRO, __LINE__)); \ + sleep(30); \ + } \ +} + typedef struct _prs_struct { -- cgit