<function name="rpcf_user5_change_password" id="-0x4021"> <input> <string name="old_password" /> <string name="new_password" /> <string name="new_password_ret" /> </input> <output> <integer name="result" /> </output> </function>
function rpcf_user5_change_password($old_password,$new_password,$new_password_ret) { //-0x4021 $ret=array(); if (!$this->connection->urfa_call(-0x4021)) { print "Error calling function ". __FUNCTION__ ."\n"; return FALSE; } $packet = $this->connection->getPacket(); $packet->DataSetString($old_password); $packet->DataSetString($new_password); $packet->DataSetString($new_password_ret); $this->connection->urfa_send_param($packet); if ($x = $this->connection->urfa_get_data()) { $ret['result'] = $x->DataGetInt(); } return $ret; }