]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Remove unused marshalling for NTSVCS_GET_DEVICE_LIST_SIZE.
authorGünther Deschner <gd@samba.org>
Sun, 17 Feb 2008 23:24:57 +0000 (00:24 +0100)
committerGünther Deschner <gd@samba.org>
Sun, 17 Feb 2008 23:31:14 +0000 (00:31 +0100)
Guenther

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

index 12224fe9576c60fa973ef2996a6aa1fbd27bf26e..55f36628aa64065639f7212180b70faa7b0e9545 100644 (file)
 #define NTSVCS_GET_VERSION_INTERNAL    0x3e
 
 
-/**************************/
-
-typedef struct {
-       UNISTR2 *devicename;
-       uint32 flags;
-} NTSVCS_Q_GET_DEVICE_LIST_SIZE;
-
-typedef struct {
-       uint32 size;
-       WERROR status;
-} NTSVCS_R_GET_DEVICE_LIST_SIZE;
-
-
 /**************************/
 
 typedef struct {
index 86e8d9d952373da33006bfef2767e13ab22d7fc1..faa7f8ddd359ca0159c6ae6a0b2288263d0dac96 100644 (file)
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_RPC_PARSE
 
-/*******************************************************************
-********************************************************************/
-
-/*******************************************************************
-********************************************************************/
-
-bool ntsvcs_io_q_get_device_list_size(const char *desc, NTSVCS_Q_GET_DEVICE_LIST_SIZE *q_u, prs_struct *ps, int depth)
-{
-       if (q_u == NULL)
-               return False;
-
-       prs_debug(ps, depth, desc, "ntsvcs_io_q_get_device_list_size");
-       depth++;
-       
-       if(!prs_align(ps))
-               return False;
-
-       if ( !prs_pointer("devicename", ps, depth, (void*)&q_u->devicename, sizeof(UNISTR2), (PRS_POINTER_CAST)prs_io_unistr2) )
-               return False;
-       if ( !prs_align(ps) )
-               return False;
-               
-       if ( !prs_uint32("flags", ps, depth, &q_u->flags) )
-               return False;
-       
-       return True;
-
-}
-
-/*******************************************************************
-********************************************************************/
-
-bool ntsvcs_io_r_get_device_list_size(const char *desc, NTSVCS_R_GET_DEVICE_LIST_SIZE *r_u, prs_struct *ps, int depth)
-{
-       if ( !r_u )
-               return False;
-
-       prs_debug(ps, depth, desc, "ntsvcs_io_r_get_device_list_size");
-       depth++;
-
-       if(!prs_align(ps))
-               return False;
-               
-       if(!prs_uint32("size", ps, depth, &r_u->size))
-               return False;
-               
-       if(!prs_werror("status", ps, depth, &r_u->status))
-               return False;
-
-       return True;
-}
-
-
 /*******************************************************************
 ********************************************************************/