6211a202301e6f61d46cdb2bf0be332a70c7fdea |
|
21-Nov-2017 |
Pavel Březina <pbrezina@redhat.com> |
dp: use void * to express empty output argument list
Since we cannot use plain void type is function definition.
Related:
https://pagure.io/SSSD/sssd/issue/2840
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com> |
2f18b8d67c86a1a277b59894f24ea6e09b41b7ea |
|
27-Jun-2016 |
Pavel Březina <pbrezina@redhat.com> |
DP: Add function to get be_ctx directly from dp_client
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
d3dee2a07f1a8ee9ae6f94e149ced754ef76c248 |
|
20-Jun-2016 |
Pavel Březina <pbrezina@redhat.com> |
DP: Introduce new interface for backend
Terminology:
* Backend: Implemenation of domain
* Data Provider: interface between backend and responders
* Module: ldap/ipa/ad/... dlopened library that implements dp interface
* Target: id/autofs/sudo/... functionality of module
Benefits over current code:
* data provider is a black box completely separated from backend
* method handlers are just simple tevent requests on backend side
* no need of spy on be_client
* simplified and error proof adding of new responders
* simplified adding of new methods
* reply to D-Bus message is completely handled by DP code
* each target can have several methods defined
* properties can be added on objects
* each method can have output parameters
* modules now support constructor
* improved debugging
* clear memory hierarchy
* ability to chain requests
* type safe private data
Reviewed-by: Sumit Bose <sbose@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |