summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema/schema.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-03-22 18:44:51 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-03-22 20:24:41 +1100
commitf8019ff793a735563ccedf5581c72e015fd62014 (patch)
tree4e2e5ac79bdcda472b09ed8c78b3f977f3a61da8 /source4/dsdb/schema/schema.h
parentfe3e1af901c970f738bee92baac5d7d4f5736e17 (diff)
downloadsamba-f8019ff793a735563ccedf5581c72e015fd62014.tar.gz
s4:dsdb Add a shortcut sequence number for schema reloads
This uses the ldb sequence number, in a hope to detect an unchanged schema quicker. Andrew Bartlett
Diffstat (limited to 'source4/dsdb/schema/schema.h')
-rw-r--r--source4/dsdb/schema/schema.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/dsdb/schema/schema.h b/source4/dsdb/schema/schema.h
index b5334c73135..7283744f7d0 100644
--- a/source4/dsdb/schema/schema.h
+++ b/source4/dsdb/schema/schema.h
@@ -213,6 +213,8 @@ struct dsdb_schema {
struct ldb_module *loaded_from_module;
struct dsdb_schema *(*refresh_fn)(struct ldb_module *module, struct dsdb_schema *schema, bool is_global_schema);
bool refresh_in_progress;
+ /* an 'opaque' sequence number that the reload function may also wish to use */
+ uint64_t reload_seq_number;
};
enum dsdb_attr_list_query {