diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-12-15 18:46:37 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-12-29 21:10:49 +0100 |
commit | 0544734309feea44e8d449737a9934231f63693d (patch) | |
tree | 98286bf9580d96ae2ef26d8610efadb461e0c7e4 /source3/include/passdb.h | |
parent | 60b366369e7653d9981b4ebd147667400974ccb9 (diff) | |
download | samba-0544734309feea44e8d449737a9934231f63693d.tar.gz samba-0544734309feea44e8d449737a9934231f63693d.tar.xz samba-0544734309feea44e8d449737a9934231f63693d.zip |
s3:passdb: make marshalling struct samu from and to a buffer more generic
This marshalling isn't specific to tdbsam and it's
ugly to have the related functions in two different files.
metze
Diffstat (limited to 'source3/include/passdb.h')
-rw-r--r-- | source3/include/passdb.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h index 744b723c83f..bd0929fc75c 100644 --- a/source3/include/passdb.h +++ b/source3/include/passdb.h @@ -95,7 +95,13 @@ typedef struct logon_cache_struct { uint16 bad_password_count; time_t bad_password_time; } LOGIN_CACHE; - + +#define SAMU_BUFFER_V0 0 +#define SAMU_BUFFER_V1 1 +#define SAMU_BUFFER_V2 2 +#define SAMU_BUFFER_V3 3 +#define SAMU_BUFFER_LATEST SAMU_BUFFER_V3 + struct samu { struct pdb_methods *methods; |