mirror of
https://github.com/samba-team/samba.git
synced 2025-02-12 21:58:10 +03:00
Remove unused samr_close marshalling.
Guenther (This used to be commit 93d2ad944772513520de22aecffda15f38907b4e)
This commit is contained in:
parent
3d507a2fca
commit
d1f5450625
@ -445,23 +445,6 @@ typedef struct sam_user_info_9
|
|||||||
} SAM_USER_INFO_9;
|
} SAM_USER_INFO_9;
|
||||||
|
|
||||||
|
|
||||||
/* SAMR_Q_CLOSE_HND - probably a policy handle close */
|
|
||||||
typedef struct q_samr_close_hnd_info
|
|
||||||
{
|
|
||||||
POLICY_HND pol; /* policy handle */
|
|
||||||
|
|
||||||
} SAMR_Q_CLOSE_HND;
|
|
||||||
|
|
||||||
|
|
||||||
/* SAMR_R_CLOSE_HND - probably a policy handle close */
|
|
||||||
typedef struct r_samr_close_hnd_info
|
|
||||||
{
|
|
||||||
POLICY_HND pol; /* policy handle */
|
|
||||||
NTSTATUS status; /* return status */
|
|
||||||
|
|
||||||
} SAMR_R_CLOSE_HND;
|
|
||||||
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
SAMR_Q_GET_USRDOM_PWINFO - a "set user info" occurs just after this
|
SAMR_Q_GET_USRDOM_PWINFO - a "set user info" occurs just after this
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
@ -28,61 +28,6 @@
|
|||||||
#undef DBGC_CLASS
|
#undef DBGC_CLASS
|
||||||
#define DBGC_CLASS DBGC_RPC_PARSE
|
#define DBGC_CLASS DBGC_RPC_PARSE
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
inits a SAMR_Q_CLOSE_HND structure.
|
|
||||||
********************************************************************/
|
|
||||||
|
|
||||||
void init_samr_q_close_hnd(SAMR_Q_CLOSE_HND * q_c, POLICY_HND *hnd)
|
|
||||||
{
|
|
||||||
DEBUG(5, ("init_samr_q_close_hnd\n"));
|
|
||||||
|
|
||||||
q_c->pol = *hnd;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
reads or writes a structure.
|
|
||||||
********************************************************************/
|
|
||||||
|
|
||||||
bool samr_io_q_close_hnd(const char *desc, SAMR_Q_CLOSE_HND * q_u,
|
|
||||||
prs_struct *ps, int depth)
|
|
||||||
{
|
|
||||||
if (q_u == NULL)
|
|
||||||
return False;
|
|
||||||
|
|
||||||
prs_debug(ps, depth, desc, "samr_io_q_close_hnd");
|
|
||||||
depth++;
|
|
||||||
|
|
||||||
if(!prs_align(ps))
|
|
||||||
return False;
|
|
||||||
|
|
||||||
return smb_io_pol_hnd("pol", &q_u->pol, ps, depth);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
reads or writes a structure.
|
|
||||||
********************************************************************/
|
|
||||||
|
|
||||||
bool samr_io_r_close_hnd(const char *desc, SAMR_R_CLOSE_HND * r_u,
|
|
||||||
prs_struct *ps, int depth)
|
|
||||||
{
|
|
||||||
if (r_u == NULL)
|
|
||||||
return False;
|
|
||||||
|
|
||||||
prs_debug(ps, depth, desc, "samr_io_r_close_hnd");
|
|
||||||
depth++;
|
|
||||||
|
|
||||||
if(!prs_align(ps))
|
|
||||||
return False;
|
|
||||||
|
|
||||||
if(!smb_io_pol_hnd("pol", &r_u->pol, ps, depth))
|
|
||||||
return False;
|
|
||||||
|
|
||||||
if(!prs_ntstatus("status", ps, depth, &r_u->status))
|
|
||||||
return False;
|
|
||||||
|
|
||||||
return True;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*******************************************************************
|
/*******************************************************************
|
||||||
inits a SAMR_Q_LOOKUP_DOMAIN structure.
|
inits a SAMR_Q_LOOKUP_DOMAIN structure.
|
||||||
********************************************************************/
|
********************************************************************/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user