summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-20 19:51:07 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-20 19:51:07 +0200
commit7498f9a9d809af1213699b9349546ba51fd0d2b5 (patch)
treeb9a1adcf2571eab75ac592d306a7a1e284a0c14b /source3
parent6d2d09348f8354bc7d906fba6f5b31d9bca0d664 (diff)
downloadsamba-7498f9a9d809af1213699b9349546ba51fd0d2b5.tar.gz
samba-7498f9a9d809af1213699b9349546ba51fd0d2b5.tar.bz2
samba-7498f9a9d809af1213699b9349546ba51fd0d2b5.zip
Add missing prototypes for samba3-specific libndr/util.c
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index dd924bc18c..81a1d10d0b 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2412,6 +2412,16 @@ ADS_STATUS gp_get_machine_token(ADS_STRUCT *ads,
#include "librpc/ndr/libndr.h"
+/* The following definitions come from librpc/ndr/util.c */
+
+NTSTATUS ndr_map_error2ntstatus(enum ndr_err_code ndr_err);
+enum ndr_err_code ndr_push_server_id(struct ndr_push *ndr, int ndr_flags, const struct server_id *r);
+enum ndr_err_code ndr_pull_server_id(struct ndr_pull *ndr, int ndr_flags, struct server_id *r);
+void ndr_print_server_id(struct ndr_print *ndr, const char *name, const struct server_id *r);
+_PUBLIC_ void ndr_print_bool(struct ndr_print *ndr, const char *name, const bool b);
+_PUBLIC_ void ndr_print_sockaddr_storage(struct ndr_print *ndr, const char *name, const struct sockaddr_storage *ss);
+const char *ndr_errstr(enum ndr_err_code err);
+
/* The following definitions come from librpc/ndr/ndr_sec_helper.c */
size_t ndr_size_dom_sid(const struct dom_sid *sid, int flags);
@@ -2743,7 +2753,6 @@ NTSTATUS cli_raw_ntlm_smb_encryption_start(struct cli_state *cli,
const char *pass,
const char *domain);
NTSTATUS cli_gss_smb_encryption_start(struct cli_state *cli);
-NTSTATUS cli_gss_smb_encryption_start(struct cli_state *cli);
NTSTATUS cli_force_encryption(struct cli_state *c,
const char *username,
const char *password,