]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
re-run make idl.
authorGünther Deschner <gd@samba.org>
Fri, 6 Jun 2008 10:51:12 +0000 (12:51 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 17 Jun 2008 17:56:27 +0000 (19:56 +0200)
Guenther
(This used to be commit 782ab0f1c1c0957a1111a76c2c1ea7bd99d38311)

source3/librpc/gen_ndr/libnetapi.h
source3/librpc/gen_ndr/ndr_libnetapi.c
source3/librpc/gen_ndr/ndr_libnetapi.h

index 100441864624f0bdda05cf073a338b1ea66ff21c..8fc812cc1b9d0901b794946dea754fce822d0da3 100644 (file)
@@ -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 */
index 469b0ab54af8dd55f87200e9489f069ea0cbb43c..238cfdf1ed4046861601ff042648e0f168976366 100644 (file)
@@ -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--;
+}
+
index 8ab00f5fbcfb413f0be0a7283be05c99261e1d66..422c70287156a6b14bd68b32899acf3955f4600a 100644 (file)
@@ -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 */