From: Günther Deschner Date: Fri, 6 Jun 2008 10:51:12 +0000 (+0200) Subject: re-run make idl. X-Git-Tag: samba-3.3.0pre1~876 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=782ab0f1c1c0957a1111a76c2c1ea7bd99d38311;p=thirdparty%2Fsamba.git re-run make idl. Guenther --- diff --git a/source/librpc/gen_ndr/libnetapi.h b/source/librpc/gen_ndr/libnetapi.h index 10044186462..8fc812cc1b9 100644 --- a/source/librpc/gen_ndr/libnetapi.h +++ b/source/librpc/gen_ndr/libnetapi.h @@ -128,6 +128,21 @@ struct LOCALGROUP_INFO_1002 { const char * lgrpi1002_comment; }; +struct TIME_OF_DAY_INFO { + uint32_t tod_elapsedt; + uint32_t tod_msecs; + uint32_t tod_hours; + uint32_t tod_mins; + uint32_t tod_secs; + uint32_t tod_hunds; + int32_t tod_timezone; + uint32_t tod_tinterval; + uint32_t tod_day; + uint32_t tod_month; + uint32_t tod_year; + uint32_t tod_weekday; +}; + struct NetJoinDomain { struct { @@ -477,4 +492,17 @@ struct NetLocalGroupSetInfo { }; + +struct NetRemoteTOD { + struct { + const char * server_name; + } in; + + struct { + uint8_t **buf;/* [ref] */ + enum NET_API_STATUS result; + } out; + +}; + #endif /* _HEADER_libnetapi */ diff --git a/source/librpc/gen_ndr/ndr_libnetapi.c b/source/librpc/gen_ndr/ndr_libnetapi.c index 469b0ab54af..238cfdf1ed4 100644 --- a/source/librpc/gen_ndr/ndr_libnetapi.c +++ b/source/librpc/gen_ndr/ndr_libnetapi.c @@ -1225,3 +1225,34 @@ _PUBLIC_ void ndr_print_NetLocalGroupSetInfo(struct ndr_print *ndr, const char * ndr->depth--; } +_PUBLIC_ void ndr_print_NetRemoteTOD(struct ndr_print *ndr, const char *name, int flags, const struct NetRemoteTOD *r) +{ + ndr_print_struct(ndr, name, "NetRemoteTOD"); + ndr->depth++; + if (flags & NDR_SET_VALUES) { + ndr->flags |= LIBNDR_PRINT_SET_VALUES; + } + if (flags & NDR_IN) { + ndr_print_struct(ndr, "in", "NetRemoteTOD"); + ndr->depth++; + ndr_print_string(ndr, "server_name", r->in.server_name); + ndr->depth--; + } + if (flags & NDR_OUT) { + ndr_print_struct(ndr, "out", "NetRemoteTOD"); + ndr->depth++; + ndr_print_ptr(ndr, "buf", r->out.buf); + ndr->depth++; + ndr_print_ptr(ndr, "buf", *r->out.buf); + ndr->depth++; + if (*r->out.buf) { + ndr_print_uint8(ndr, "buf", **r->out.buf); + } + ndr->depth--; + ndr->depth--; + ndr_print_NET_API_STATUS(ndr, "result", r->out.result); + ndr->depth--; + } + ndr->depth--; +} + diff --git a/source/librpc/gen_ndr/ndr_libnetapi.h b/source/librpc/gen_ndr/ndr_libnetapi.h index 8ab00f5fbcf..422c7028715 100644 --- a/source/librpc/gen_ndr/ndr_libnetapi.h +++ b/source/librpc/gen_ndr/ndr_libnetapi.h @@ -52,7 +52,9 @@ #define NDR_NETLOCALGROUPSETINFO (0x16) -#define NDR_LIBNETAPI_CALL_COUNT (23) +#define NDR_NETREMOTETOD (0x17) + +#define NDR_LIBNETAPI_CALL_COUNT (24) enum ndr_err_code ndr_push_NET_API_STATUS(struct ndr_push *ndr, int ndr_flags, enum NET_API_STATUS r); enum ndr_err_code ndr_pull_NET_API_STATUS(struct ndr_pull *ndr, int ndr_flags, enum NET_API_STATUS *r); void ndr_print_NET_API_STATUS(struct ndr_print *ndr, const char *name, enum NET_API_STATUS r); @@ -149,4 +151,7 @@ void ndr_print_NetLocalGroupGetInfo(struct ndr_print *ndr, const char *name, int enum ndr_err_code ndr_push_NetLocalGroupSetInfo(struct ndr_push *ndr, int flags, const struct NetLocalGroupSetInfo *r); enum ndr_err_code ndr_pull_NetLocalGroupSetInfo(struct ndr_pull *ndr, int flags, struct NetLocalGroupSetInfo *r); void ndr_print_NetLocalGroupSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetLocalGroupSetInfo *r); +enum ndr_err_code ndr_push_NetRemoteTOD(struct ndr_push *ndr, int flags, const struct NetRemoteTOD *r); +enum ndr_err_code ndr_pull_NetRemoteTOD(struct ndr_pull *ndr, int flags, struct NetRemoteTOD *r); +void ndr_print_NetRemoteTOD(struct ndr_print *ndr, const char *name, int flags, const struct NetRemoteTOD *r); #endif /* _HEADER_NDR_libnetapi */