From d9e311ddce50a6decc55ea442f562d11f06e2f78 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 16 Mar 2010 16:15:39 -0400 Subject: s4:lsa Functions to set Domain Trust Information --- librpc/gen_ndr/lsa.h | 2 +- librpc/gen_ndr/ndr_lsa.c | 4 ++-- librpc/gen_ndr/ndr_lsa.h | 2 ++ librpc/idl/lsa.idl | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) (limited to 'librpc') diff --git a/librpc/gen_ndr/lsa.h b/librpc/gen_ndr/lsa.h index a03fdc2361..f48d875c52 100644 --- a/librpc/gen_ndr/lsa.h +++ b/librpc/gen_ndr/lsa.h @@ -564,7 +564,7 @@ struct lsa_TrustDomainInfoAuthInfo { uint32_t outgoing_count; struct lsa_TrustDomainInfoBuffer *outgoing_current_auth_info;/* [unique] */ struct lsa_TrustDomainInfoBuffer *outgoing_previous_auth_info;/* [unique] */ -}; +}/* [public] */; struct lsa_TrustDomainInfoFullInfo { struct lsa_TrustDomainInfoInfoEx info_ex; diff --git a/librpc/gen_ndr/ndr_lsa.c b/librpc/gen_ndr/ndr_lsa.c index 9d1fb09b2e..5ed3e2d082 100644 --- a/librpc/gen_ndr/ndr_lsa.c +++ b/librpc/gen_ndr/ndr_lsa.c @@ -3316,7 +3316,7 @@ _PUBLIC_ void ndr_print_lsa_TrustDomainInfoBuffer(struct ndr_print *ndr, const c ndr->depth--; } -static enum ndr_err_code ndr_push_lsa_TrustDomainInfoAuthInfo(struct ndr_push *ndr, int ndr_flags, const struct lsa_TrustDomainInfoAuthInfo *r) +_PUBLIC_ enum ndr_err_code ndr_push_lsa_TrustDomainInfoAuthInfo(struct ndr_push *ndr, int ndr_flags, const struct lsa_TrustDomainInfoAuthInfo *r) { if (ndr_flags & NDR_SCALARS) { NDR_CHECK(ndr_push_align(ndr, 5)); @@ -3345,7 +3345,7 @@ static enum ndr_err_code ndr_push_lsa_TrustDomainInfoAuthInfo(struct ndr_push *n return NDR_ERR_SUCCESS; } -static enum ndr_err_code ndr_pull_lsa_TrustDomainInfoAuthInfo(struct ndr_pull *ndr, int ndr_flags, struct lsa_TrustDomainInfoAuthInfo *r) +_PUBLIC_ enum ndr_err_code ndr_pull_lsa_TrustDomainInfoAuthInfo(struct ndr_pull *ndr, int ndr_flags, struct lsa_TrustDomainInfoAuthInfo *r) { uint32_t _ptr_incoming_current_auth_info; TALLOC_CTX *_mem_save_incoming_current_auth_info_0; diff --git a/librpc/gen_ndr/ndr_lsa.h b/librpc/gen_ndr/ndr_lsa.h index c6bfa71d0d..4a2392e590 100644 --- a/librpc/gen_ndr/ndr_lsa.h +++ b/librpc/gen_ndr/ndr_lsa.h @@ -262,6 +262,8 @@ enum ndr_err_code ndr_push_lsa_TrustAuthType(struct ndr_push *ndr, int ndr_flags enum ndr_err_code ndr_pull_lsa_TrustAuthType(struct ndr_pull *ndr, int ndr_flags, enum lsa_TrustAuthType *r); void ndr_print_lsa_TrustAuthType(struct ndr_print *ndr, const char *name, enum lsa_TrustAuthType r); void ndr_print_lsa_TrustDomainInfoBuffer(struct ndr_print *ndr, const char *name, const struct lsa_TrustDomainInfoBuffer *r); +enum ndr_err_code ndr_push_lsa_TrustDomainInfoAuthInfo(struct ndr_push *ndr, int ndr_flags, const struct lsa_TrustDomainInfoAuthInfo *r); +enum ndr_err_code ndr_pull_lsa_TrustDomainInfoAuthInfo(struct ndr_pull *ndr, int ndr_flags, struct lsa_TrustDomainInfoAuthInfo *r); void ndr_print_lsa_TrustDomainInfoAuthInfo(struct ndr_print *ndr, const char *name, const struct lsa_TrustDomainInfoAuthInfo *r); void ndr_print_lsa_TrustDomainInfoFullInfo(struct ndr_print *ndr, const char *name, const struct lsa_TrustDomainInfoFullInfo *r); void ndr_print_lsa_TrustDomainInfoAuthInfoInternal(struct ndr_print *ndr, const char *name, const struct lsa_TrustDomainInfoAuthInfoInternal *r); diff --git a/librpc/idl/lsa.idl b/librpc/idl/lsa.idl index 3560fa16a6..e9c65045d9 100644 --- a/librpc/idl/lsa.idl +++ b/librpc/idl/lsa.idl @@ -770,7 +770,7 @@ import "misc.idl", "security.idl"; lsa_DATA_BUF2 data; } lsa_TrustDomainInfoBuffer; - typedef struct { + typedef [public] struct { uint32 incoming_count; lsa_TrustDomainInfoBuffer *incoming_current_auth_info; lsa_TrustDomainInfoBuffer *incoming_previous_auth_info; -- cgit