<function name="rpcf_user5_change_password_service" id="-0x4025"> <input> <integer name="slink_id" /> <integer name="item_id" /> <string name="old_password" /> <string name="new_password" /> <string name="new_password_ret" /> </input> <output> <integer name="status" /> </output> </function>
function rpcf_user5_change_password_service($slink_id,$item_id,$old_password,$new_password,$new_password_ret) { //-0x4025 $ret=array(); if (!$this->connection->urfa_call(-0x4025)) { print "Error calling function ". __FUNCTION__ ."\n"; return FALSE; } $packet = $this->connection->getPacket(); $packet->DataSetInt($slink_id); $packet->DataSetInt($item_id); $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; }