summaryrefslogtreecommitdiff
path: root/source3/lsaparse.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-07 14:58:07 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-07 14:58:07 +0000
commita3b7bdd7b997fd6d41b8b96676eb58471112d931 (patch)
tree78f25b13e323cf484d6c2827661e156326c34390 /source3/lsaparse.c
parent0235299ea51eb553b157de0cffa117d01adf6a70 (diff)
downloadsamba-a3b7bdd7b997fd6d41b8b96676eb58471112d931.tar.gz
samba-a3b7bdd7b997fd6d41b8b96676eb58471112d931.tar.bz2
samba-a3b7bdd7b997fd6d41b8b96676eb58471112d931.zip
pipes.c:
some routines to create LSA RPC packets. none of them are used. lsaparse.c: smbparse.c: smb.h: more tidy-up. (This used to be commit b37e21273e81b875876e8e8ddf6804714044ffd8)
Diffstat (limited to 'source3/lsaparse.c')
-rw-r--r--source3/lsaparse.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/lsaparse.c b/source3/lsaparse.c
index 70d4f49380..43e7ef1d40 100644
--- a/source3/lsaparse.c
+++ b/source3/lsaparse.c
@@ -25,6 +25,20 @@ extern int DEBUGLEVEL;
/*******************************************************************
+reads or writes an LSA_R_OPEN_POL structure.
+********************************************************************/
+char* lsa_io_r_open_pol(BOOL io, LSA_R_OPEN_POL *r_p, char *q, char *base, int align)
+{
+ if (r_p == NULL) return NULL;
+
+ q = smb_io_pol_hnd(io, &(r_p->pol), q, base, align);
+
+ RW_IVAL(io, q, r_p->status, 0); q += 4;
+
+ return q;
+}
+
+/*******************************************************************
reads or writes an LSA_Q_QUERY_INFO structure.
********************************************************************/
char* lsa_io_q_query(BOOL io, LSA_Q_QUERY_INFO *q_q, char *q, char *base, int align)