summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb_services.h
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2013-10-11 15:20:40 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-11-15 20:20:18 +0100
commit4fcc50e133f90cd4c5931a3ac48c84cb628b16fc (patch)
treeeaeb5331b3e54df8f9cafe9db65293d7b9ec04cc /src/db/sysdb_services.h
parentb3292840ebaa747a9fd596ff47cc5d18198361d0 (diff)
downloadsssd-4fcc50e133f90cd4c5931a3ac48c84cb628b16fc.tar.gz
sssd-4fcc50e133f90cd4c5931a3ac48c84cb628b16fc.tar.xz
sssd-4fcc50e133f90cd4c5931a3ac48c84cb628b16fc.zip
SYSDB: Drop the sysdb_ctx parameter from the sysdb_services module
Diffstat (limited to 'src/db/sysdb_services.h')
-rw-r--r--src/db/sysdb_services.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/db/sysdb_services.h b/src/db/sysdb_services.h
index 2ec9a3b6b..ae058b088 100644
--- a/src/db/sysdb_services.h
+++ b/src/db/sysdb_services.h
@@ -47,7 +47,6 @@
errno_t
sysdb_getservbyname(TALLOC_CTX *mem_ctx,
- struct sysdb_ctx *sysdb,
struct sss_domain_info *domain,
const char *name,
const char *proto,
@@ -55,7 +54,6 @@ sysdb_getservbyname(TALLOC_CTX *mem_ctx,
errno_t
sysdb_getservbyport(TALLOC_CTX *mem_ctx,
- struct sysdb_ctx *sysdb,
struct sss_domain_info *domain,
int port,
const char *proto,
@@ -63,13 +61,11 @@ sysdb_getservbyport(TALLOC_CTX *mem_ctx,
errno_t
sysdb_enumservent(TALLOC_CTX *mem_ctx,
- struct sysdb_ctx *sysdb,
struct sss_domain_info *domain,
struct ldb_result **_res);
errno_t
-sysdb_store_service(struct sysdb_ctx *sysdb,
- struct sss_domain_info *domain,
+sysdb_store_service(struct sss_domain_info *domain,
const char *primary_name,
int port,
const char **aliases,
@@ -85,7 +81,6 @@ sysdb_svc_dn(struct sysdb_ctx *sysdb, TALLOC_CTX *mem_ctx,
errno_t
sysdb_svc_add(TALLOC_CTX *mem_ctx,
- struct sysdb_ctx *sysdb,
struct sss_domain_info *domain,
const char *primary_name,
int port,
@@ -94,21 +89,18 @@ sysdb_svc_add(TALLOC_CTX *mem_ctx,
struct ldb_dn **dn);
errno_t
-sysdb_svc_delete(struct sysdb_ctx *sysdb,
- struct sss_domain_info *domain,
+sysdb_svc_delete(struct sss_domain_info *domain,
const char *name,
int port,
const char *proto);
errno_t
-sysdb_set_service_attr(struct sysdb_ctx *sysdb,
- struct sss_domain_info *domain,
+sysdb_set_service_attr(struct sss_domain_info *domain,
const char *name,
struct sysdb_attrs *attrs,
int mod_op);
errno_t sysdb_search_services(TALLOC_CTX *mem_ctx,
- struct sysdb_ctx *sysdb,
struct sss_domain_info *domain,
const char *sub_filter,
const char **attrs,