]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Remove unused marshalling for NTSVCS_GET_VERSION.
authorGünther Deschner <gd@samba.org>
Sun, 17 Feb 2008 22:37:45 +0000 (23:37 +0100)
committerGünther Deschner <gd@samba.org>
Sun, 17 Feb 2008 22:43:45 +0000 (23:43 +0100)
Guenther

source/include/rpc_ntsvcs.h
source/rpc_parse/parse_ntsvcs.c

index 045d9b4e925a75d47949b7aeb9d68103471ed802..a2c40384f7a4ee2364cc8424be1488be47cc777f 100644 (file)
 #define NTSVCS_GET_VERSION_INTERNAL    0x3e
 
 
-/**************************/
-
-typedef struct {
-       /* nothing in the request */
-       uint32 dummy;
-} NTSVCS_Q_GET_VERSION;
-
-typedef struct {
-       uint32 version;
-       WERROR status;
-} NTSVCS_R_GET_VERSION;
-
-
 /**************************/
 
 typedef struct {
index 5758517ca0e25ba40dc0ef81b6708017bf7d24fe..89ba2030fb351b2d217930ca4bdb3a3da0eee6bf 100644 (file)
 /*******************************************************************
 ********************************************************************/
 
-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;
-}
-
 /*******************************************************************
 ********************************************************************/