int GeUser::get_user_data(char* system, char* user, char* password, pwr_tMask* priv, pwr_tOix* id, char* fullname, char* description, char* email, char* phone, char* sms) { int sts; UserList* ul; SystemName* sn = new SystemName(system); sts = sn->parse(); if (EVEN(sts)) { delete sn; return sts; } SystemList* sl = find_system(sn); delete sn; if (!sl) return USER__NOSUCHSYSTEM; ul = (UserList*)sl->find_user(user); if (!ul) return USER__NOSUCHUSER; ul->get_data(password, priv, id, fullname, description, email, phone, sms); return USER__SUCCESS; }