summaryrefslogtreecommitdiffstats
path: root/chpass/pw_yp.h
diff options
context:
space:
mode:
Diffstat (limited to 'chpass/pw_yp.h')
-rw-r--r--chpass/pw_yp.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/chpass/pw_yp.h b/chpass/pw_yp.h
index 94c7a74..9d98a43 100644
--- a/chpass/pw_yp.h
+++ b/chpass/pw_yp.h
@@ -35,11 +35,18 @@
* Center for Telecommunications Research
* Columbia University, New York City
*
- * $Id$
+ * $Id: pw_yp.h,v 1.1 1995/08/13 16:12:28 wpaul Exp $
*/
#ifdef YP
+/* Four possible return codes from use_yp() */
+#define USER_UNKNOWN 0
+#define USER_YP_ONLY 1
+#define USER_LOCAL_ONLY 2
+#define USER_YP_AND_LOCAL 3
extern int _use_yp;
+extern struct passwd local_password;
+extern struct passwd yp_password;
void yp_submit __P(( struct passwd * ));
int use_yp __P(( char * ));
#endif /* YP */