summaryrefslogtreecommitdiffstats
path: root/src/providers/data_provider.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-03-28 11:46:44 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-03-28 15:07:05 -0400
commit419ddca29f074cf446c316b735fbbafc59084458 (patch)
tree76f99ca96486364f8c8fba2e0c32ebde9463b28e /src/providers/data_provider.h
parent65e8f538ad35ba7d86cd9e60a3d86aec34537027 (diff)
downloadsssd-419ddca29f074cf446c316b735fbbafc59084458.tar.gz
sssd-419ddca29f074cf446c316b735fbbafc59084458.tar.xz
sssd-419ddca29f074cf446c316b735fbbafc59084458.zip
Add terminator for dp_option
Diffstat (limited to 'src/providers/data_provider.h')
-rw-r--r--src/providers/data_provider.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/providers/data_provider.h b/src/providers/data_provider.h
index f70d556a7..d119c2b58 100644
--- a/src/providers/data_provider.h
+++ b/src/providers/data_provider.h
@@ -257,6 +257,8 @@ struct dp_option {
union dp_opt_value val;
};
+#define DP_OPTION_TERMINATOR { NULL, 0, NULL_STRING, NULL_STRING }
+
int dp_get_options(TALLOC_CTX *memctx,
struct confdb_ctx *cdb,
const char *conf_path,