summaryrefslogtreecommitdiffstats
path: root/src/python/pysss.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-06 03:16:08 -0500
committerSimo Sorce <simo@redhat.com>2013-01-11 10:43:09 -0500
commitbab2300cfb5c4e124c9f747718853633f62e4e3e (patch)
tree13d919b295d933974a7aabdd309a14648bb96006 /src/python/pysss.c
parentb68c199a2a5fe09baa009e4ccb7a69906556f237 (diff)
Refactor sysdb initialization
Change the way sysdbs are initialized. Make callers responsible for providing the list of domains. Remove the returned array of sysdb contexts, it was used only by sss_cache and not really necessary there either as that tool can easily iterate the domains. Make sysdb ctx children of their respective domains. Neither sysdb context nor domains are ever freed until a program is done so there shouldn't be any memory hierarchy issue. As plus we simplify the code by removing a destructor and a setter function.
Diffstat (limited to 'src/python/pysss.c')
0 files changed, 0 insertions, 0 deletions