summaryrefslogtreecommitdiff
path: root/source4/libcli/rap
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-10-09 11:19:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:52 -0500
commit5c4626504872ce1d0eb3f48f7162b607119b7e09 (patch)
tree3ed20baa2101442975242f26fc4227bad1e10406 /source4/libcli/rap
parent2338e978322510d5b6def6edac40a868e4945d2e (diff)
downloadsamba-5c4626504872ce1d0eb3f48f7162b607119b7e09.tar.gz
samba-5c4626504872ce1d0eb3f48f7162b607119b7e09.tar.bz2
samba-5c4626504872ce1d0eb3f48f7162b607119b7e09.zip
r19200: Implement smbcli_rap_netservergetinfo. To be used in RPC-SAMBA3SPOOLSS and
others that might need the server name. Volker (This used to be commit 03eaf0edf9f8a6d70375f9f12810b4fbb860290a)
Diffstat (limited to 'source4/libcli/rap')
-rw-r--r--source4/libcli/rap/rap.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/source4/libcli/rap/rap.h b/source4/libcli/rap/rap.h
index c831f6f007..46bce225ff 100644
--- a/source4/libcli/rap/rap.h
+++ b/source4/libcli/rap/rap.h
@@ -343,3 +343,17 @@ struct rap_NetServerEnum2 {
union rap_server_info *info;
} out;
};
+
+struct rap_WserverGetInfo {
+ struct {
+ uint16_t level;
+ uint16_t bufsize;
+ } in;
+
+ struct {
+ uint16_t status;
+ uint16_t convert;
+ uint16_t available;
+ union rap_server_info info;
+ } out;
+};