diff options
author | Sumit Bose <sbose@redhat.com> | 2010-10-13 10:51:50 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-10-25 07:06:42 -0400 |
commit | d7dc57bcc2468bee756bcd568daee0644e5b888d (patch) | |
tree | 5e205c695449cd621e2c982a69f89b59f5fb4cbc /src/providers/proxy/proxy.h | |
parent | 18a45c63a7902251a0d0b92f78f78eb7d26a0046 (diff) | |
download | sssd-d7dc57bcc2468bee756bcd568daee0644e5b888d.tar.gz sssd-d7dc57bcc2468bee756bcd568daee0644e5b888d.tar.xz sssd-d7dc57bcc2468bee756bcd568daee0644e5b888d.zip |
Add netgroups infrastructure to proxy provider
Diffstat (limited to 'src/providers/proxy/proxy.h')
-rw-r--r-- | src/providers/proxy/proxy.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/providers/proxy/proxy.h b/src/providers/proxy/proxy.h index eefcce580..e35e91ce3 100644 --- a/src/providers/proxy/proxy.h +++ b/src/providers/proxy/proxy.h @@ -40,6 +40,7 @@ #include "providers/dp_backend.h" #include "db/sysdb.h" #include "proxy.h" +#include "sss_client/nss_compat.h" #include <dhash.h> struct proxy_nss_ops { @@ -64,6 +65,11 @@ struct proxy_nss_ops { long int *start, long int *size, gid_t **groups, long int limit, int *errnop); + enum nss_status (*setnetgrent)(const char *netgroup, + struct __netgrent *result); + enum nss_status (*getnetgrent_r)(struct __netgrent *result, char *buffer, + size_t buflen, int *errnop); + enum nss_status (*endnetgrent)(struct __netgrent *result); }; struct authtok_conv { |