From 633445be1a9be37ae727c044417f5607706cf4ae Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 26 Jun 2018 00:25:28 +0000 Subject: Initial commit --- src/include/shadow.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/include/shadow.h (limited to 'src/include/shadow.h') diff --git a/src/include/shadow.h b/src/include/shadow.h new file mode 100644 index 0000000..00d1944 --- /dev/null +++ b/src/include/shadow.h @@ -0,0 +1,26 @@ +/* ISC license. */ + +/* + This file is part of the nsss package. + See https://skarnet.org/software/nsss/ +*/ + +#ifndef SHADOW_H +#define SHADOW_H + +#include + +#include + +extern struct spwd *fgetspent (FILE *) ; +extern struct spwd *sgetspent (char const *) ; +extern int putspent (struct spwd const *, FILE *) ; +extern int lckpwdf (void) ; +extern int ulckpwdf (void) ; + +#ifdef _DEFAULT_SOURCE +extern int fgetspent_r(FILE *, struct spwd *, char *, size_t, struct spwd **) ; +extern int sgetspent_r (char const *, struct spwd *, char *, size_t, struct spwd **) ; +#endif + +#endif -- cgit v1.3.1