summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_wkssvc.h
diff options
context:
space:
mode:
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;