summaryrefslogtreecommitdiff
path: root/source3/include/ntdomain.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-17 03:06:20 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-17 03:06:20 +0000
commitf2d538a105a61ce6d2852700fc328e15ac158827 (patch)
tree47c819007b231a5a8ebfcc7faa0c1354561366df /source3/include/ntdomain.h
parentc5e2c883c0415ca3c7e366357c8c6ba573713aa6 (diff)
downloadsamba-f2d538a105a61ce6d2852700fc328e15ac158827.tar.gz
samba-f2d538a105a61ce6d2852700fc328e15ac158827.tar.bz2
samba-f2d538a105a61ce6d2852700fc328e15ac158827.zip
some cleanups from the conversion of Pipes[] to a linked list. I also
removed most cases where a pnum is used and substituted a pipes_struct*. in files.c I added a offset of 0x1000 to all file handles on the wire. This makes it much less likely that bad parsing will give us the wrong field. (This used to be commit 8bc2627ff28d340db65bfa017daca2dc291d5ef7)
Diffstat (limited to 'source3/include/ntdomain.h')
-rw-r--r--source3/include/ntdomain.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h
index 0b2648372b..ac411fa653 100644
--- a/source3/include/ntdomain.h
+++ b/source3/include/ntdomain.h
@@ -53,8 +53,10 @@ typedef struct
} prs_struct;
-typedef struct
+typedef struct pipes_struct
{
+ struct pipes_struct *next, *prev;
+ int pnum;
connection_struct *conn;
int uid;
BOOL open; /* open connection */