[SCM] Samba Shared Repository - branch master updated
Jeremy Allison
jra at samba.org
Wed Jun 16 11:27:36 MDT 2010
The branch, master has been updated
via 5a77d64... Remove two unused functions (prs_force_dynamic, prs_set_session_key).
from 1614bcf... codepages-waf: When built with --with-fhs, install to $prefix/share/samba, not $prefix/share.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 5a77d648d9ce2ad60d4a951b69461a5b3d24289f
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 16 10:26:47 2010 -0700
Remove two unused functions (prs_force_dynamic, prs_set_session_key).
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source3/include/ntdomain.h | 1 -
source3/include/proto.h | 2 --
source3/rpc_parse/parse_prs.c | 18 ------------------
3 files changed, 0 insertions(+), 21 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h
index 668691f..213cb9f 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 31a1d45..07a6757 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 41bfd8a..42e6ce1 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.
********************************************************************/
--
Samba Shared Repository
More information about the samba-cvs
mailing list