summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-14 13:31:55 +0100
committerGünther Deschner <gd@samba.org>2008-02-14 13:53:27 +0100
commitc6cd8ec909269be0f6800c7d59db94090b3c647b (patch)
tree16b6bbc0da554eeffcbfd300bd322786ebbb6007 /source3/rpc_parse
parenta75d6543a00fbdc52f2f783377737c4dc6f28569 (diff)
downloadsamba-c6cd8ec909269be0f6800c7d59db94090b3c647b.tar.gz
samba-c6cd8ec909269be0f6800c7d59db94090b3c647b.tar.bz2
samba-c6cd8ec909269be0f6800c7d59db94090b3c647b.zip
Remove unused marshalling for LSA_LOOKUP_PRIV_VALUE.
Guenther (This used to be commit 8125d8557fb4b27873f8eabc6ad1019491d18cce)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_lsa.c67
1 files changed, 0 insertions, 67 deletions
diff --git a/source3/rpc_parse/parse_lsa.c b/source3/rpc_parse/parse_lsa.c
index 2230c9147f..602021146f 100644
--- a/source3/rpc_parse/parse_lsa.c
+++ b/source3/rpc_parse/parse_lsa.c
@@ -1276,73 +1276,6 @@ static bool lsa_io_privilege_set(const char *desc, PRIVILEGE_SET *out, prs_struc
return True;
}
-void init_lsa_string( LSA_STRING *uni, const char *string )
-{
- init_unistr2(&uni->unistring, string, UNI_FLAGS_NONE);
- init_uni_hdr(&uni->hdr, &uni->unistring);
-}
-
-void init_lsa_q_lookup_priv_value(LSA_Q_LOOKUP_PRIV_VALUE *q_u, POLICY_HND *hnd, const char *name)
-{
- memcpy(&q_u->pol, hnd, sizeof(q_u->pol));
- init_lsa_string( &q_u->privname, name );
-}
-
-bool smb_io_lsa_string( const char *desc, LSA_STRING *string, prs_struct *ps, int depth )
-{
- prs_debug(ps, depth, desc, "smb_io_lsa_string");
- depth++;
-
- if(!smb_io_unihdr ("hdr", &string->hdr, ps, depth))
- return False;
- if(!smb_io_unistr2("unistring", &string->unistring, string->hdr.buffer, ps, depth))
- return False;
-
- return True;
-}
-
-/*******************************************************************
- Reads or writes an LSA_Q_LOOKUP_PRIV_VALUE structure.
-********************************************************************/
-
-bool lsa_io_q_lookup_priv_value(const char *desc, LSA_Q_LOOKUP_PRIV_VALUE *out, prs_struct *ps, int depth)
-{
- prs_debug(ps, depth, desc, "lsa_io_q_lookup_priv_value");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!smb_io_pol_hnd("pol", &out->pol, ps, depth))
- return False;
- if(!smb_io_lsa_string("privname", &out->privname, ps, depth))
- return False;
-
- return True;
-}
-
-/*******************************************************************
- Reads or writes an LSA_R_LOOKUP_PRIV_VALUE structure.
-********************************************************************/
-
-bool lsa_io_r_lookup_priv_value(const char *desc, LSA_R_LOOKUP_PRIV_VALUE *out, prs_struct *ps, int depth)
-{
- prs_debug(ps, depth, desc, "lsa_io_r_lookup_priv_value");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!lsa_io_luid("luid", &out->luid, ps, depth))
- return False;
-
- if(!prs_ntstatus("status", ps, depth, &out->status))
- return False;
-
- return True;
-}
-
-
/*******************************************************************
Reads or writes an LSA_Q_ADDPRIVS structure.
********************************************************************/