yw_packet_append_string

Name

yw_packet_append_string -- append string at the end of packet

Synopsis


     #include <yw/packet.h>
   

void yw_packet_append_string(YwPacket *pkt, const YwString *str);

DESCRIPTION

This function appends one word of type yw_string_word at the end of packet pkt. Word to be appended is taken from UNICODE string at *str. Argument is copied, so str is not required by yw_packet_append_string() to be valid, after it returns (i.e. you can yw_string_free(3) it after appending, and before sending the packet).

SEE ALSO

yw_packet_append_keyword (3), yw_make_packet (3),

INFO

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