summaryrefslogtreecommitdiffstats
path: root/libutil/libutil.h
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-01-05 10:40:24 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-01-05 10:40:24 +0000
commit5c5e67d83f6be45507a76cb75af552ccc3576daf (patch)
tree6d61075b02c2a22866511ab16ef446e3a66609f2 /libutil/libutil.h
parentcda8e1027a7b18b2894b7422ef611093e5e2a3da (diff)
downloadpw-darwin-5c5e67d83f6be45507a76cb75af552ccc3576daf.tar.gz
pw-darwin-5c5e67d83f6be45507a76cb75af552ccc3576daf.zip
Add new pw_make_v7 to make a passwd line (in v7 format) out of a struct passwd
while here, fix missing parentheses of the return statement of pw_make. Approved by: des (mentor)
Diffstat (limited to 'libutil/libutil.h')
-rw-r--r--libutil/libutil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libutil/libutil.h b/libutil/libutil.h
index dea14cf..47896c1 100644
--- a/libutil/libutil.h
+++ b/libutil/libutil.h
@@ -144,6 +144,7 @@ int pw_equal(const struct passwd *_pw1, const struct passwd *_pw2);
void pw_fini(void);
int pw_init(const char *_dir, const char *_master);
char *pw_make(const struct passwd *_pw);
+char *pw_make_v7(const struct passwd *_pw);
int pw_mkdb(const char *_user);
int pw_lock(void);
struct passwd *pw_scan(const char *_line, int _flags);