1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Remove unused marshalling for SVCCTL_UNLOCK_SERVICE_DB.

Guenther
This commit is contained in:
Günther Deschner 2008-02-19 02:50:54 +01:00
parent 300bf76a79
commit eeb598a19a
2 changed files with 0 additions and 52 deletions

View File

@ -272,17 +272,6 @@ typedef struct {
} SVCCTL_R_QUERY_SERVICE_STATUSEX; } SVCCTL_R_QUERY_SERVICE_STATUSEX;
/**************************/
typedef struct {
POLICY_HND h_lock;
} SVCCTL_Q_UNLOCK_SERVICE_DB;
typedef struct {
WERROR status;
} SVCCTL_R_UNLOCK_SERVICE_DB;
/**************************/ /**************************/
typedef struct { typedef struct {

View File

@ -593,47 +593,6 @@ bool svcctl_io_r_query_service_status_ex(const char *desc, SVCCTL_R_QUERY_SERVIC
/******************************************************************* /*******************************************************************
********************************************************************/ ********************************************************************/
bool svcctl_io_q_unlock_service_db(const char *desc, SVCCTL_Q_UNLOCK_SERVICE_DB *q_u, prs_struct *ps, int depth)
{
if (q_u == NULL)
return False;
prs_debug(ps, depth, desc, "svcctl_io_q_unlock_service_db");
depth++;
if(!prs_align(ps))
return False;
if(!smb_io_pol_hnd("h_lock", &q_u->h_lock, ps, depth))
return False;
return True;
}
/*******************************************************************
********************************************************************/
bool svcctl_io_r_unlock_service_db(const char *desc, SVCCTL_R_UNLOCK_SERVICE_DB *r_u, prs_struct *ps, int depth)
{
if ( !r_u )
return False;
prs_debug(ps, depth, desc, "svcctl_io_r_unlock_service_db");
depth++;
if(!prs_align(ps))
return False;
if(!prs_werror("status", ps, depth, &r_u->status))
return False;
return True;
}
/*******************************************************************
********************************************************************/
bool svcctl_io_q_query_service_sec(const char *desc, SVCCTL_Q_QUERY_SERVICE_SEC *q_u, prs_struct *ps, int depth) bool svcctl_io_q_query_service_sec(const char *desc, SVCCTL_Q_QUERY_SERVICE_SEC *q_u, prs_struct *ps, int depth)
{ {
if (q_u == NULL) if (q_u == NULL)