Changeset 1027:0117a7746b21 in freeDiameter for extensions/app_diameap/diameap_mysql.c
- Timestamp:
- Apr 15, 2013, 4:17:07 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_diameap/diameap_mysql.c
r577 r1027 108 108 } 109 109 110 int diameap_authentication_get_attribs(struct eap_user user,110 int diameap_authentication_get_attribs(struct eap_user *user, 111 111 struct fd_list * attribute_list) 112 112 { … … 131 131 query, 132 132 "SELECT `authe`.`attribute` ,`authe`.`value` FROM `authe` WHERE `authe`.`grp` IN ( SELECT `user_grp`.`grp` FROM `user_grp` WHERE `user_grp`.`user` = %d ) ", 133 user .id);133 user->id); 134 134 135 135 CHECK_POSIX(pthread_mutex_lock( &db_cs_mutex )); … … 169 169 } 170 170 171 int diameap_authorization_get_attribs(struct eap_user user,171 int diameap_authorization_get_attribs(struct eap_user *user, 172 172 struct fd_list * attribute_list) 173 173 { … … 192 192 query, 193 193 "SELECT `authz`.`attribute` , `authz`.`op` , `authz`.`value` FROM `authz` WHERE `authz`.`grp` IN ( SELECT `user_grp`.`grp` FROM `user_grp` WHERE `user_grp`.`user` = %d ) ", 194 user .id);194 user->id); 195 195 196 196 CHECK_POSIX(pthread_mutex_lock( &db_cs_mutex ));
Note: See TracChangeset
for help on using the changeset viewer.