/[muddleftpd]/muddleftpd/src/authdisable.c
ViewVC logotype

Diff of /muddleftpd/src/authdisable.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by ganneff, Thu Sep 26 07:55:42 2002 UTC revision 1.1.6.1 by ganneff, Mon Oct 21 19:52:58 2002 UTC
# Line 1  Line 1 
1    
2  /* Copyright (C) 1999 Beau Kuiper  /* Copyright (C) 1999 Beau Kuiper
3    
4     This program is free software; you can redistribute it and/or modify     This program is free software; you can redistribute it and/or modify
# Line 19  Line 20 
20    
21  /* This file contains code to autheticate for disabled users */  /* This file contains code to autheticate for disabled users */
22    
23  void *disableauth_gethandle(FTPSTATE *peer, TOKENSET *tset, char *username, int *err)  void *disableauth_gethandle(FTPSTATE * peer,
24                                                            TOKENSET * tset,
25                                                            char *username,
26                                                            int *err)
27  {  {
28          *err = AUTH_ERROR;          *err = AUTH_ERROR;
29          return(NULL);          return (NULL);
30  }  }
31    
32  void disableauth_freehandle(void *handle)  void disableauth_freehandle(void *handle)
33  {  {
34  }  }
35    
36  int disableauth_checkpasswd(void *h, char *password, char **errmsg)  int disableauth_checkpasswd(void *h,
37                                                            char *password,
38                                                            char **errmsg)
39  {  {
40          return FALSE;          return FALSE;
41  }  }
42    
43  PERMSTRUCT disableauth_commands =  PERMSTRUCT disableauth_commands = {
 {  
44          disableauth_checkpasswd,          disableauth_checkpasswd,
45          NULL,          NULL,
46          NULL,          NULL,

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.6.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26