summaryrefslogtreecommitdiff
path: root/source3/lsaparse.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-05 14:17:53 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-05 14:17:53 +0000
commit84e362dd132e250ddb5ca0223e2b27dc484b3ff7 (patch)
tree0dac28d5679264271743bce843f4e4546ba32723 /source3/lsaparse.c
parent5e4bc79c6ee33704633c2616c030c263d14fefe0 (diff)
downloadsamba-84e362dd132e250ddb5ca0223e2b27dc484b3ff7.tar.gz
samba-84e362dd132e250ddb5ca0223e2b27dc484b3ff7.tar.bz2
samba-84e362dd132e250ddb5ca0223e2b27dc484b3ff7.zip
updating lsa and smb parsing routines and structures.
(This used to be commit 2f722fe289051558dbe77aeb0a830bb3ded10a83)
Diffstat (limited to 'source3/lsaparse.c')
-rw-r--r--source3/lsaparse.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/source3/lsaparse.c b/source3/lsaparse.c
index 52c9335cd0..0e38c8a667 100644
--- a/source3/lsaparse.c
+++ b/source3/lsaparse.c
@@ -75,7 +75,20 @@ char* lsa_io_r_query(BOOL io, LSA_R_QUERY_INFO *r_q, char *q, char *base, int al
/*******************************************************************
reads or writes a structure.
********************************************************************/
- char* smb_io_(BOOL io, *, char *q, char *base, int align)
+ char* lsa_io_(BOOL io, *, char *q, char *base, int align)
+{
+ if (== NULL) return NULL;
+
+ q = align_offset(q, base, align);
+
+ RW_IVAL(io, q, , 0); q += 4;
+
+ return q;
+}
+/*******************************************************************
+reads or writes a structure.
+********************************************************************/
+ char* lsa_io_(BOOL io, *, char *q, char *base, int align)
{
if (== NULL) return NULL;