Send support function
The database server calls the send function when it sends the external binary representation of an opaque type to a client application. For example, when a client application issues a SELECT or FETCH statement, it can save the data of an opaque type that it receives from the database server in a host variable that conforms to the external binary representation of the opaque type.
The database server calls the send function to convert the internal representation that is stored on disk to the external binary representation that the client computer uses.
mi_sendrecv * ll_longlong_send(ll_longlong_t *srvr_intrnl_format);
The ll_longlong_send() function is a cast function from the ll_longlong_t internal structure to the SENDRECV data type. It must be registered as an explicit cast function with the CREATE EXPLICIT CAST statement. For more information about cast functions, see Create casts for opaque data types.