<function name="rpcf_get_sys_users_list" id="0x4405"> <input> </input> <output> <integer name="info_size" /> <for name="i" from="0" count="info_size"> <integer name="user_id" array_index="i" /> <string name="login" array_index="i" /> <ip_address name="ip_address" array_index="i" /> <ip_address name="mask" array_index="i" /> </for> </output> </function>
function rpcf_get_sys_users_list() { //0x4405 $ret=array(); if (!$this->connection->urfa_call(0x4405)) { print "Error calling function ". __FUNCTION__ ."\n"; return FALSE; } if ($x = $this->connection->urfa_get_data()) { $count=$x->DataGetInt(); $ret['count']=$count; for($i=0;$i<$count;$i++) { // $x = $this->connection->urfa_get_data(); $user['user_id']=$x->DataGetInt(); $user['login']=$x->DataGetString(); $user['ip_address']=$x->DataGetIPAddress(); $user['mask']=$x->DataGetIPAddress(); $ret['users'][]=$user; } // $this->connection->urfa_get_data(); } return $ret; }