libcutils/mq.c
static void peerProxyPrepareOutgoingHeader(PeerProxy* peerProxy) {
    peerProxy->outgoingHeader.data 
        = (char*) &(peerProxy->currentPacket->header);
    peerProxy->outgoingHeader.size = sizeof(Header);
    bufferPrepareForWrite(&peerProxy->outgoingHeader);
}
/** Sets up the buffer for the outgoing header. */
Sets up the buffer for the outgoing header.
Sets up the buffer for the outgoing header .
static void peerProxyPrepareOutgoingHeader(PeerProxy* peerProxy) {
    peerProxy->outgoingHeader.data 
        = (char*) &(peerProxy->currentPacket->header);
    peerProxy->outgoingHeader.size = sizeof(Header);
    bufferPrepareForWrite(&peerProxy->outgoingHeader);
}
static void peerProxyPrepareOutgoingHeader ( PeerProxy * peerProxy ) { peerProxy -> outgoingHeader . data = ( char * ) & ( peerProxy -> currentPacket -> header ) ; peerProxy -> outgoingHeader . size = sizeof ( Header ) ; bufferPrepareForWrite ( & peerProxy -> outgoingHeader ) ; }
Sets up the buffer for the outgoing header.
Sets up the buffer for the outgoing header .