/[mailutils]/mailutils/include/mailutils/mu_auth.h
ViewVC logotype

Diff of /mailutils/include/mailutils/mu_auth.h

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

revision 1.5 by gray, Wed Apr 23 11:46:04 2003 UTC revision 1.6 by gray, Sat Jul 26 11:19:25 2003 UTC
# Line 20  Line 20 
20    
21  #include <mailutils/types.h>  #include <mailutils/types.h>
22    
 typedef int (*mu_auth_fp) __P((void *return_data,  
                                void *key,  
                                void *func_data,  
                                void *call_data));  
   
23  struct mu_auth_data {  struct mu_auth_data {
24    /* These are from struct passwd */    /* These are from struct passwd */
25    char    *name;       /* user name */    char    *name;       /* user name */
# Line 39  struct mu_auth_data { Line 34  struct mu_auth_data {
34    int     change_uid;    int     change_uid;
35  };  };
36    
37    typedef int (*mu_auth_fp) __P((struct mu_auth_data **data,
38                                   void *key,
39                                   void *func_data,
40                                   void *call_data));
41    
42  struct mu_auth_module {  struct mu_auth_module {
43    char           *name;    char           *name;
44    struct argp    *argp;    struct argp    *argp;
# Line 50  struct mu_auth_module { Line 50  struct mu_auth_module {
50    void           *auth_by_uid_data;    void           *auth_by_uid_data;
51  };  };
52    
53  extern int mu_auth_runlist __P((list_t flist, void *return_data,  extern int mu_auth_runlist __P((list_t flist,
54                                    struct mu_auth_data **return_data,
55                                  void *key, void *data));                                  void *key, void *data));
56  extern struct mu_auth_data *  extern struct mu_auth_data *
57  mu_get_auth_by_name __P ((const char *username));  mu_get_auth_by_name __P ((const char *username));
# Line 61  mu_get_auth_by_uid __P((uid_t uid)); Line 62  mu_get_auth_by_uid __P((uid_t uid));
62  extern int  extern int
63  mu_authenticate __P((struct mu_auth_data *auth_data, char *pass));  mu_authenticate __P((struct mu_auth_data *auth_data, char *pass));
64    
65  extern int mu_auth_nosupport __P((void *return_data,  extern int mu_auth_nosupport __P((struct mu_auth_data **return_data,
66                                    void *key,                                    void *key,
67                                    void *func_data,                                    void *func_data,
68                                    void *call_data));                                    void *call_data));

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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