diff options
author | Volker Lendecke <vl@samba.org> | 2009-07-14 11:33:04 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-07-15 10:55:20 +0200 |
commit | 3d7dfc1197017c34bdb8dbc6e62460f19bd7d141 (patch) | |
tree | f831c34e69be040c22b7e5b7edba096a548f898b /source3/include | |
parent | 8a17cd810fa6cbe7b11139ff0f6f24e7bacd318b (diff) | |
download | samba-3d7dfc1197017c34bdb8dbc6e62460f19bd7d141.tar.gz samba-3d7dfc1197017c34bdb8dbc6e62460f19bd7d141.tar.bz2 samba-3d7dfc1197017c34bdb8dbc6e62460f19bd7d141.zip |
Consolidate string and data_blob routines in gencache
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index dd49e53338..df7815587c 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -518,7 +518,8 @@ void pull_file_id_24(char *buf, struct file_id *id); bool gencache_set(const char *keystr, const char *value, time_t timeout); bool gencache_del(const char *keystr); bool gencache_get(const char *keystr, char **valstr, time_t *timeout); -bool gencache_get_data_blob(const char *keystr, DATA_BLOB *blob, bool *expired); +bool gencache_get_data_blob(const char *keystr, DATA_BLOB *blob, + time_t *timeout); bool gencache_stabilize(void); bool gencache_set_data_blob(const char *keystr, const DATA_BLOB *blob, time_t timeout); void gencache_iterate(void (*fn)(const char* key, const char *value, time_t timeout, void* dptr), |