MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / send_partial

Function send_partial

src/remote/inet.cpp:2442–2469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2440}
2441
2442static int send_partial( rem_port* port, PACKET * packet)
2443{
2444/**************************************
2445 *
2446 * s e n d _ p a r t i a l
2447 *
2448 **************************************
2449 *
2450 * Functional description
2451 * Send a packet across a port to another process.
2452 *
2453 **************************************/
2454
2455#ifdef DEBUG
2456 { // scope
2457 static ULONG op_sentp_count = 0;
2458 op_sentp_count++;
2459 if (INET_trace & TRACE_operations)
2460 {
2461 fprintf(stdout, "%05u: OP Sent %5u opcode %d (partial)\n", inet_debug_timer(),
2462 op_sentp_count, packet->p_operation);
2463 fflush(stdout);
2464 }
2465 } // end scope
2466#endif
2467
2468 return xdr_protocol(port->port_send, packet);
2469}
2470
2471
2472RemoteXdr* xdrinet_create(rem_port* port, UCHAR* buffer, USHORT length, enum xdr_op x_op)

Callers

nothing calls this directly

Calls 3

inet_debug_timerFunction · 0.85
fflushFunction · 0.85
xdr_protocolFunction · 0.85

Tested by

no test coverage detected