summaryrefslogtreecommitdiff
path: root/source3/lib/smbconf/smbconf_private.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-21 22:52:27 +0100
committerMichael Adam <obnox@samba.org>2008-03-21 22:52:27 +0100
commitbe97af0edb085e1e33e3e8fbc97760249a720b52 (patch)
treeac4bc8316de5ca69969a5295ccd6e82ccb4dedd1 /source3/lib/smbconf/smbconf_private.h
parent6f7cfeddd61f728e2452a7b89f5ee2ff36ca394f (diff)
downloadsamba-be97af0edb085e1e33e3e8fbc97760249a720b52.tar.gz
samba-be97af0edb085e1e33e3e8fbc97760249a720b52.tar.bz2
samba-be97af0edb085e1e33e3e8fbc97760249a720b52.zip
libsmbconf: add private_data section to smbconf_ctx.
This private data should be used by backends. The token for the registry backend is moved from the context to the private data section, since this is registry specific. Michael (This used to be commit a02163356bdd0c17a25a45e9904f8bd1e1c4bee4)
Diffstat (limited to 'source3/lib/smbconf/smbconf_private.h')
-rw-r--r--source3/lib/smbconf/smbconf_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbconf/smbconf_private.h b/source3/lib/smbconf/smbconf_private.h
index 6250dc7339..e08a2b186a 100644
--- a/source3/lib/smbconf/smbconf_private.h
+++ b/source3/lib/smbconf/smbconf_private.h
@@ -54,9 +54,9 @@ struct smbconf_ops {
};
struct smbconf_ctx {
- NT_USER_TOKEN *token;
const char *path;
struct smbconf_ops *ops;
+ void *data; /* private data for use in backends */
};
WERROR smbconf_add_string_to_array(TALLOC_CTX *mem_ctx,