From 7498f9a9d809af1213699b9349546ba51fd0d2b5 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 20 Oct 2008 19:51:07 +0200 Subject: Add missing prototypes for samba3-specific libndr/util.c --- source3/include/proto.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/include/proto.h b/source3/include/proto.h index dd924bc18cd..81a1d10d0bf 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, -- cgit