File auth.c


Included Files


Preprocessor definitions

#define MAX_PW_LEN 64

Local Variables

m_passwd_file
static const char m_passwd_file[]
Used in: auth_get_passwd_file()  
  auth_readpw()  

Global Function auth_get_passwd_file()

const char* auth_get_passwd_file ( void )
References Variables: m_passwd_file auth.c

Global Function auth_verifyPasswd()

int auth_verifyPasswd ( const char* pw )
Prototyped in: auth.h
Calls: auth_readpw() auth.c
  crypt(), strcmp()
Called by: interpreter_process_line() interpreter.c

Local Function auth_readpw()

static int auth_readpw ( char* dest )
Prototyped in: auth.c
Calls: fclose(), fopen(), fscanf()
Called by: auth_verifyPasswd() auth.c
References Variables: m_passwd_file auth.c