diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/ntdomain.h | 7 | ||||
-rw-r--r-- | source3/include/proto.h | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index 799fa6d907..f56b765d29 100644 --- a/source3/include/ntdomain.h +++ b/source3/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; diff --git a/source3/include/proto.h b/source3/include/proto.h index 006b26cf05..331d080f54 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -3454,7 +3454,7 @@ BOOL api_ntlsa_rpc(pipes_struct *p); /*The following definitions come from rpc_server/srv_lsa_hnd.c */ -void init_pipe_handles(pipes_struct *p); +BOOL init_pipe_handle_list(pipes_struct *p, char *pipe_name); BOOL create_policy_hnd(pipes_struct *p, POLICY_HND *hnd, void (*free_fn)(void *), void *data_ptr); BOOL find_policy_by_hnd(pipes_struct *p, POLICY_HND *hnd, void **data_p); BOOL close_policy_hnd(pipes_struct *p, POLICY_HND *hnd); |