summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-04-18 16:10:57 +0200
committerVolker Lendecke <vl@samba.org>2009-04-19 09:27:14 +0200
commit9b3f2e69f772a12c661879109e0edcda6c365be4 (patch)
tree3f149c91a4a19c012364779b32f34e4aa02d8743 /source3/include
parentfa4ff87acdfc2fa064eb7fb9d45eef0969128994 (diff)
downloadsamba-9b3f2e69f772a12c661879109e0edcda6c365be4.tar.gz
samba-9b3f2e69f772a12c661879109e0edcda6c365be4.tar.bz2
samba-9b3f2e69f772a12c661879109e0edcda6c365be4.zip
Make "struct policy" private to srv_lsa_hnd.c
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/ntdomain.h18
-rw-r--r--source3/include/proto.h1
2 files changed, 2 insertions, 17 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h
index c95931b5d0..de53aebb91 100644
--- a/source3/include/ntdomain.h
+++ b/source3/include/ntdomain.h
@@ -110,23 +110,7 @@ typedef struct _input_data {
prs_struct data;
} input_data;
-/*
- * Handle database - stored per pipe.
- */
-
-struct policy {
- struct policy *next, *prev;
-
- struct policy_handle pol_hnd;
-
- void *data_ptr;
-};
-
-struct handle_list {
- 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. */
-};
+struct handle_list;
/* Domain controller authentication protocol info */
struct dcinfo {
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 8eb5c46fbd..b99588f717 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -5875,6 +5875,7 @@ NTSTATUS evlog_convert_tdb_to_evt(TALLOC_CTX *mem_ctx,
/* The following definitions come from rpc_server/srv_lsa_hnd.c */
+size_t num_pipe_handles(struct handle_list *list);
bool init_pipe_handle_list(pipes_struct *p,
const struct ndr_syntax_id *syntax);
bool create_policy_hnd(pipes_struct *p, struct policy_handle *hnd, void *data_ptr);