| 1695 | |
| 1696 | |
| 1697 | static RemoteXdr* xdrxnet_create(rem_port* port, UCHAR* buffer, USHORT length, xdr_op x_op) |
| 1698 | { |
| 1699 | /************************************** |
| 1700 | * |
| 1701 | * x d r x n e t _ c r e a t e |
| 1702 | * |
| 1703 | ************************************** |
| 1704 | * |
| 1705 | * Functional description |
| 1706 | * Initialize an XDR stream. |
| 1707 | * |
| 1708 | **************************************/ |
| 1709 | |
| 1710 | RemoteXdr* xdrs = FB_NEW XnetXdr; |
| 1711 | |
| 1712 | xdrs->x_public = port; |
| 1713 | xdrs->x_local = true; |
| 1714 | xdrs->create(reinterpret_cast<SCHAR*>(buffer), length, x_op); |
| 1715 | |
| 1716 | return xdrs; |
| 1717 | } |
| 1718 | |
| 1719 | |
| 1720 | static void xnet_gen_error (rem_port* port, const Arg::StatusVector& v) |