summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_wkssvc.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-19 23:18:35 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-19 23:18:35 +0000
commit25de3041e6926f4adca229862dfb7e85dad35809 (patch)
tree197745f28798b974bcad0712dd61a97c5295cb2e /source4/librpc/ndr/ndr_wkssvc.h
parente1e98ab0496ae38b2d68d50133ec1da532f02757 (diff)
downloadsamba-25de3041e6926f4adca229862dfb7e85dad35809.tar.gz
samba-25de3041e6926f4adca229862dfb7e85dad35809.tar.bz2
samba-25de3041e6926f4adca229862dfb7e85dad35809.zip
fixed wkssvc idl and test code for TransportEnum
(This used to be commit 42639a8f66e8d4241b24935772552f235f863096)
Diffstat (limited to 'source4/librpc/ndr/ndr_wkssvc.h')
-rw-r--r--source4/librpc/ndr/ndr_wkssvc.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/source4/librpc/ndr/ndr_wkssvc.h b/source4/librpc/ndr/ndr_wkssvc.h
index 7c8b1dd317..9a245dfe5f 100644
--- a/source4/librpc/ndr/ndr_wkssvc.h
+++ b/source4/librpc/ndr/ndr_wkssvc.h
@@ -175,26 +175,22 @@ struct wkssvc_TransportInfoArray {
struct wkssvc_TransportInfo0 *transports;
};
-union wkssvc_TransportUnion {
+union wkssvc_TransportInfo {
/* [case(0)] */ struct wkssvc_TransportInfoArray *array;
};
-struct wkssvc_TransportInfo {
- uint32 level;
- union wkssvc_TransportUnion u;
-};
-
struct wkssvc_TransportEnum {
struct {
const char *server_name;
uint32 level;
- struct wkssvc_TransportInfo *info;
+ union wkssvc_TransportInfo info;
uint32 max_buffer;
uint32 *resume_handle;
} in;
struct {
- struct wkssvc_TransportInfo *info;
+ uint32 level;
+ union wkssvc_TransportInfo info;
uint32 totalentries;
uint32 *resume_handle;
WERROR result;