summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-03-16 22:08:37 +0100
committerVolker Lendecke <vl@samba.org>2010-03-16 22:35:41 +0100
commit13a278c1b901cadef7e09d1dc6a89d935ebb73ea (patch)
treeb5c8f12b6ee47d30a3f0f73cd39ae18f4c785a07 /source3/include
parent02d7cdc671e27b5ed717c4c0e088b8457caa6e4a (diff)
downloadsamba-13a278c1b901cadef7e09d1dc6a89d935ebb73ea.tar.gz
samba-13a278c1b901cadef7e09d1dc6a89d935ebb73ea.tar.bz2
samba-13a278c1b901cadef7e09d1dc6a89d935ebb73ea.zip
s3: Remove a typedef
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/passdb.h4
-rw-r--r--source3/include/proto.h4
2 files changed, 4 insertions, 4 deletions
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 */