X-Git-Url: https://git.cameronkatri.com/pw-darwin.git/blobdiff_plain/fcc5e033e72566fa7770a355160835fffced4353..c060b30250b3b666ae19dc91192abdfc89250b62:/pw/pw.h diff --git a/pw/pw.h b/pw/pw.h index 6e521d1..a1ed0c4 100644 --- a/pw/pw.h +++ b/pw/pw.h @@ -26,6 +26,7 @@ * $FreeBSD$ */ +#define _WITH_GETLINE #include #include #include @@ -109,19 +110,10 @@ int pw_user(struct userconf * cnf, int mode, struct cargs * _args); int pw_group(struct userconf * cnf, int mode, struct cargs * _args); char *pw_checkname(u_char *name, int gecos); -int addpwent(struct passwd * pwd); -int delpwent(struct passwd * pwd); -int chgpwent(char const * login, struct passwd * pwd); -int fmtpwent(char *buf, struct passwd * pwd); - int addnispwent(const char *path, struct passwd *pwd); int delnispwent(const char *path, const char *login); int chgnispwent(const char *path, const char *login, struct passwd *pwd); -int addgrent(struct group * grp); -int delgrent(struct group * grp); -int chggrent(char const * login, struct group * grp); - int boolean_val(char const * str, int dflt); char const *boolean_str(int val); char *newstr(char const * p);