summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb_ssh.h
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2013-10-11 17:50:12 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-11-15 20:20:18 +0100
commit19d8bc19b5b5597427878645644fa354ef6cb54d (patch)
treec2f1e317b8369c7d19576ab0228d38f376393d51 /src/db/sysdb_ssh.h
parent4fcc50e133f90cd4c5931a3ac48c84cb628b16fc (diff)
downloadsssd-19d8bc19b5b5597427878645644fa354ef6cb54d.tar.gz
sssd-19d8bc19b5b5597427878645644fa354ef6cb54d.tar.xz
sssd-19d8bc19b5b5597427878645644fa354ef6cb54d.zip
SYSDB: Drop the sysdb_ctx parameter from the sysdb_ssh module
Diffstat (limited to 'src/db/sysdb_ssh.h')
-rw-r--r--src/db/sysdb_ssh.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/db/sysdb_ssh.h b/src/db/sysdb_ssh.h
index 2b0bbc437..e8aca776b 100644
--- a/src/db/sysdb_ssh.h
+++ b/src/db/sysdb_ssh.h
@@ -30,28 +30,24 @@
#define SYSDB_SSH_KNOWN_HOSTS_EXPIRE "sshKnownHostsExpire"
errno_t
-sysdb_store_ssh_host(struct sysdb_ctx *sysdb,
- struct sss_domain_info *domain,
+sysdb_store_ssh_host(struct sss_domain_info *domain,
const char *name,
const char *alias,
time_t now,
struct sysdb_attrs *attrs);
errno_t
-sysdb_update_ssh_known_host_expire(struct sysdb_ctx *sysdb,
- struct sss_domain_info *domain,
+sysdb_update_ssh_known_host_expire(struct sss_domain_info *domain,
const char *name,
time_t now,
int known_hosts_timeout);
errno_t
-sysdb_delete_ssh_host(struct sysdb_ctx *sysdb,
- struct sss_domain_info *domain,
+sysdb_delete_ssh_host(struct sss_domain_info *domain,
const char *name);
errno_t
sysdb_get_ssh_host(TALLOC_CTX *mem_ctx,
- struct sysdb_ctx *sysdb,
struct sss_domain_info *domain,
const char *name,
const char **attrs,
@@ -59,7 +55,6 @@ sysdb_get_ssh_host(TALLOC_CTX *mem_ctx,
errno_t
sysdb_get_ssh_known_hosts(TALLOC_CTX *mem_ctx,
- struct sysdb_ctx *sysdb,
struct sss_domain_info *domain,
time_t now,
const char **attrs,