PSI sics-cvs-psi_pre-ansto

This commit is contained in:
2003-06-13 00:00:00 +00:00
committed by Douglas Clowes
parent 2e3ddfb6c6
commit 3ffd0d8af4
1099 changed files with 318432 additions and 0 deletions

22
passwd.h Normal file
View File

@@ -0,0 +1,22 @@
/*---------------------------------------------------------------------------
A little password database for SICS, is meant to handle something
like 4 users.
Mark Koenneck, October 1996
copyright: sees implementation file
---------------------------------------------------------------------------*/
#ifndef MKPASSWD
#define MKPASSWD
int InitPasswd(char *filename);
void AddUser(char *name, char *passwd, int iCode);
int IsValidUser(char *name, char *passwd);
/*
returns negative number if not found, iCode else
iCode is the integer rights code the user is configured
with.
*/
void KillPasswd(void);
#endif