diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-01-23 22:00:30 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-01-27 09:02:02 -0500 |
commit | 627d83dff183219826489949cb55ef71945e94ab (patch) | |
tree | c2698acd30149e4452f6f3cb83a48a9059cc7ef9 /src/providers/proxy/proxy.h | |
parent | cd5525d7dcde6ffbf162608706c502aa33951789 (diff) | |
download | sssd-627d83dff183219826489949cb55ef71945e94ab.tar.gz sssd-627d83dff183219826489949cb55ef71945e94ab.tar.xz sssd-627d83dff183219826489949cb55ef71945e94ab.zip |
PROXY: add support for enumerating services
Diffstat (limited to 'src/providers/proxy/proxy.h')
-rw-r--r-- | src/providers/proxy/proxy.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/providers/proxy/proxy.h b/src/providers/proxy/proxy.h index d94846133..e9a550fdb 100644 --- a/src/providers/proxy/proxy.h +++ b/src/providers/proxy/proxy.h @@ -81,6 +81,11 @@ struct proxy_nss_ops { struct servent *result, char *buffer, size_t buflen, int *errnop); + enum nss_status (*setservent)(void); + enum nss_status (*getservent_r)(struct servent *result, + char *buffer, size_t buflen, + int *errnop); + enum nss_status (*endservent)(void); }; struct authtok_conv { @@ -169,4 +174,8 @@ get_serv_byport(struct proxy_id_ctx *ctx, const char *be_filter, const char *protocol); +errno_t enum_services(struct proxy_id_ctx *ctx, + struct sysdb_ctx *sysdb, + struct sss_domain_info *dom); + #endif /* __PROXY_H__ */ |