summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-04 22:06:27 +0100
committerGünther Deschner <gd@samba.org>2008-02-04 22:12:41 +0100
commit97ccb4f8a31cc74cce3566ec30aaad57de0bc894 (patch)
treec68d3caa518ac5252b36e8644983318534872b57
parentd04f1416ea6521745d84d066b5b304f8446b9248 (diff)
downloadsamba-97ccb4f8a31cc74cce3566ec30aaad57de0bc894.tar.gz
samba-97ccb4f8a31cc74cce3566ec30aaad57de0bc894.tar.bz2
samba-97ccb4f8a31cc74cce3566ec30aaad57de0bc894.zip
Remove unused marshalling for LSA_DELETE_OBJECT.
Guenther (This used to be commit 3a32082ef5bb0152545b391ce4cb8ca3a28939da)
-rw-r--r--source3/include/rpc_lsa.h10
-rw-r--r--source3/rpc_parse/parse_lsa.c31
2 files changed, 0 insertions, 41 deletions
diff --git a/source3/include/rpc_lsa.h b/source3/include/rpc_lsa.h
index c18df0d32e..2825efc038 100644
--- a/source3/include/rpc_lsa.h
+++ b/source3/include/rpc_lsa.h
@@ -908,14 +908,4 @@ typedef struct lsa_r_removeprivs
NTSTATUS status;
} LSA_R_REMOVEPRIVS;
-/*******************************************************/
-
-typedef struct {
- POLICY_HND handle;
-} LSA_Q_DELETE_OBJECT;
-
-typedef struct {
- NTSTATUS status;
-} LSA_R_DELETE_OBJECT;
-
#endif /* _RPC_LSA_H */
diff --git a/source3/rpc_parse/parse_lsa.c b/source3/rpc_parse/parse_lsa.c
index 035aee971b..daf4806392 100644
--- a/source3/rpc_parse/parse_lsa.c
+++ b/source3/rpc_parse/parse_lsa.c
@@ -3206,34 +3206,3 @@ bool lsa_io_r_remove_acct_rights(const char *desc, LSA_R_REMOVE_ACCT_RIGHTS *out
return True;
}
-
-/*******************************************************************
-********************************************************************/
-
-bool lsa_io_q_delete_object(const char *desc, LSA_Q_DELETE_OBJECT *in, prs_struct *ps, int depth)
-{
- prs_debug(ps, depth, desc, "lsa_io_q_delete_object");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!smb_io_pol_hnd("", &in->handle, ps, depth))
- return False;
-
- return True;
-}
-
-/*******************************************************************
-********************************************************************/
-
-bool lsa_io_r_delete_object(const char *desc, LSA_R_DELETE_OBJECT *out, prs_struct *ps, int depth)
-{
- prs_debug(ps, depth, desc, "lsa_io_r_delete_object");
- depth++;
-
- if(!prs_ntstatus("status", ps, depth, &out->status))
- return False;
-
- return True;
-}