yw_packet_append_ptr

Name

yw_packet_append_ptr -- append pointer at the end of packet

Synopsis


     #include <yw/packet.h>
   

void yw_packet_append_ptr(YwPacket *pkt, void *ptr);

DESCRIPTION

This function appends one word of type yw_ptr_word at the end of packet pkt. Appended word contains pointer ptr. Note that packets that contain ptr words cannot be send over the network, they are only valid on loopback. If you try send such broken packet over the network yw_conn_send(3) will bomb.

SEE ALSO

yw_packet_append_bindata (3), yw_make_packet (3),

INFO

Generated from: packet.c,v 1.10 2001/05/21 09:58:51 malekith Exp.