From 13a278c1b901cadef7e09d1dc6a89d935ebb73ea Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 16 Mar 2010 22:08:37 +0100 Subject: s3: Remove a typedef --- source3/include/passdb.h | 4 ++-- source3/include/proto.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/include') diff --git a/source3/include/passdb.h b/source3/include/passdb.h index 9be2a697a6..3ebf72d960 100644 --- a/source3/include/passdb.h +++ b/source3/include/passdb.h @@ -104,12 +104,12 @@ enum pdb_value_state { #define IS_SAM_DEFAULT(x, flag) (pdb_get_init_flags(x, flag) == PDB_DEFAULT) /* cache for bad password lockout data, to be used on replicated SAMs */ -typedef struct logon_cache_struct { +struct login_cache { time_t entry_timestamp; uint32 acct_ctrl; uint16 bad_password_count; time_t bad_password_time; -} LOGIN_CACHE; +}; #define SAMU_BUFFER_V0 0 #define SAMU_BUFFER_V1 1 diff --git a/source3/include/proto.h b/source3/include/proto.h index 6e210de458..f2ba8e3b24 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4409,8 +4409,8 @@ char* get_string_param( const char* param ); bool login_cache_init(void); bool login_cache_shutdown(void); -LOGIN_CACHE * login_cache_read(struct samu *sampass); -bool login_cache_write(const struct samu *sampass, LOGIN_CACHE entry); +struct login_cache * login_cache_read(struct samu *sampass); +bool login_cache_write(const struct samu *sampass, struct login_cache entry); bool login_cache_delentry(const struct samu *sampass); /* The following definitions come from passdb/lookup_sid.c */ -- cgit