diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-08-10 17:24:04 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-08-10 17:24:04 +0000 |
commit | c9a58ceb7c07774944930105ace2f042be7b5f53 (patch) | |
tree | 554a1014d8835b5d8344dc9315c0572e75e633e5 /src/include | |
parent | eed713a7a54262c9df8fa139db7d75112115d63f (diff) | |
download | nsss-c9a58ceb7c07774944930105ace2f042be7b5f53.tar.xz |
Adapt to skalibs-2.11.0.0, prepare for 0.1.0.2
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/nsss/nsss-switch.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/include/nsss/nsss-switch.h b/src/include/nsss/nsss-switch.h index 1f40f7c..e0ce2dc 100644 --- a/src/include/nsss/nsss-switch.h +++ b/src/include/nsss/nsss-switch.h @@ -35,7 +35,7 @@ struct nsss_switch_s #define NSSS_SWITCH_GRP 1 #define NSSS_SWITCH_SHADOW 2 -extern int nsss_switch_start (nsss_switch_t *, unsigned int, char const *, tain_t const *, tain_t *) ; +extern int nsss_switch_start (nsss_switch_t *, unsigned int, char const *, tain const *, tain *) ; #define nsss_switch_start_g(a, what, s, deadline) nsss_switch_start(a, what, s, (deadline), &STAMP) extern void nsss_switch_end (nsss_switch_t *, unsigned int) ; @@ -48,15 +48,15 @@ extern void nsss_switch_end (nsss_switch_t *, unsigned int) ; #define NSSS_SWITCH_PWD_GETBYNAME '\003' #define NSSS_SWITCH_PWD_GETBYUID '\004' -extern int nsss_switch_pwd_end (nsss_switch_t *, tain_t const *, tain_t *) ; +extern int nsss_switch_pwd_end (nsss_switch_t *, tain const *, tain *) ; #define nsss_switch_pwd_end_g(a, deadline) nsss_switch_pwd_end(a, (deadline), &STAMP) -extern int nsss_switch_pwd_rewind (nsss_switch_t *, tain_t const *, tain_t *) ; +extern int nsss_switch_pwd_rewind (nsss_switch_t *, tain const *, tain *) ; #define nsss_switch_pwd_rewind_g(a, deadline) nsss_switch_pwd_rewind(a, (deadline), &STAMP) -extern int nsss_switch_pwd_get (nsss_switch_t *, struct passwd *, stralloc *, tain_t const *, tain_t *) ; +extern int nsss_switch_pwd_get (nsss_switch_t *, struct passwd *, stralloc *, tain const *, tain *) ; #define nsss_switch_pwd_get_g(a, b, sa, deadline) nsss_switch_pwd_get(a, b, sa, (deadline), &STAMP) -extern int nsss_switch_pwd_getbyname (nsss_switch_t *, struct passwd *, stralloc *, char const *, tain_t const *, tain_t *) ; +extern int nsss_switch_pwd_getbyname (nsss_switch_t *, struct passwd *, stralloc *, char const *, tain const *, tain *) ; #define nsss_switch_pwd_getbyname_g(a, b, sa, name, deadline) nsss_switch_pwd_getbyname(a, b, sa, name, (deadline), &STAMP) -extern int nsss_switch_pwd_getbyuid (nsss_switch_t *, struct passwd *, stralloc *, uid_t, tain_t const *, tain_t *) ; +extern int nsss_switch_pwd_getbyuid (nsss_switch_t *, struct passwd *, stralloc *, uid_t, tain const *, tain *) ; #define nsss_switch_pwd_getbyuid_g(a, b, sa, u, deadline) nsss_switch_pwd_getbyuid(a, b, sa, u, (deadline), &STAMP) @@ -69,17 +69,17 @@ extern int nsss_switch_pwd_getbyuid (nsss_switch_t *, struct passwd *, stralloc #define NSSS_SWITCH_GRP_GETBYGID '\024' #define NSSS_SWITCH_GRP_GETLIST '\025' -extern int nsss_switch_grp_end (nsss_switch_t *, tain_t const *, tain_t *) ; +extern int nsss_switch_grp_end (nsss_switch_t *, tain const *, tain *) ; #define nsss_switch_grp_end_g(a, deadline) nsss_switch_grp_end(a, (deadline), &STAMP) -extern int nsss_switch_grp_rewind (nsss_switch_t *, tain_t const *, tain_t *) ; +extern int nsss_switch_grp_rewind (nsss_switch_t *, tain const *, tain *) ; #define nsss_switch_grp_rewind_g(a, deadline) nsss_switch_grp_rewind(a, (deadline), &STAMP) -extern int nsss_switch_grp_get (nsss_switch_t *, struct group *, stralloc *, genalloc *, tain_t const *, tain_t *) ; +extern int nsss_switch_grp_get (nsss_switch_t *, struct group *, stralloc *, genalloc *, tain const *, tain *) ; #define nsss_switch_grp_get_g(a, b, sa, ga, deadline) nsss_switch_grp_get(a, b, sa, ga, (deadline), &STAMP) -extern int nsss_switch_grp_getbyname (nsss_switch_t *, struct group *, stralloc *, genalloc *, char const *, tain_t const *, tain_t *) ; +extern int nsss_switch_grp_getbyname (nsss_switch_t *, struct group *, stralloc *, genalloc *, char const *, tain const *, tain *) ; #define nsss_switch_grp_getbyname_g(a, b, sa, ga, name, deadline) nsss_switch_grp_getbyname(a, b, sa, ga, name, (deadline), &STAMP) -extern int nsss_switch_grp_getbygid (nsss_switch_t *, struct group *, stralloc *, genalloc *, gid_t, tain_t const *, tain_t *) ; +extern int nsss_switch_grp_getbygid (nsss_switch_t *, struct group *, stralloc *, genalloc *, gid_t, tain const *, tain *) ; #define nsss_switch_grp_getbygid_g(a, b, sa, ga, g, deadline) nsss_switch_grp_getbygid(a, b, sa, ga, g, (deadline), &STAMP) -extern int nsss_switch_grp_getlist (nsss_switch_t *, char const *, gid_t *, size_t, size_t *, stralloc *, tain_t const *, tain_t *) ; +extern int nsss_switch_grp_getlist (nsss_switch_t *, char const *, gid_t *, size_t, size_t *, stralloc *, tain const *, tain *) ; #define nsss_switch_grp_getlist_g(a, user, gids, n, r, sa, deadline) nsss_switch_grp_getlist(a, user, gids, n, r, sa, (deadline), &STAMP) @@ -90,13 +90,13 @@ extern int nsss_switch_grp_getlist (nsss_switch_t *, char const *, gid_t *, size #define NSSS_SWITCH_SHADOW_GET '\042' #define NSSS_SWITCH_SHADOW_GETBYNAME '\043' -extern int nsss_switch_shadow_end (nsss_switch_t *, tain_t const *, tain_t *) ; +extern int nsss_switch_shadow_end (nsss_switch_t *, tain const *, tain *) ; #define nsss_switch_shadow_end_g(a, deadline) nsss_switch_shadow_end(a, (deadline), &STAMP) -extern int nsss_switch_shadow_rewind (nsss_switch_t *, tain_t const *, tain_t *) ; +extern int nsss_switch_shadow_rewind (nsss_switch_t *, tain const *, tain *) ; #define nsss_switch_shadow_rewind_g(a, deadline) nsss_switch_shadow_rewind(a, (deadline), &STAMP) -extern int nsss_switch_shadow_get (nsss_switch_t *, struct spwd *, stralloc *, tain_t const *, tain_t *) ; +extern int nsss_switch_shadow_get (nsss_switch_t *, struct spwd *, stralloc *, tain const *, tain *) ; #define nsss_switch_shadow_get_g(a, b, sa, deadline) nsss_switch_shadow_get(a, b, sa, (deadline), &STAMP) -extern int nsss_switch_shadow_getbyname (nsss_switch_t *, struct spwd *, stralloc *, char const *, tain_t const *, tain_t *) ; +extern int nsss_switch_shadow_getbyname (nsss_switch_t *, struct spwd *, stralloc *, char const *, tain const *, tain *) ; #define nsss_switch_shadow_getbyname_g(a, b, sa, name, deadline) nsss_switch_shadow_getbyname(a, b, sa, name, (deadline), &STAMP) #endif |