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

Diff of /mailutils/auth/mysql.c

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

revision 1.1 by gray, Wed Apr 23 11:44:13 2003 UTC revision 1.2 by gray, Sat Jul 26 11:06:13 2003 UTC
# Line 29  Line 29 
29    
30    
31  int  int
32  mysql_auth_sql_by_name (void *return_data, void *key,  mysql_auth_sql_by_name (struct mu_auth_data **return_data, void *key,
33                          void *func_data ARG_UNUSED,                          void *func_data ARG_UNUSED,
34                          void *call_data ARG_UNUSED)                          void *call_data ARG_UNUSED)
35  {  {
# Line 104  mysql_auth_sql_by_name (void *return_dat Line 104  mysql_auth_sql_by_name (void *return_dat
104      }      }
105    
106    if (mailbox_name)    if (mailbox_name)
107      rc = mu_auth_data_alloc ((struct mu_auth_data **) return_data,      rc = mu_auth_data_alloc (return_data,
108                               row[0],                               row[0],
109                               row[1],                               row[1],
110                               atoi (row[2]),                               atoi (row[2]),
# Line 125  mysql_auth_sql_by_name (void *return_dat Line 125  mysql_auth_sql_by_name (void *return_dat
125  }  }
126    
127  int  int
128  mysql_auth_sql_by_uid (void *return_data, void *key,  mysql_auth_sql_by_uid (struct mu_auth_data **return_data, void *key,
129                         void *func_data ARG_UNUSED,                         void *func_data ARG_UNUSED,
130                         void *call_data ARG_UNUSED)                         void *call_data ARG_UNUSED)
131  {  {
# Line 202  mysql_auth_sql_by_uid (void *return_data Line 202  mysql_auth_sql_by_uid (void *return_data
202      }      }
203    
204    if (mailbox_name)    if (mailbox_name)
205      rc = mu_auth_data_alloc ((struct mu_auth_data **) return_data,      rc = mu_auth_data_alloc (return_data,
206                               row[0],                               row[0],
207                               row[1],                               row[1],
208                               atoi (row[2]),                               atoi (row[2]),
# Line 223  mysql_auth_sql_by_uid (void *return_data Line 223  mysql_auth_sql_by_uid (void *return_data
223  }  }
224    
225  int  int
226  mysql_sql_authenticate (void *return_data ARG_UNUSED, void *key,  mysql_sql_authenticate (struct mu_auth_data **return_data ARG_UNUSED,
227                            void *key,
228                          void *func_data ARG_UNUSED, void *call_data)                          void *func_data ARG_UNUSED, void *call_data)
229  {  {
230    struct mu_auth_data *auth_data = key;    struct mu_auth_data *auth_data = key;

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