summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb_services.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-01-23 19:55:43 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-01-27 09:02:02 -0500
commit1e7c355a2d36eb7b942b5111c96eb2a2285d49cc (patch)
treed2930595d4779d2565eacf491d99ab3d475e2a70 /src/db/sysdb_services.h
parentcff6bb5f8ee424b0e3aff74247e103e44075b16a (diff)
downloadsssd-1e7c355a2d36eb7b942b5111c96eb2a2285d49cc.tar.gz
sssd-1e7c355a2d36eb7b942b5111c96eb2a2285d49cc.tar.xz
sssd-1e7c355a2d36eb7b942b5111c96eb2a2285d49cc.zip
SYSDB: add support for enumerating services
Diffstat (limited to 'src/db/sysdb_services.h')
-rw-r--r--src/db/sysdb_services.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/db/sysdb_services.h b/src/db/sysdb_services.h
index 40612355f..c4ad1d34b 100644
--- a/src/db/sysdb_services.h
+++ b/src/db/sysdb_services.h
@@ -60,6 +60,11 @@ sysdb_getservbyport(TALLOC_CTX *mem_ctx,
struct ldb_result **_res);
errno_t
+sysdb_enumservent(TALLOC_CTX *mem_ctx,
+ struct sysdb_ctx *sysdb,
+ struct ldb_result **_res);
+
+errno_t
sysdb_store_service(struct sysdb_ctx *sysdb,
const char *primary_name,
int port,