| 141 | #ifdef DEBUG |
| 142 | static ULONG xdr_save_size = 0; |
| 143 | inline void DEBUG_PRINTSIZE(RemoteXdr* xdrs, P_OP p) |
| 144 | { |
| 145 | fprintf (stderr, "xdr_protocol: %s op %d size %lu\n", |
| 146 | ((xdrs->x_op == XDR_FREE) ? "free" : |
| 147 | (xdrs->x_op == XDR_ENCODE) ? "enc " : (xdrs->x_op == XDR_DECODE) ? "dec " : "othr"), |
| 148 | p, |
| 149 | ((xdrs->x_op == XDR_ENCODE) ? |
| 150 | (xdrs->x_handy - xdr_save_size) : (xdr_save_size - xdrs->x_handy))); |
| 151 | } |
| 152 | #else |
| 153 | inline void DEBUG_PRINTSIZE(RemoteXdr*, P_OP) |
| 154 | { |
no outgoing calls
no test coverage detected