summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorFabiano Fidêncio <fidencio@redhat.com>2016-12-14 09:23:14 +0100
committerLukas Slebodnik <lslebodn@redhat.com>2017-01-23 18:46:37 +0100
commitb46c4c0d3e364636af1b42683cd3229ffa0b77cb (patch)
tree596aa518cd7da12b48d803cb62333d8ddfb6fe72 /src/providers
parent26f11a75dc0d973d575e5d2d56dc13a698a68ea5 (diff)
downloadsssd-b46c4c0d3e364636af1b42683cd3229ffa0b77cb.tar.gz
sssd-b46c4c0d3e364636af1b42683cd3229ffa0b77cb.tar.xz
sssd-b46c4c0d3e364636af1b42683cd3229ffa0b77cb.zip
SBUS: Add a time_t pointer to the sbus_connection
The idea of this commit is to provide a way to update the time of the last request coming from/going to the responders through sbus. For now it's not used anywhere as all the functions that will pass their time_t to the sbus_connection are currently passing NULL. It will be used by follow-up patches. Related: https://fedorahosted.org/sssd/ticket/3245 Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Reviewed-by: Pavel Březina <pbrezina@redhat.com> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/data_provider_be.c3
-rw-r--r--src/providers/proxy/proxy_child.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/providers/data_provider_be.c b/src/providers/data_provider_be.c
index 36f96df6e..12b5f43d0 100644
--- a/src/providers/data_provider_be.c
+++ b/src/providers/data_provider_be.c
@@ -408,7 +408,8 @@ errno_t be_process_init(TALLOC_CTX *mem_ctx,
ret = sss_monitor_init(be_ctx, be_ctx->ev, &monitor_be_methods,
be_ctx->identity, DATA_PROVIDER_VERSION,
- MT_SVC_PROVIDER, be_ctx, &be_ctx->mon_conn);
+ MT_SVC_PROVIDER, be_ctx, NULL,
+ &be_ctx->mon_conn);
if (ret != EOK) {
DEBUG(SSSDBG_FATAL_FAILURE, "Unable to initialize monitor connection\n");
goto done;
diff --git a/src/providers/proxy/proxy_child.c b/src/providers/proxy/proxy_child.c
index b492adcb3..be58622eb 100644
--- a/src/providers/proxy/proxy_child.c
+++ b/src/providers/proxy/proxy_child.c
@@ -440,7 +440,7 @@ static int proxy_cli_init(struct pc_ctx *ctx)
return ENOMEM;
}
- ret = sbus_client_init(ctx, ctx->ev, sbus_address, &ctx->conn);
+ ret = sbus_client_init(ctx, ctx->ev, sbus_address, NULL, &ctx->conn);
if (ret != EOK) {
DEBUG(SSSDBG_CRIT_FAILURE, "sbus_client_init failed.\n");
return ret;