/[mailutils]/mailutils/auth/system.c
ViewVC logotype

Diff of /mailutils/auth/system.c

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

revision 1.1 by gray, Tue Aug 13 13:27:51 2002 UTC revision 1.2 by gray, Tue Aug 13 14:50:41 2002 UTC
# Line 41  Line 41 
41  #include <mailutils/mu_auth.h>  #include <mailutils/mu_auth.h>
42    
43  /* System database */  /* System database */
44  int  static int
45  mu_auth_system (void *return_data, struct passwd *pw)  mu_auth_system (void *return_data, struct passwd *pw)
46  {  {
47    char *mailbox_name;    char *mailbox_name;
# Line 83  mu_auth_system_by_name (void *return_dat Line 83  mu_auth_system_by_name (void *return_dat
83    return mu_auth_system (return_data, getpwnam (key));    return mu_auth_system (return_data, getpwnam (key));
84  }  }
85    
86  int  static int
87  mu_auth_system_by_uid (void *return_data, void *key,  mu_auth_system_by_uid (void *return_data, void *key,
88                         void *unused_func_data, void *unused_call_data)                         void *unused_func_data, void *unused_call_data)
89  {  {
# Line 95  mu_auth_system_by_uid (void *return_data Line 95  mu_auth_system_by_uid (void *return_data
95    return mu_auth_system (return_data, getpwuid (*(uid_t*) key));    return mu_auth_system (return_data, getpwuid (*(uid_t*) key));
96  }  }
97    
98  int  static int
99  mu_authenticate_generic (void *ignored_return_data,  mu_authenticate_generic (void *ignored_return_data,
100                           void *key,                           void *key,
101                           void *ignored_func_data,                           void *ignored_func_data,
# Line 110  mu_authenticate_generic (void *ignored_r Line 110  mu_authenticate_generic (void *ignored_r
110  }  }
111    
112  /* Called only if generic fails */  /* Called only if generic fails */
113  int  static int
114  mu_authenticate_system (void *ignored_return_data,  mu_authenticate_system (void *ignored_return_data,
115                          void *key,                          void *key,
116                          void *ignored_func_data,                          void *ignored_func_data,

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

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