summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-08-28 06:43:43 +0000
committerTim Potter <tpot@samba.org>2001-08-28 06:43:43 +0000
commitd5c9172adadb83283e437578be7bad4368ad9f20 (patch)
treef21c0e6d07b15375bced92c0e3a96cdf653642a4 /source3/include
parent49dff249fc3f9155037016dd131cbaa41e5306bc (diff)
downloadsamba-d5c9172adadb83283e437578be7bad4368ad9f20.tar.gz
samba-d5c9172adadb83283e437578be7bad4368ad9f20.tar.bz2
samba-d5c9172adadb83283e437578be7bad4368ad9f20.zip
Merge of sam sync code from TNG.
Reverse-engineered the sam replication protocol from staring at hex dumps for a while. It's pretty similar to the sam sync protocol with a couple of different delta header types. I wasn't able to figure out the format of the privilege stuff - needs more time and a whiteboard. (-: The impressive bit is that the sam sync stuff from tng basically just worked thanks mainly to Luke Leighton's efforts in this area. (This used to be commit 3a60cb44f22d5f3f8c78a56ed8f5ea4794cd7ab3)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_misc.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/source3/include/rpc_misc.h b/source3/include/rpc_misc.h
index 428db938de..558c28459e 100644
--- a/source3/include/rpc_misc.h
+++ b/source3/include/rpc_misc.h
@@ -348,5 +348,24 @@ typedef struct uint64_s
uint32 high;
} UINT64_S;
+/* BUFHDR2 - another buffer header, with info level */
+typedef struct bufhdr2_info
+{
+ uint32 info_level;
+ uint32 length; /* uint8 chars */
+ uint32 buffer;
+
+}
+BUFHDR2;
+
+/* BUFFER4 - simple length and buffer */
+typedef struct buffer4_info
+{
+ uint32 buf_len;
+ uint8 buffer[MAX_BUFFERLEN];
+
+}
+BUFFER4;
+
#endif /* _RPC_MISC_H */