Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include Forgot these when imported pw_policy(3).



details:   https://anonhg.NetBSD.org/src/rev/8f9a403adb1f
branches:  trunk
changeset: 584373:8f9a403adb1f
user:      elad <elad%NetBSD.org@localhost>
date:      Wed Sep 14 15:59:10 2005 +0000

description:
Forgot these when imported pw_policy(3).
Thanks to Hisashi T Fujinaka for noticing.

diffstat:

 include/util.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 8e99882d0b1a -r 8f9a403adb1f include/util.h
--- a/include/util.h    Wed Sep 14 15:54:53 2005 +0000
+++ b/include/util.h    Wed Sep 14 15:59:10 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.h,v 1.37 2005/08/27 22:55:54 uwe Exp $    */
+/*     $NetBSD: util.h,v 1.38 2005/09/14 15:59:10 elad Exp $   */
 
 /*-
  * Copyright (c) 1995
@@ -52,6 +52,10 @@
 #define        HN_GETSCALE             0x10
 #define        HN_AUTOSCALE            0x20
 
+#define        PW_POLICY_BYSTRING      0
+#define        PW_POLICY_BYPASSWD      1
+#define        PW_POLICY_BYGROUP       2
+
 __BEGIN_DECLS
 struct disklabel;
 struct iovec;
@@ -94,6 +98,7 @@
 void           pw_init(void);
 int            pw_lock(int);
 int            pw_mkdb(const char *, int);
+int            pw_policy_test(char *, void *, int);
 void           pw_prompt(void);
 int            pw_setprefix(const char *);
 int            secure_path(const char *);



Home | Main Index | Thread Index | Old Index