summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-06-16 10:26:47 -0700
committerJeremy Allison <jra@samba.org>2010-06-16 10:26:47 -0700
commit5a77d648d9ce2ad60d4a951b69461a5b3d24289f (patch)
tree3f960b16fd9e06a1ae7e843bd0ca32bbebdaf7fa /source3
parent1614bcf0ecae211a92c308cd795c138d0533ee63 (diff)
downloadsamba-5a77d648d9ce2ad60d4a951b69461a5b3d24289f.tar.gz
samba-5a77d648d9ce2ad60d4a951b69461a5b3d24289f.tar.bz2
samba-5a77d648d9ce2ad60d4a951b69461a5b3d24289f.zip
Remove two unused functions (prs_force_dynamic, prs_set_session_key).
Jeremy.
Diffstat (limited to 'source3')
-rw-r--r--source3/include/ntdomain.h1
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/rpc_parse/parse_prs.c18
3 files changed, 0 insertions, 21 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h
index 668691fb47..213cb9ff75 100644
--- a/source3/include/ntdomain.h
+++ b/source3/include/ntdomain.h
@@ -44,7 +44,6 @@ typedef struct _prs_struct {
uint32 grow_size; /* size requested via prs_grow() calls */
char *data_p; /* The buffer itself. */
TALLOC_CTX *mem_ctx; /* When unmarshalling, use this.... */
- const char *sess_key; /* If we have to do encrypt/decrypt on the fly. */
} prs_struct;
/*
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 31a1d45a27..07a6757936 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -5100,8 +5100,6 @@ bool prs_align_custom(prs_struct *ps, uint8 boundary);
bool prs_align_needed(prs_struct *ps, uint32 needed);
char *prs_mem_get(prs_struct *ps, uint32 extra_size);
void prs_switch_type(prs_struct *ps, bool io);
-void prs_force_dynamic(prs_struct *ps);
-void prs_set_session_key(prs_struct *ps, const char sess_key[16]);
bool prs_uint8(const char *name, prs_struct *ps, int depth, uint8 *data8);
bool prs_uint16(const char *name, prs_struct *ps, int depth, uint16 *data16);
bool prs_uint32(const char *name, prs_struct *ps, int depth, uint32 *data32);
diff --git a/source3/rpc_parse/parse_prs.c b/source3/rpc_parse/parse_prs.c
index 41bfd8ae0f..42e6ce1b7b 100644
--- a/source3/rpc_parse/parse_prs.c
+++ b/source3/rpc_parse/parse_prs.c
@@ -584,24 +584,6 @@ void prs_switch_type(prs_struct *ps, bool io)
}
/*******************************************************************
- Force a prs_struct to be dynamic even when it's size is 0.
- ********************************************************************/
-
-void prs_force_dynamic(prs_struct *ps)
-{
- ps->is_dynamic=True;
-}
-
-/*******************************************************************
- Associate a session key with a parse struct.
- ********************************************************************/
-
-void prs_set_session_key(prs_struct *ps, const char sess_key[16])
-{
- ps->sess_key = sess_key;
-}
-
-/*******************************************************************
Stream a uint8.
********************************************************************/