diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-10-16 18:38:40 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-10-20 11:03:47 -0400 |
commit | 1199bb0194d735e212f80735b33307a3467b7a3c (patch) | |
tree | d63ac0faf7225653aa2c9d313b5ee3110b19e241 /server/providers/data_provider.h | |
parent | e69e61b796482536a600b9e285b1f9661f1f77d4 (diff) | |
download | sssd-1199bb0194d735e212f80735b33307a3467b7a3c.tar.gz sssd-1199bb0194d735e212f80735b33307a3467b7a3c.tar.bz2 sssd-1199bb0194d735e212f80735b33307a3467b7a3c.zip |
Start implementing ipa specific options.
First step generate ldap options from ipa options.
Add sssd-ipa man page too.
Diffstat (limited to 'server/providers/data_provider.h')
-rw-r--r-- | server/providers/data_provider.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/server/providers/data_provider.h b/server/providers/data_provider.h index 7653f078..57b318fd 100644 --- a/server/providers/data_provider.h +++ b/server/providers/data_provider.h @@ -180,6 +180,11 @@ int dp_get_options(TALLOC_CTX *memctx, int num_opts, struct dp_option **_opts); +int dp_copy_options(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, @@ -196,4 +201,17 @@ bool _dp_opt_get_bool(struct dp_option *opts, #define dp_opt_get_int(o, i) _dp_opt_get_int(o, i, __FUNCTION__) #define dp_opt_get_bool(o, i) _dp_opt_get_bool(o, i, __FUNCTION__) +int _dp_opt_set_string(struct dp_option *opts, int id, + const char *s, const char *location); +int _dp_opt_set_blob(struct dp_option *opts, int id, + struct dp_opt_blob b, const char *location); +int _dp_opt_set_int(struct dp_option *opts, int id, + int i, const char *location); +int _dp_opt_set_bool(struct dp_option *opts, int id, + bool b, const char *location); +#define dp_opt_set_string(o, i, v) _dp_opt_set_string(o, i, v, __FUNCTION__) +#define dp_opt_set_blob(o, i, v) _dp_opt_set_blob(o, i, v, __FUNCTION__) +#define dp_opt_set_int(o, i, v) _dp_opt_set_int(o, i, v, __FUNCTION__) +#define dp_opt_set_bool(o, i, v) _dp_opt_set_bool(o, i, v, __FUNCTION__) + #endif /* __DATA_PROVIDER_ */ |