mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
Remove unused marshalling for NTSVCS_GET_VERSION.
Guenther
This commit is contained in:
parent
5300ff01b9
commit
58970cc6a8
@ -33,19 +33,6 @@
|
||||
#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 {
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
********************************************************************/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user