diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-04-14 11:20:30 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-04-14 14:18:45 -0400 |
commit | 4ad7fe5e6acc87140fc29b635605af8445d2d32f (patch) | |
tree | e4211d9de6ccb57f95f75cae702d9c69d6178249 /server/confdb/confdb.h | |
parent | ac5a54e24ac79a33ddf8320811d981b950e21e8e (diff) | |
download | sssd-4ad7fe5e6acc87140fc29b635605af8445d2d32f.tar.gz sssd-4ad7fe5e6acc87140fc29b635605af8445d2d32f.tar.xz sssd-4ad7fe5e6acc87140fc29b635605af8445d2d32f.zip |
Add common function to retrieve comma sep. lists
Also convert all places where we were using custom code to parse
config arguments.
And fix a copy&paste error in nss_get_config
Diffstat (limited to 'server/confdb/confdb.h')
-rw-r--r-- | server/confdb/confdb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/confdb/confdb.h b/server/confdb/confdb.h index 19614fc45..76e448226 100644 --- a/server/confdb/confdb.h +++ b/server/confdb/confdb.h @@ -80,6 +80,10 @@ int confdb_get_bool(struct confdb_ctx *cdb, TALLOC_CTX *ctx, const char *section, const char *attribute, bool defval, bool *result); +int confdb_get_string_as_list(struct confdb_ctx *cdb, TALLOC_CTX *ctx, + const char *section, const char *attribute, + char ***result); + int confdb_init(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct confdb_ctx **cdb_ctx, |