summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-12-08 18:03:11 +0100
committerGünther Deschner <gd@samba.org>2009-01-06 16:02:13 +0100
commitf93b0fcd95a02b72591dcc956daa6bd94b2e7f41 (patch)
treeec257595af1a05f29094d460e7a5a1a1a6050601 /source3
parente2fa47a04c912856d5bd0f4f76428d5134e24056 (diff)
downloadsamba-f93b0fcd95a02b72591dcc956daa6bd94b2e7f41.tar.gz
samba-f93b0fcd95a02b72591dcc956daa6bd94b2e7f41.tar.bz2
samba-f93b0fcd95a02b72591dcc956daa6bd94b2e7f41.zip
s3-lsa: remove all init_lsa* functions.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h21
-rw-r--r--source3/rpc_client/init_lsa.c70
2 files changed, 0 insertions, 91 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 32f00fcc56..826900c7ae 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -5460,27 +5460,6 @@ void init_lsa_String(struct lsa_String *name, const char *s);
void init_lsa_StringLarge(struct lsa_StringLarge *name, const char *s);
void init_lsa_AsciiString(struct lsa_AsciiString *name, const char *s);
void init_lsa_AsciiStringLarge(struct lsa_AsciiStringLarge *name, const char *s);
-void init_lsa_sec_qos(struct lsa_QosInfo *r,
- uint32_t len,
- uint16_t impersonation_level,
- uint8_t context_mode,
- uint8_t effective_only);
-void init_lsa_obj_attr(struct lsa_ObjectAttribute *r,
- uint32_t len,
- uint8_t *root_dir,
- const char *object_name,
- uint32_t attributes,
- struct security_descriptor *sec_desc,
- struct lsa_QosInfo *sec_qos);
-void init_lsa_translated_sid(struct lsa_TranslatedSid *r,
- enum lsa_SidType sid_type,
- uint32_t rid,
- uint32_t sid_index);
-void init_lsa_translated_name2(struct lsa_TranslatedName2 *r,
- enum lsa_SidType sid_type,
- const char *name,
- uint32_t sid_index,
- uint32_t unknown);
/* The following definitions come from rpc_client/init_netlogon.c */
diff --git a/source3/rpc_client/init_lsa.c b/source3/rpc_client/init_lsa.c
index 9777f27629..96775fd732 100644
--- a/source3/rpc_client/init_lsa.c
+++ b/source3/rpc_client/init_lsa.c
@@ -56,73 +56,3 @@ void init_lsa_AsciiStringLarge(struct lsa_AsciiStringLarge *name, const char *s)
{
name->string = s;
}
-
-/*******************************************************************
- Inits an lsa_QosInfo structure.
-********************************************************************/
-
-void init_lsa_sec_qos(struct lsa_QosInfo *r,
- uint32_t len,
- uint16_t impersonation_level,
- uint8_t context_mode,
- uint8_t effective_only)
-{
- DEBUG(5, ("init_lsa_sec_qos\n"));
-
- r->len = len;
- r->impersonation_level = impersonation_level;
- r->context_mode = context_mode;
- r->effective_only = effective_only;
-}
-
-/*******************************************************************
- Inits an lsa_ObjectAttribute structure.
-********************************************************************/
-
-void init_lsa_obj_attr(struct lsa_ObjectAttribute *r,
- uint32_t len,
- uint8_t *root_dir,
- const char *object_name,
- uint32_t attributes,
- struct security_descriptor *sec_desc,
- struct lsa_QosInfo *sec_qos)
-{
- DEBUG(5,("init_lsa_obj_attr\n"));
-
- r->len = len;
- r->root_dir = root_dir;
- r->object_name = object_name;
- r->attributes = attributes;
- r->sec_desc = sec_desc;
- r->sec_qos = sec_qos;
-}
-
-/*******************************************************************
- Inits a lsa_TranslatedSid structure.
-********************************************************************/
-
-void init_lsa_translated_sid(struct lsa_TranslatedSid *r,
- enum lsa_SidType sid_type,
- uint32_t rid,
- uint32_t sid_index)
-{
- r->sid_type = sid_type;
- r->rid = rid;
- r->sid_index = sid_index;
-}
-
-/*******************************************************************
- Inits a lsa_TranslatedName2 structure.
-********************************************************************/
-
-void init_lsa_translated_name2(struct lsa_TranslatedName2 *r,
- enum lsa_SidType sid_type,
- const char *name,
- uint32_t sid_index,
- uint32_t unknown)
-{
- r->sid_type = sid_type;
- init_lsa_String(&r->name, name);
- r->sid_index = sid_index;
- r->unknown = unknown;
-}