summaryrefslogtreecommitdiffstats
path: root/source/include/ntdomain.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-13 20:18:45 +0000
committerJeremy Allison <jra@samba.org>2001-03-13 20:18:45 +0000
commita24b248a77ccac364832ff7d4df083d437caf9ed (patch)
tree604400cda21c2feefd08a9ff498a66ddcc8432af /source/include/ntdomain.h
parent500c7bc0fed16713401643bdede67cc0c8044d52 (diff)
downloadsamba-a24b248a77ccac364832ff7d4df083d437caf9ed.tar.gz
samba-a24b248a77ccac364832ff7d4df083d437caf9ed.tar.xz
samba-a24b248a77ccac364832ff7d4df083d437caf9ed.zip
Move to a handle database per pipe name, not per pipe.
Jeremy.
Diffstat (limited to 'source/include/ntdomain.h')
-rw-r--r--source/include/ntdomain.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/include/ntdomain.h b/source/include/ntdomain.h
index 799fa6d9072..f56b765d291 100644
--- a/source/include/ntdomain.h
+++ b/source/include/ntdomain.h
@@ -153,8 +153,9 @@ struct policy
};
struct handle_list {
- struct policy *Policy;
- size_t count;
+ struct policy *Policy; /* List of policies. */
+ size_t count; /* Current number of handles. */
+ size_t pipe_ref_count; /* Number of pipe handles referring to this list. */
};
/* Domain controller authentication protocol info */
@@ -246,7 +247,7 @@ typedef struct pipes_struct
TALLOC_CTX *mem_ctx;
/* handle database to use on this pipe. */
- struct handle_list pipe_handles;
+ struct handle_list *pipe_handles;
} pipes_struct;