diff options
author | Günther Deschner <gd@samba.org> | 2008-06-06 12:51:12 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-06-17 19:56:27 +0200 |
commit | de7de69530b886e84627daa9597327dc4f2e0afb (patch) | |
tree | e2425c5e2c2eb56dc3a5901aa506f23a6c8edba6 /source3/librpc/gen_ndr | |
parent | db1db7da92011aa66b5442808d7cb8c529c0a83e (diff) | |
download | samba-de7de69530b886e84627daa9597327dc4f2e0afb.tar.gz samba-de7de69530b886e84627daa9597327dc4f2e0afb.tar.bz2 samba-de7de69530b886e84627daa9597327dc4f2e0afb.zip |
re-run make idl.
Guenther
(This used to be commit 782ab0f1c1c0957a1111a76c2c1ea7bd99d38311)
Diffstat (limited to 'source3/librpc/gen_ndr')
-rw-r--r-- | source3/librpc/gen_ndr/libnetapi.h | 28 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.c | 31 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.h | 7 |
3 files changed, 65 insertions, 1 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h index 1004418646..8fc812cc1b 100644 --- a/source3/librpc/gen_ndr/libnetapi.h +++ b/source3/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/source3/librpc/gen_ndr/ndr_libnetapi.c b/source3/librpc/gen_ndr/ndr_libnetapi.c index 469b0ab54a..238cfdf1ed 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.c +++ b/source3/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/source3/librpc/gen_ndr/ndr_libnetapi.h b/source3/librpc/gen_ndr/ndr_libnetapi.h index 8ab00f5fbc..422c702871 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.h +++ b/source3/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 */ |