summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-09-25 21:20:37 +0000
committerLuke Leighton <lkcl@samba.org>1998-09-25 21:20:37 +0000
commitff07b2e4a37f23af90a27456a116b773ae3bbf97 (patch)
treeccda14e8480b8f85fe1dd5e76a9efa36a157dcf5 /source3/rpc_parse
parent66d5d73a5d75e88a77970f7b27687b8354ab2e80 (diff)
downloadsamba-ff07b2e4a37f23af90a27456a116b773ae3bbf97.tar.gz
samba-ff07b2e4a37f23af90a27456a116b773ae3bbf97.tar.bz2
samba-ff07b2e4a37f23af90a27456a116b773ae3bbf97.zip
added wksinfo command to rpcclient, which don't work too good.
(This used to be commit 8d23da91cbd74a45a5b030688fd89d88a25738dc)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_wks.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_wks.c b/source3/rpc_parse/parse_wks.c
index a5e4d2318f..2386fa6636 100644
--- a/source3/rpc_parse/parse_wks.c
+++ b/source3/rpc_parse/parse_wks.c
@@ -28,6 +28,19 @@
extern int DEBUGLEVEL;
/*******************************************************************
+ make_wks_q_query_info
+ ********************************************************************/
+void make_wks_q_query_info(WKS_Q_QUERY_INFO *q_u,
+ char *server, uint16 switch_value)
+{
+ DEBUG(5,("make_wks_q_query_info\n"));
+
+ make_buf_unistr2(&(q_u->uni_srv_name), &(q_u->ptr_srv_name), server);
+ q_u->switch_value = switch_value;
+
+}
+
+/*******************************************************************
reads or writes a WKS_Q_QUERY_INFO structure.
********************************************************************/
void wks_io_q_query_info(char *desc, WKS_Q_QUERY_INFO *q_u, prs_struct *ps, int depth)