yw_packet_copy_of

Name

yw_packet_copy_of -- make copy of given packet

Synopsis


     #include <yw/packet.h>
   

YwPacket *yw_packet_copy_of(const YwPacket *src);

DESCRIPTION

This function copies packet in src into freshly allocated space.

RETURN VALUE

Pointer to newly allocated packet, which is exact copy of src is returned. It should be released using yw_packet_free(3) when no longed needed.

SEE ALSO

yw_packet_make (3), yw_packet_free (3), yw_packet_new (3),

INFO

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