diff options
author | Volker Lendecke <vl@samba.org> | 2010-03-16 22:08:37 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-03-16 22:35:41 +0100 |
commit | 13a278c1b901cadef7e09d1dc6a89d935ebb73ea (patch) | |
tree | b5c8f12b6ee47d30a3f0f73cd39ae18f4c785a07 /source3/include | |
parent | 02d7cdc671e27b5ed717c4c0e088b8457caa6e4a (diff) | |
download | samba-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.h | 4 | ||||
-rw-r--r-- | source3/include/proto.h | 4 |
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 */ |