diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-06-26 00:25:28 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-06-26 00:25:28 +0000 |
commit | 633445be1a9be37ae727c044417f5607706cf4ae (patch) | |
tree | 3c037459f5249e5c18ee5b9e41802c5964364f95 /src/libnsss/nsss-switch-internal.h | |
download | nsss-633445be1a9be37ae727c044417f5607706cf4ae.tar.xz |
Initial commit
Diffstat (limited to 'src/libnsss/nsss-switch-internal.h')
-rw-r--r-- | src/libnsss/nsss-switch-internal.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/libnsss/nsss-switch-internal.h b/src/libnsss/nsss-switch-internal.h new file mode 100644 index 0000000..e005ffc --- /dev/null +++ b/src/libnsss/nsss-switch-internal.h @@ -0,0 +1,21 @@ +/* ISC license. */ + +#ifndef NSSS_SWITCH_INTERNAL_H +#define NSSS_SWITCH_INTERNAL_H + +#include <skalibs/tai.h> +#include <skalibs/buffer.h> +#include <skalibs/stralloc.h> +#include <skalibs/genalloc.h> +#include <nsss/pwd-def.h> +#include <nsss/grp-def.h> +#include <nsss/shadow-def.h> +#include <nsss/nsss-switch.h> + +extern nsss_switch_t nsss_switch_here ; +extern int nsss_switch_op (nsss_switch_t *, char, tain_t const *, tain_t *) ; +extern int nsss_switch_pwd_read (buffer *, struct passwd *, stralloc *, tain_t const *, tain_t *) ; +extern int nsss_switch_grp_read (buffer *, struct group *, stralloc *, genalloc *, tain_t const *, tain_t *) ; +extern int nsss_switch_shadow_read (buffer *, struct spwd *, stralloc *, tain_t const *, tain_t *) ; + +#endif |