summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_wkssvc.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-18 03:28:01 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-18 03:28:01 +0000
commitec7a2944cdaf9255df965ed33e791eb2ee67d29d (patch)
treeafad7c65d76d56c41a24f1a7644d908bd266c390 /source4/librpc/ndr/ndr_wkssvc.h
parentcb22240eb4f58936fb0e5f9d97ae23099c11c31a (diff)
downloadsamba-ec7a2944cdaf9255df965ed33e791eb2ee67d29d.tar.gz
samba-ec7a2944cdaf9255df965ed33e791eb2ee67d29d.tar.bz2
samba-ec7a2944cdaf9255df965ed33e791eb2ee67d29d.zip
fill in skeletons for the rest of the function calls in wkssvc (based
on function names in ethereal) implement TransportEnum - quite a cute call, you can ask for the workstations list of network transports, including its ethernet address. (This used to be commit 62d7e9819c95c906d1094f711bc60cf58def30f6)
Diffstat (limited to 'source4/librpc/ndr/ndr_wkssvc.h')
-rw-r--r--source4/librpc/ndr/ndr_wkssvc.h367
1 files changed, 363 insertions, 4 deletions
diff --git a/source4/librpc/ndr/ndr_wkssvc.h b/source4/librpc/ndr/ndr_wkssvc.h
index f18ff11a83..2337f84e7a 100644
--- a/source4/librpc/ndr/ndr_wkssvc.h
+++ b/source4/librpc/ndr/ndr_wkssvc.h
@@ -14,7 +14,7 @@ struct wks_Info101 {
const char *domain;
uint32 ver_major;
uint32 ver_minor;
- const char *unknown;
+ const char *lan_root;
};
struct wks_Info102 {
@@ -23,8 +23,8 @@ struct wks_Info102 {
const char *domain;
uint32 ver_major;
uint32 ver_minor;
- const char *unknown;
- uint32 unknown2;
+ const char *lan_root;
+ uint32 logged_on_users;
};
union wks_Info {
@@ -41,9 +41,368 @@ struct wks_QueryInfo {
struct {
union wks_Info info;
- NTSTATUS result;
+ WERROR result;
+ } out;
+
+};
+
+struct wks_SetInfo {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRWKSTAUSERENUM {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRWKSTAUSERGETINFO {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRWKSTAUSERSETINFO {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct wks_TransportInfo0 {
+ uint32 quality_of_service;
+ uint32 vc_count;
+ const char *name;
+ const char *address;
+ uint32 wan_link;
+};
+
+struct wks_TransportInfoArray {
+ uint32 count;
+ struct wks_TransportInfo0 *transports;
+};
+
+union wks_TransportUnion {
+/* [case(0)] */ struct wks_TransportInfoArray *array;
+};
+
+struct wks_TransportInfo {
+ uint32 level;
+ union wks_TransportUnion u;
+};
+
+struct wks_TransportEnum {
+ struct {
+ const char *server_name;
+ struct wks_TransportInfo *info;
+ uint32 max_buffer;
+ uint32 *resume_handle;
+ } in;
+
+ struct {
+ struct wks_TransportInfo *info;
+ uint32 unknown;
+ uint32 *resume_handle;
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRWKSTATRANSPORTADD {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRWKSTATRANSPORTDEL {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRUSEADD {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRUSEGETINFO {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRUSEDEL {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRUSEENUM {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRMESSAGEBUFFERSEND {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRWORKSTATIONSTATISTICSGET {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRLOGONDOMAINNAMEADD {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRLOGONDOMAINNAMEDEL {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRJOINDOMAIN {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRUNJOINDOMAIN {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRRENAMEMACHINEINDOMAIN {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRVALIDATENAME {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRGETJOININFORMATION {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRGETJOINABLEOUS {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRJOINDOMAIN2 {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRUNJOINDOMAIN2 {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRRENAMEMACHINEINDOMAIN2 {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRVALIDATENAME2 {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRGETJOINABLEOUS2 {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRADDALTERNATECOMPUTERNAME {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRREMOVEALTERNATECOMPUTERNAME {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRSETPRIMARYCOMPUTERNAME {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
+ } out;
+
+};
+
+struct WKS_NETRENUMERATECOMPUTERNAMES {
+ struct {
+ } in;
+
+ struct {
+ WERROR result;
} out;
};
#define DCERPC_WKS_QUERYINFO 0
+#define DCERPC_WKS_SETINFO 1
+#define DCERPC_WKS_NETRWKSTAUSERENUM 2
+#define DCERPC_WKS_NETRWKSTAUSERGETINFO 3
+#define DCERPC_WKS_NETRWKSTAUSERSETINFO 4
+#define DCERPC_WKS_TRANSPORTENUM 5
+#define DCERPC_WKS_NETRWKSTATRANSPORTADD 6
+#define DCERPC_WKS_NETRWKSTATRANSPORTDEL 7
+#define DCERPC_WKS_NETRUSEADD 8
+#define DCERPC_WKS_NETRUSEGETINFO 9
+#define DCERPC_WKS_NETRUSEDEL 10
+#define DCERPC_WKS_NETRUSEENUM 11
+#define DCERPC_WKS_NETRMESSAGEBUFFERSEND 12
+#define DCERPC_WKS_NETRWORKSTATIONSTATISTICSGET 13
+#define DCERPC_WKS_NETRLOGONDOMAINNAMEADD 14
+#define DCERPC_WKS_NETRLOGONDOMAINNAMEDEL 15
+#define DCERPC_WKS_NETRJOINDOMAIN 16
+#define DCERPC_WKS_NETRUNJOINDOMAIN 17
+#define DCERPC_WKS_NETRRENAMEMACHINEINDOMAIN 18
+#define DCERPC_WKS_NETRVALIDATENAME 19
+#define DCERPC_WKS_NETRGETJOININFORMATION 20
+#define DCERPC_WKS_NETRGETJOINABLEOUS 21
+#define DCERPC_WKS_NETRJOINDOMAIN2 22
+#define DCERPC_WKS_NETRUNJOINDOMAIN2 23
+#define DCERPC_WKS_NETRRENAMEMACHINEINDOMAIN2 24
+#define DCERPC_WKS_NETRVALIDATENAME2 25
+#define DCERPC_WKS_NETRGETJOINABLEOUS2 26
+#define DCERPC_WKS_NETRADDALTERNATECOMPUTERNAME 27
+#define DCERPC_WKS_NETRREMOVEALTERNATECOMPUTERNAME 28
+#define DCERPC_WKS_NETRSETPRIMARYCOMPUTERNAME 29
+#define DCERPC_WKS_NETRENUMERATECOMPUTERNAMES 30