summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-17 23:37:45 +0100
committerGünther Deschner <gd@samba.org>2008-02-17 23:43:45 +0100
commitdbcd8b76a63f99e746c4f238e021a7692c29fa48 (patch)
tree5b785a92633786e3e24684cb88d4cdfc8ba731cf
parent3758f06d0f56a1ff86073e91c584e0153d53fd9e (diff)
downloadsamba-dbcd8b76a63f99e746c4f238e021a7692c29fa48.tar.gz
samba-dbcd8b76a63f99e746c4f238e021a7692c29fa48.tar.bz2
samba-dbcd8b76a63f99e746c4f238e021a7692c29fa48.zip
Remove unused marshalling for NTSVCS_GET_VERSION.
Guenther (This used to be commit 58970cc6a8761c30bc4b772b28bb25a112cb684f)
-rw-r--r--source3/include/rpc_ntsvcs.h13
-rw-r--r--source3/rpc_parse/parse_ntsvcs.c37
2 files changed, 0 insertions, 50 deletions
diff --git a/source3/include/rpc_ntsvcs.h b/source3/include/rpc_ntsvcs.h
index 045d9b4e92..a2c40384f7 100644
--- a/source3/include/rpc_ntsvcs.h
+++ b/source3/include/rpc_ntsvcs.h
@@ -36,19 +36,6 @@
/**************************/
typedef struct {
- /* nothing in the request */
- uint32 dummy;
-} NTSVCS_Q_GET_VERSION;
-
-typedef struct {
- uint32 version;
- WERROR status;
-} NTSVCS_R_GET_VERSION;
-
-
-/**************************/
-
-typedef struct {
UNISTR2 *devicename;
uint32 flags;
} NTSVCS_Q_GET_DEVICE_LIST_SIZE;
diff --git a/source3/rpc_parse/parse_ntsvcs.c b/source3/rpc_parse/parse_ntsvcs.c
index 5758517ca0..89ba2030fb 100644
--- a/source3/rpc_parse/parse_ntsvcs.c
+++ b/source3/rpc_parse/parse_ntsvcs.c
@@ -25,43 +25,6 @@
/*******************************************************************
********************************************************************/
-bool ntsvcs_io_q_get_version(const char *desc, NTSVCS_Q_GET_VERSION *q_u, prs_struct *ps, int depth)
-{
- if (q_u == NULL)
- return False;
-
- prs_debug(ps, depth, desc, "ntsvcs_io_q_get_version");
- depth++;
-
- /* there is nothing to parse in this PDU */
-
- return True;
-
-}
-
-/*******************************************************************
-********************************************************************/
-
-bool ntsvcs_io_r_get_version(const char *desc, NTSVCS_R_GET_VERSION *r_u, prs_struct *ps, int depth)
-{
- if ( !r_u )
- return False;
-
- prs_debug(ps, depth, desc, "ntsvcs_io_r_get_version");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!prs_uint32("version", ps, depth, &r_u->version))
- return False;
-
- if(!prs_werror("status", ps, depth, &r_u->status))
- return False;
-
- return True;
-}
-
/*******************************************************************
********************************************************************/