From 5a77d648d9ce2ad60d4a951b69461a5b3d24289f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 16 Jun 2010 10:26:47 -0700 Subject: Remove two unused functions (prs_force_dynamic, prs_set_session_key). Jeremy. --- source3/include/ntdomain.h | 1 - source3/include/proto.h | 2 -- 2 files changed, 3 deletions(-) (limited to 'source3/include') 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); -- cgit