summaryrefslogtreecommitdiffstats
path: root/src/providers/data_provider.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-02-24 15:42:51 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-02-26 15:29:12 +0100
commit802220cc4ef437d8f169c51c7ce073a51f507b92 (patch)
tree157300c0f4e35fdd4d3d20fd31884d831cae0d96 /src/providers/data_provider.h
parentd07cb60c1f4b9a7e1618b50ca2fc817298e5db12 (diff)
downloadsssd-802220cc4ef437d8f169c51c7ce073a51f507b92.tar.gz
sssd-802220cc4ef437d8f169c51c7ce073a51f507b92.tar.xz
sssd-802220cc4ef437d8f169c51c7ce073a51f507b92.zip
DP: Provide separate dp_copy_defaults function
https://fedorahosted.org/sssd/ticket/2257 Reviewed-by: Pavel Březina <pbrezina@redhat.com> (cherry picked from commit 90afedb00608547ae1f32aa7aafd552c4b306909)
Diffstat (limited to 'src/providers/data_provider.h')
-rw-r--r--src/providers/data_provider.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/providers/data_provider.h b/src/providers/data_provider.h
index d086d5d2f..d86ff58e6 100644
--- a/src/providers/data_provider.h
+++ b/src/providers/data_provider.h
@@ -295,6 +295,11 @@ int dp_copy_options(TALLOC_CTX *memctx,
int num_opts,
struct dp_option **_opts);
+int dp_copy_defaults(TALLOC_CTX *memctx,
+ struct dp_option *src_opts,
+ int num_opts,
+ struct dp_option **_opts);
+
const char *_dp_opt_get_cstring(struct dp_option *opts,
int id, const char *location);
char *_dp_opt_get_string(struct dp_option *opts,