yw_packet_append_keyword

Name

yw_packet_append_keyword -- append keyword at the end of packet

Synopsis


     #include <yw/packet.h>
   

void yw_packet_append_keyword(YwPacket *pkt, const char *keyword);

DESCRIPTION

This function appends one word of type yw_key_word at the end of packet pkt. Word to be appended is taken from '\0' terminated string at keyword. Argument is copied, so keyword is not required by yw_packet_append_keyword() to be valid, after it returns (i.e. you can free it after appending, and before sending the packet).

SEE ALSO

yw_packet_append_string (3), yw_make_packet (3),

INFO

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