Files
sics/passwd.h
koennecke 91d4af0541 - Adapted indenation to new agreed upon system
- Added support for second generation scriptcontext based counter
2009-02-13 09:00:03 +00:00

23 lines
668 B
C

/*---------------------------------------------------------------------------
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